Ekaterina Pavlova
39cec7d0d6
cli: refactor neofs-sdk-go
related operations in upload-bin
...
Signed-off-by: Ekaterina Pavlova <ekt@morphbits.io>
2024-12-13 19:19:15 +03:00
Ekaterina Pavlova
9e3f75e977
*: update neofs-sdk-go
...
Update to the version without pool panics
https://github.com/nspcc-dev/neofs-sdk-go/pull/643 .
Signed-off-by: Ekaterina Pavlova <ekt@morphbits.io>
2024-12-13 17:07:52 +03:00
Ekaterina Pavlova
be4fc98041
cli: refactor upload-bin
handler to reuse SDK built-in functionality
...
Close #3714
Signed-off-by: Ekaterina Pavlova <ekt@morphbits.io>
2024-12-13 16:36:37 +03:00
Ekaterina Pavlova
247ee831e5
cli: change block timestamp attribute of objects in upload-bin
...
Close #3654
Signed-off-by: Ekaterina Pavlova <ekt@morphbits.io>
2024-12-13 16:35:14 +03:00
Ekaterina Pavlova
46cbfab264
cli: add more debug info about retry to the upload-bin
...
Signed-off-by: Ekaterina Pavlova <ekt@morphbits.io>
2024-12-13 13:52:33 +03:00
Ekaterina Pavlova
65bdc82da8
*: move constant and NeoFS related code into separate package
...
Signed-off-by: Ekaterina Pavlova <ekt@morphbits.io>
2024-12-13 11:43:19 +03:00
Ekaterina Pavlova
62615f8c7e
cli: update upload-bin
to create index files during block uploading
...
Close #3655
Close #3652
Signed-off-by: Ekaterina Pavlova <ekt@morphbits.io>
2024-12-12 12:08:49 +03:00
Ekaterina Pavlova
04516e7d26
neofs: add pool support for NeoFS operations
...
Signed-off-by: Ekaterina Pavlova <ekt@morphbits.io>
2024-11-28 16:13:36 +03:00
Ekaterina Pavlova
43609dd984
*: migrate to SEARCH with strict equality comparator
...
Close #3670
Signed-off-by: Ekaterina Pavlova <ekt@morphbits.io>
2024-11-25 13:19:35 +03:00
Ekaterina Pavlova
616c805ac5
cli: refactor index file search in upload-bin
command
...
Align index file searching logic with block search.
Signed-off-by: Ekaterina Pavlova <ekt@morphbits.io>
2024-11-22 17:45:35 +03:00
Ekaterina Pavlova
5dab154582
cli: split searchBatchSize
usage in upload-bin
command
...
Split searchBatchSize into constant for searching and uploading.
Signed-off-by: Ekaterina Pavlova <ekt@morphbits.io>
2024-11-22 17:45:35 +03:00
Ekaterina Pavlova
9fd375d56d
cli: fix nil error of fetchLatestMissingBlockIndex
in upload-bin
...
Close #3653
Signed-off-by: Ekaterina Pavlova <ekt@morphbits.io>
2024-11-22 17:45:35 +03:00
Ekaterina Pavlova
5f6284de05
cli: fix skip-blocks-uploading
mode of upload-bin
command
...
If uploadBlocks succeeded uploadIndexFiles should work based on the
currentBlockHeight.
Signed-off-by: Ekaterina Pavlova <ekt@morphbits.io>
2024-11-15 17:28:24 +03:00
Ekaterina Pavlova
58ed448f8d
cli: add debug mode to upload-bin
command
...
Signed-off-by: Ekaterina Pavlova <ekt@morphbits.io>
2024-11-15 17:18:44 +03:00
Ekaterina Pavlova
375b095f78
cli: add details to the logs in upload-bin
...
Signed-off-by: Ekaterina Pavlova <ekt@morphbits.io>
2024-11-15 14:34:36 +03:00
Ekaterina Pavlova
380d112599
cli: fix stopping of uploadIndexFiles in upload-bin
...
The expected count of index files should be counted based on the already
uploaded object number.
Close #3669
Signed-off-by: Ekaterina Pavlova <ekt@morphbits.io>
2024-11-15 14:34:36 +03:00
Ekaterina Pavlova
6e863e9a06
cli: fix fetchLatestMissingBlockIndex in upload-bin
command
...
Close #3667
Signed-off-by: Ekaterina Pavlova <ekt@morphbits.io>
2024-11-15 14:34:10 +03:00
Ekaterina Pavlova
29e2d712f4
cli: add flag max-retries
for upload-bin
...
Signed-off-by: Ekaterina Pavlova <ekt@morphbits.io>
2024-11-06 11:18:41 +03:00
Ekaterina Pavlova
18ed3bb3e8
cli: fix missing errors on closure of writer in upload-bin
...
Ref #3658
Signed-off-by: Ekaterina Pavlova <ekt@morphbits.io>
2024-11-06 11:16:46 +03:00
Anna Shaleva
a85f3ce83f
cli: rename uploader.go to upload_bin.go
...
Follow the style of other files in the `util` package and existing
`dump_bin.go`.
Signed-off-by: Anna Shaleva <shaleva.ann@nspcc.ru>
2024-11-05 12:43:20 +03:00