frostfs-node/pkg/local_object_storage/engine
Evgenii Stratonikov 69e1e6ca20 [#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>
2022-03-04 16:07:25 +03:00
..
container.go [#1118] engine: allow to set error threshold 2022-02-03 15:14:27 +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 [#1131] *: Adopt SDK changes 2022-02-08 09:45:38 +03:00
dump.go [#1086] services/control: implement DumpShard RPC 2022-01-31 12:36:14 +03:00
engine.go [#1118] engine: allow to set error threshold 2022-02-03 15:14:27 +03:00
engine_test.go [#1146] engine: Add benchmarks for exists 2022-03-04 12:31:41 +03:00
error_test.go [#1186] engine: Read object directly from blobstor in case of conflicts 2022-03-04 16:07:25 +03:00
exists.go [#1131] *: Adopt SDK changes 2022-02-08 09:45:38 +03:00
get.go [#1186] engine: Read object directly from blobstor in case of conflicts 2022-03-04 16:07:25 +03:00
head.go [#1131] *: Adopt SDK changes 2022-02-08 09:45:38 +03:00
head_test.go [#1131] *: Adopt SDK changes 2022-02-08 09:45:38 +03:00
info.go [#1118] services/control: return error counter in ListShards 2022-02-03 15:14:27 +03:00
inhume.go [#1115] shard/gc: provide parsed addresses in HandleExpiredTombstones 2022-02-11 12:58:59 +03:00
inhume_test.go [#979] Upgrade SDK NeoFS Go dependency 2021-12-01 17:31:04 +03:00
list.go [#1131] *: Adopt SDK changes 2022-02-08 09:45:38 +03:00
list_test.go [#1131] *: Adopt SDK changes 2022-02-08 09:45:38 +03:00
metrics.go [#426] Put prometheus behind pkg/metrics 2021-03-17 10:58:00 +03:00
put.go [#1146] engine: remove TODO and add a comment 2022-03-04 12:31:41 +03:00
range.go [#1131] *: Adopt SDK changes 2022-02-08 09:45:38 +03:00
restore.go [#1086] services/control: implement RestoreShard RPC 2022-01-31 12:36:14 +03:00
select.go [#1131] *: Adopt SDK changes 2022-02-08 09:45:38 +03:00
shards.go [#1131] *: Adopt SDK changes 2022-02-08 09:45:38 +03:00