how to fix 'multiple versions are recoverable'? #1004
Labels
No Label
0.2.0
0.3.0
0.4.0
0.5.0
0.5.1
0.6.0
0.6.1
0.7.0
0.8.0
0.9.0
1.0.0
1.1.0
1.10.0
1.10.1
1.10.2
1.10a2
1.11.0
1.12.0
1.12.1
1.13.0
1.14.0
1.15.0
1.15.1
1.2.0
1.3.0
1.4.1
1.5.0
1.6.0
1.6.1
1.7.0
1.7.1
1.7β
1.8.0
1.8.1
1.8.2
1.8.3
1.8β
1.9.0
1.9.0-s3branch
1.9.0a1
1.9.0a2
1.9.0b1
1.9.1
1.9.2
1.9.2a1
LeastAuthority.com automation
blocker
cannot reproduce
cloud-branch
code
code-dirnodes
code-encoding
code-frontend
code-frontend-cli
code-frontend-ftp-sftp
code-frontend-magic-folder
code-frontend-web
code-mutable
code-network
code-nodeadmin
code-peerselection
code-storage
contrib
critical
defect
dev-infrastructure
documentation
duplicate
enhancement
fixed
invalid
major
minor
n/a
normal
operational
packaging
somebody else's problem
supercritical
task
trivial
unknown
was already fixed
website
wontfix
worksforme
No Milestone
No Assignees
5 Participants
Notifications
Due Date
No due date set.
Reference: tahoe-lafs/trac-2024-07-25#1004
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
I have a couple of directories that are
I can't see how to fix this. A deep check with the repair checkbox
leaves the directories in the same state.
A simple check with the repair checkbox shows me the versions available, but I didn't see how to fix the directory.
Zooko sent a list of related tickets:
Here are all the tickets that look vaguely related to the topic of
"robust upload/download of mutables":
http://allmydata.org/trac/tahoe-lafs/ticket/232# Peer selection
doesn't rebalance shares on overwrite of mutable file.
http://allmydata.org/trac/tahoe-lafs/ticket/474# uncaught exception in
mutable-retrieve: UCW between mapupdate and retrieve
http://allmydata.org/trac/tahoe-lafs/ticket/540# inappropriate
"uncoordinated write error" after handling a server failure
http://allmydata.org/trac/tahoe-lafs/ticket/541# foolscap
'reference'-token bug workaround in mutable publish
http://allmydata.org/trac/tahoe-lafs/ticket/546# mutable-file surprise
shares raise inappropriate UCWE
http://allmydata.org/trac/tahoe-lafs/ticket/547# mapupdate(MODE_WRITE)
triggers on a false boundary
http://allmydata.org/trac/tahoe-lafs/ticket/548# mutable publish sends
queries to servers that have already been asked
http://allmydata.org/trac/tahoe-lafs/ticket/549# MODE_WRITE mapupdate:
maybe increase epsilon to handle large batches of new servers better
http://allmydata.org/trac/tahoe-lafs/ticket/846#
allmydata.test.test_system.SystemTest.test_mutable sometimes hangs on
a slow machine
http://allmydata.org/trac/tahoe-lafs/ticket/893# UCWE when mapupdate
gives up too early, then server errors require replacement servers
Reformatting the list in Humberto's comment:
It's really bothering me that mutable file upload and download behavior is so finicky, buggy, inefficient, hard to understand, different from immutable file upload and download behavior, etc. So I'm putting a bunch of tickets into the "1.8" Milestone. I am not, however, at this time, volunteering to work on these tickets, so it might be a mistake to put them into the 1.8 Milestone, but I really hope that someone else will volunteer or that I will decide to do it myself. :-)
Proposed behaviour: mutable repair should delete (by setting the container to zero length) shares of previous versions, after confirming that the current version meets the happiness threshold. See also #614, #1057 and #2060.
Replying to daira:
Sounds good to me!
I hit this under slightly different circumstances.
C:\Users\PRabahy\Downloads\allmydata-tahoe-1.10.0\bin>tahoe deep-check --repair CryptoResearch: ERROR: MustForceRepairError(There were unrecoverable newer versions, so force=Tr ue must be passed to the repair() operation) "[Failure instance: Traceback: <class 'allmydata.mutable.repairer.MustForceRepai rError'>: There were unrecoverable newer versions, so force=True must be passed to the repair() operation" C:\Users\PRabahy\Downloads\allmydata-tahoe-1.10.0\support\Lib\site-packages\twis ted-11.0.0-py2.7-win32.egg\twisted\internet\base.py:793:runUntilCurrent C:\Users\PRabahy\Downloads\allmydata-tahoe-1.10.0\support\Lib\site-packages\fool scap-0.6.4-py2.7.egg\foolscap\eventual.py:26:_turn C:\Users\PRabahy\Downloads\allmydata-tahoe-1.10.0\support\Lib\site-packages\twis ted-11.0.0-py2.7-win32.egg\twisted\internet\defer.py:361:callback C:\Users\PRabahy\Downloads\allmydata-tahoe-1.10.0\support\Lib\site-packages\twis ted-11.0.0-py2.7-win32.egg\twisted\internet\defer.py:455:_startRunCallbacks --- --- C:\Users\PRabahy\Downloads\allmydata-tahoe-1.10.0\support\Lib\site-packages\twis ted-11.0.0-py2.7-win32.egg\twisted\internet\defer.py:542:_runCallbacks c:\users\prabahy\downloads\allmydata-tahoe-1.10.0\src\allmydata\mutable\repairer .py:83:_got_full_servermap
Edit: Ouch, sorry about the formatting, but all the details are there.
Thanks for the bug report, PRabahy! Here's an attempt to untangle the formatting:
Replying to PRabahy:
I think that is probably a different bug -- filed as #2109.
Milestone renamed
renaming milestone
Moving open issues out of closed milestones.
Ticket retargeted after milestone closed