frostfs-node/pkg/local_object_storage/engine
Evgenii Stratonikov b5bcf90fa1 [#1186] engine: Read object directly from blobstor in case of conflicts
Metabase is expected to contain actual information about objects stored
in shard. If the object is present in metabase but is missing from
blobstor, peform an additional attempt to fetch it directly without
consulting metabase. Such a situation is unexpected, so error counter
is increased for the shard which has the object in the metabase. We
don't increase error counter for the shard which has the object in
blobstor, because some garbage can be expected there. In this
implementation there is no overhead for objects which are really
missing, i.e. are not present in any metabase.

Signed-off-by: Evgenii Stratonikov <evgeniy@nspcc.ru>

(cherry picked from commit 69e1e6ca20)
Signed-off-by: Alex Vanin <alexey@nspcc.ru>
2022-03-28 13:48:44 +03:00
..
container.go *: replace neofs-api-go with neofs-sdk-go 2021-11-12 17:29:09 +03:00
control.go [#922] storage engine: Prevent any operations after first Close call 2021-11-12 17:28:38 +03:00
control_test.go [#979] Upgrade SDK NeoFS Go dependency 2021-12-01 17:31:04 +03:00
delete.go *: replace neofs-api-go with neofs-sdk-go 2021-11-12 17:29:09 +03:00
dump.go [#1086] services/control: implement DumpShard RPC 2022-01-31 12:36:14 +03:00
engine.go [#922] storage engine: Support operation blocking 2021-11-12 17:28:38 +03:00
engine_test.go [#1100] *: Adopt new SDK's owner.ID API 2022-01-21 17:58:30 +03:00
error_test.go [#1186] engine: Read object directly from blobstor in case of conflicts 2022-03-28 13:48:44 +03:00
exists.go *: replace neofs-api-go with neofs-sdk-go 2021-11-12 17:29:09 +03:00
get.go [#1186] engine: Read object directly from blobstor in case of conflicts 2022-03-28 13:48:44 +03:00
head.go *: replace neofs-api-go with neofs-sdk-go 2021-11-12 17:29:09 +03:00
head_test.go [#979] Upgrade SDK NeoFS Go dependency 2021-12-01 17:31:04 +03:00
info.go [#189] localstorage: Implement DumpInfo method 2020-12-11 17:19:37 +03:00
inhume.go *: replace neofs-api-go with neofs-sdk-go 2021-11-12 17:29:09 +03:00
inhume_test.go [#979] Upgrade SDK NeoFS Go dependency 2021-12-01 17:31:04 +03:00
list.go [#948] engine: Define EndOfListing error in component packages 2021-11-19 16:57:19 +03:00
list_test.go [#979] Upgrade SDK NeoFS Go dependency 2021-12-01 17:31:04 +03:00
metrics.go [#426] Put prometheus behind pkg/metrics 2021-03-17 10:58:00 +03:00
put.go [#922] engine: Fix typos and improve naming related to exec blocks 2021-11-12 17:28:38 +03:00
range.go *: replace neofs-api-go with neofs-sdk-go 2021-11-12 17:29:09 +03:00
restore.go [#1086] services/control: implement RestoreShard RPC 2022-01-31 12:36:14 +03:00
select.go *: replace neofs-api-go with neofs-sdk-go 2021-11-12 17:29:09 +03:00
shards.go *: replace neofs-api-go with neofs-sdk-go 2021-11-12 17:29:09 +03:00