Partially written share still thinks it's fully written, as far as IStorageServer.allocate_buckets() goes #3794

Closed
opened 2021-09-08 17:31:25 +00:00 by itamarst · 1 comment
itamarst commented 2021-09-08 17:31:25 +00:00
Owner

IStorageServer.allocate_buckets() returns how many shares it already has that are completely written to.

If you write partially to a share, and then close it without writing the full size, it's still marked as completed in the response from allocate_buckets().

`IStorageServer.allocate_buckets()` returns how many shares it already has that are completely written to. If you write partially to a share, and then close it without writing the full size, it's still marked as completed in the response from `allocate_buckets()`.
tahoe-lafs added the
unknown
normal
defect
n/a
labels 2021-09-08 17:31:25 +00:00
tahoe-lafs added this to the HTTP Storage Protocol milestone 2021-09-08 17:31:25 +00:00
itamarst commented 2021-09-08 17:34:48 +00:00
Author
Owner

This only happens if RIBucketWriter.close() is called too early, so... let's say not a bug.

This only happens if `RIBucketWriter.close()` is called too early, so... let's say not a bug.
tahoe-lafs added the
wontfix
label 2021-09-08 17:34:48 +00:00
itamarst closed this issue 2021-09-08 17:34:48 +00:00
Sign in to join this conversation.
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: tahoe-lafs/trac-2024-07-25#3794
No description provided.