Do not reupload existing blocks to NeoFS block storage #3652
Labels
cli
Command line interface
enhancement
Improving existing functionality
I4
No visible changes
S4
Routine
U3
Regular
Milestone
Is your feature request related to a problem? Please describe.
Currently
upload-bin
finds latest incomplete batch of blocks and starts reuploading from the first block in this batch. Due to #3647 (comment) objects with the same block index but different OIDs may be created using this way of uploading.Describe the solution you'd like
Don't upload the same block twice. Instead, search for the latest incomplete batch, then search for the missing block indexes in this batch and upload only missing blocks.
Describe alternatives you've considered
Leave it as is. It works, but a lot of useless duplicating objects are created which makes SEARCH request slower.
The text was updated successfully, but these errors were encountered: