darcs

Issue 1811 simultaneous darcs show contents => Hash failure

Title simultaneous darcs show contents => Hash failure
Priority urgent Status given-up
Milestone Resolved in
Superseder Nosy List darcs-devel, dmitry.kurochkin, kowey, zooko
Assigned To
Topics Hashed

Created on 2010-04-03.11:38:19 by kowey, last changed 2017-07-30.23:53:24 by gh.

Files
File name Uploaded Type Edit Remove
simultaneous-show-contents.sh kowey, 2010-04-03.11:38:18 application/x-sh
Messages
msg10642 (view) Author: kowey Date: 2010-04-03.11:38:18
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@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?
Attachments
History
Date User Action Args
2010-04-03 11:38:19koweycreate
2017-07-30 23:53:24ghsetstatus: needs-reproduction -> given-up