[darcs-users] new version of trac-darcs plugin

K.S.Sreeram sreeram at tachyontech.net
Fri Aug 11 03:56:29 UTC 2006


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.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 252 bytes
Desc: OpenPGP digital signature
Url : http://lists.osuosl.org/pipermail/darcs-users/attachments/20060811/acbdc4e7/attachment.pgp 


More information about the darcs-users mailing list