[Tilesathome] Requests handed out multiple times
spaetz
osm at sspaeth.de
Sat Aug 30 18:11:20 BST 2008
On Sat, Aug 30, 2008 at 06:31:16PM +0200, "Marc Sch?tz" wrote:
> I'm sure this is not the case here. I think this is already going on for some time, as I can remember having seen an empty tileset list on my user page several times while my client was rendering.
>
> > I am sure there are more reasons (including bugs) why it could
> > happen.
>
> Is the request handout and removal from the database done atomically? Could there be a race condition?
No. Yes. :-)
There's a possibility for a race condition that I am well aware of (it's in the public TODO since quite some time). I have been looking into looking into lokcing the entry with "FOR UPDATE" but haven't gotten around to do it.
> BTW, http://tah.openstreetmap.org/Request/show/uploads/ returns HTTP 500 right now, but this is probably unrelated.
Yes. don't even ask why... ;-)
spaetz
More information about the Tilesathome
mailing list