Lele Gaifax wrote: >> 1) Race condition in getting file content (DarcsNode.get_content) > > http://progetti.arstecnica.it/trac%2Bdarcs/ticket/15 > > I think that, as soon as the plugin realizes it's missing some data and > needs to go loading it from the repository, it should insert a record in > the db marked in a particular way to say "I'm computing this info", IF > there isn't a similar record already. In the latter case, the plugin > should wait a little and retry. > > How does this sound?
Sounds good... but what about the 'IF there isn't a similar record already..' bit. I guess we should just insert the record and then see if it fails, rather than explicitly checking if the record exists. But then again, you probably meant this! :) [sreeram;] ps: I registered on the trac+darcs site, but am not able to add comments to the tickets. Probably some permissions issue.
signature.asc
Description: OpenPGP digital signature
_______________________________________________ darcs-users mailing list darcs-users@darcs.net http://www.abridgegame.org/mailman/listinfo/darcs-users