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

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()`.
itamarst added the
unknown
normal
defect
n/a
labels 2021-09-08 17:31:25 +00:00
itamarst added this to the HTTP Storage Protocol milestone 2021-09-08 17:31:25 +00:00
itamarst self-assigned this 2021-09-08 17:31:25 +00:00
Author

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.
itamarst added the
wontfix
label 2021-09-08 17:34:48 +00:00
Sign in to join this conversation.
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

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