frostfs-node/pkg/local_object_storage
Leonard Lyubich 8e8265d5ea [#1707] blobovnicza/get: Iterate over all buckets regardless of config
Re-configuration of Blobovnicza's object size limit must not affect
already stored objects. In previous implementation `Blobovnicza` didn't
see objects stored in buckets which became too big after size limit
re-configuration. For example, lets consider 1st configuration with 64KB
size limit for stored objects. Lets assume that we stored object of 64KB
size, and re-configured `Blobovnicza` with 32KB limit. After reboot
object should be still available, but actually it isn't. This is caused
by `Get` operation algorithm which iterates over configured size ranges
only, and doesn't process any other existing size bucket. By the way,
increasing of the object size limit didn't lead to the problem even in
previous implementation.

Make `Blobovnicza.Get` method to iterate over all size buckets
regardless of current configuration. This covers the described scenario.

Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
2022-09-08 12:24:28 +04:00
..
blobovnicza [#1707] blobovnicza/get: Iterate over all buckets regardless of config 2022-09-08 12:24:28 +04:00
blobstor [#1691] blobovniczatree: Fix active blobovnicza caching 2022-08-31 19:11:48 +03:00
engine [#1658] node: Read metrics from meta on startup 2022-08-25 19:20:33 +03:00
internal [#1686] local_object_storage: Add generic tests 2022-08-30 10:02:43 +03:00
metabase [#1686] metabase: Add generic tests 2022-08-30 10:02:43 +03:00
pilorama [#1698] pilorama: Add a test for the empty FileName 2022-08-30 16:52:51 +03:00
shard [#1745] writecache: Remove IsErrNotFound 2022-09-02 11:59:53 +03:00
util [#1454] Upgrade NeoFS SDK Go module with new IDs 2022-06-01 17:41:45 +03:00
writecache [#1745] writecache: Set flush parameters based on max size 2022-09-02 11:59:53 +03:00