[darcs-devel] [issue1811] simultaneous darcs show contents => Hash failure

Eric Kow bugs at darcs.net
Sat Apr 3 11:38:19 UTC 2010


New submission from Eric Kow <kowey at darcs.net>:

I tried to reproduce issue940, but in doing so I managed to get some
Hash failure error messages.

The key is that I was trying to concurrently run darcs show contents
(with a long matcher) three times:
for i in seq 1 3; do
  darcs show contents --match "hash
20080215012747-92b7f-46b20ea5a2f9ea5678b3f901f0818f8f61e9f97a.gz"
"src/allmydata/util/base32.py" &
done

The failure message I get is

Hash failure in
/home/eykk10/tmp-2010-04-03/tahoe-lafs/_darcs/patches/0000000418-787350359ef26808fac451dfbcacd8217b4ad52fd4b327bb21a0ee1eb960b5a3
Hash failure in
/home/eykk10/tmp-2010-04-03/tahoe-lafs/_darcs/patches/0000132264-093c6bbaac5c681f41faa83e5e65df42fa48e502b41727ca0538e1c9d1f83474
Hash failure in
/home/eykk10/.darcs/cache/patches/0000132264-093c6bbaac5c681f41faa83e5e65df42fa48e502b41727ca0538e1c9d1f83474
Hash failure in
http://allmydata.org/source/tahoe-lafs/trunk/_darcs/patches/0000132264-093c6bbaac5c681f41faa83e5e65df42fa48e502b41727ca0538e1c9d1f83474
It's too late to use atexit
darcs: Sorry, partial repository problem.  Patch not available:
Wed Jan 27 06:44:30 GMT 2010  david-sarah at jacaranda.org
  * Prevent mutable objects from being retrieved from an immutable
directory, and associated forward-compatibility improvements.
Couldn't fetch
`0000132264-093c6bbaac5c681f41faa83e5e65df42fa48e502b41727ca0538e1c9d1f83474'
in subdir patches from sources:

thisrepo:/home/eykk10/tmp-2010-04-03/tahoe-lafs
cache:/home/eykk10/.darcs/cache
repo:http://allmydata.org/source/tahoe-lafs/trunk


If you think what you're trying to do is ok then
report this as a bug on the darcs-user list.
Hash failure in
/home/eykk10/tmp-2010-04-03/tahoe-lafs/_darcs/patches/0000006477-11d3ef3e6809cd4f0dd8c35b12df5c30af45a0e2ec25ddf3c237ba57ec14ae7a
Hash failure in
/home/eykk10/tmp-2010-04-03/tahoe-lafs/_darcs/patches/0000001972-5d647ccd42510b8704961c6d9878d5efaacdde8e468667b7c4ced2b9ac788eb6

The attached script just shows which repository you need to darcs get to
reproduce this.  Note that you may want to move your ~/.darcs/cache out
of the way first.

This needs somebody to investigate.  Why might this be happening?  What
can we do (roughly) to solve it?  

This sort of thing sounds like it should affect anybody running
something like trac-darcs, so maybe it's good to mark this urgent?

----------
files: simultaneous-show-contents.sh
messages: 10642
nosy: darcs-devel, dmitry.kurochkin, kowey, zooko
priority: urgent
status: need-action
title: simultaneous darcs show contents => Hash failure
topic: Hashed

__________________________________
Darcs bug tracker <bugs at darcs.net>
<http://bugs.darcs.net/issue1811>
__________________________________
-------------- next part --------------
A non-text attachment was scrubbed...
Name: simultaneous-show-contents.sh
Type: application/x-sh
Size: 274 bytes
Desc: not available
URL: <http://lists.osuosl.org/pipermail/darcs-devel/attachments/20100403/2d8ada64/attachment.sh>


More information about the darcs-devel mailing list