Opened at 2010-09-23T23:38:26Z
Last modified at 2013-06-18T00:49:19Z
#1209 assigned defect
repair of mutable files/directories should not increment the sequence number — at Version 6
Reported by: | gdt | Owned by: | gdt |
---|---|---|---|
Priority: | major | Milestone: | soon |
Component: | code-mutable | Version: | 1.8.0 |
Keywords: | repair mutable preservation space-efficiency | Cc: | |
Launchpad Bug: |
Description (last modified by davidsarah)
Particularly with my root directory, I often find that 9 shares of seqN are available compared to 10 desired. I do a repair, and this results in 10 shares of seqN+1 and then 9 are deleted. Then the next day there are 9 of seqN+1 and 1 of seqN, and the file is again not healthy. This repeats daily.
It seems that the missing seqN shares should be generated and placed, and then when servers churn more it's likely that 10 can still be found, and no unrecoverable versions. Perhaps I don't get something, but the current behavior is not stable with intermittent servers.
I have observed this problem with directories, but it seems likely that it applies to all immutable files.
Change History (6)
comment:1 Changed at 2010-09-29T12:22:35Z by zooko
- Owner changed from somebody to gdt
- Version changed from 1.8β to 1.8.0
comment:2 Changed at 2010-09-29T13:35:29Z by gdt
- Description modified (diff)
- Summary changed from repair of immutable files should not increment the sequence number to repair of directories (all immutable files) should not increment the sequence number
Sorry, I really meant directories in particular. I have edited the summary and description.
comment:3 follow-up: ↓ 4 Changed at 2010-09-29T13:36:31Z by gdt
- Description modified (diff)
- Summary changed from repair of directories (all immutable files) should not increment the sequence number to repair of directories (all immutable files?) should not increment the sequence number
Clarify that the ticket is really about directories, but that it likely applies to all immutable files.
comment:4 in reply to: ↑ 3 Changed at 2010-09-30T00:19:16Z by zooko
Replying to gdt:
Clarify that the ticket is really about directories, but that it likely applies to all immutable files.
You mean it likely applies to all mutable files, right? :-) Directories are normally mutable, although it is also possible to have immutable directories. But immutable directories don't have sequence numbers. :-)
comment:5 Changed at 2010-10-09T17:02:50Z by davidsarah
- Keywords repair mutable added
- Milestone changed from undecided to soon
comment:6 Changed at 2010-10-09T17:04:13Z by davidsarah
- Description modified (diff)
- Summary changed from repair of directories (all immutable files?) should not increment the sequence number to repair of mutable files/directories should not increment the sequence number
gdt: did you mean "mutable" instead of "immutable"? Immutable files don't have a sequence number!