frostfs-node/pkg/local_object_storage/shard
Evgenii Stratonikov ba3db7fed5 [#1996] engine: Always select proper shard for a tree
Currently there is a possibility for modifying operations to fail
because of I/O errors and a new tree to be created on another shard.
This commit adds existence check for modifying operations.
Read operations remain as they are, not to slow things.
`TreeDrop` is an exception, because this is a tree removal and trying
multiple shards is not an unwanted behaviour.

Signed-off-by: Evgenii Stratonikov <evgeniy@morphbits.ru>
2022-11-07 13:02:45 +03:00
..
mode [#1840] neofs-node: Allow to use mode: disabled in config 2022-10-10 11:14:55 +03:00
container.go [#1974] shard: Do not panic in degraded mode 2022-10-26 12:41:12 +03:00
control.go [#1969] local_object_storage: Move ErrObjectIsExpired to another package 2022-10-31 11:41:24 +03:00
control_test.go [#1869] shard: Allow to reload metabase on SIGHUP 2022-10-24 13:28:26 +03:00
delete.go [#1905] shard: Don't log read-only errors of write-cache 2022-10-28 18:30:45 +03:00
delete_test.go [#1559] local_object_storage: Fix tests and some data races 2022-07-21 17:56:06 +03:00
dump.go [#1969] local_object_storage: Simplify logic error construction 2022-10-31 11:41:24 +03:00
dump_test.go [#1770] logger: Refactor Logger component 2022-10-12 18:11:05 +03:00
errors.go [#1969] local_object_storage: Move ErrObjectIsExpired to another package 2022-10-31 11:41:24 +03:00
exists.go [#1523] local_object_storage: Unify parameters for the Exists operation 2022-08-22 13:14:19 +03:00
gc.go [#1974] shard: Do not panic in degraded mode 2022-10-26 12:41:12 +03:00
get.go [#1969] local_object_storage: Add a type for logical errors 2022-10-31 11:41:24 +03:00
get_test.go [#1969] local_object_storage: Add a type for logical errors 2022-10-31 11:41:24 +03:00
head.go [#1745] writecache: Remove IsErrNotFound 2022-09-02 11:59:53 +03:00
head_test.go [#1559] shard: Use Set prefix for parameter setting 2022-07-21 17:56:06 +03:00
id.go [#1863] node: Fix shard id in the object counter metrics 2022-10-13 13:06:41 +03:00
info.go [#1559] local_object_storage: Move shard.Mode to a separate package 2022-07-21 17:56:06 +03:00
inhume.go [#1658] shard: Update metric counters 2022-09-13 21:32:37 +04:00
inhume_test.go [#1559] shard: Use Set prefix for parameter setting 2022-07-21 17:56:06 +03:00
list.go [#1974] shard: Do not panic in degraded mode 2022-10-26 12:41:12 +03:00
list_test.go [#1559] shard: Use Set prefix for parameter setting 2022-07-21 17:56:06 +03:00
lock.go [#1559] shard: Do not consult metabase in a degraded mode 2022-07-21 17:56:06 +03:00
lock_test.go [#1770] logger: Refactor Logger component 2022-10-12 18:11:05 +03:00
metrics_test.go [#1863] node: Fix shard id in the object counter metrics 2022-10-13 13:06:41 +03:00
mode.go [#1969] local_object_storage: Simplify logic error construction 2022-10-31 11:41:24 +03:00
move.go [#1559] shard: Do not consult metabase in a degraded mode 2022-07-21 17:56:06 +03:00
put.go [#1825] writecache: Flush cache when moving to the DEGRADED mode 2022-10-04 12:13:09 +03:00
range.go [#1969] local_object_storage: Add a type for logical errors 2022-10-31 11:41:24 +03:00
range_test.go [#1770] logger: Refactor Logger component 2022-10-12 18:11:05 +03:00
reload_test.go [#1869] shard: Restore shard mode on failed reloads 2022-10-24 13:28:26 +03:00
restore.go [#1969] local_object_storage: Simplify logic error construction 2022-10-31 11:41:24 +03:00
select.go [#1559] shard: Do not consult metabase in a degraded mode 2022-07-21 17:56:06 +03:00
shard.go [#1869] shard: Embed gcCfg as raw struct 2022-10-24 13:28:26 +03:00
shard_test.go [#1770] logger: Refactor Logger component 2022-10-12 18:11:05 +03:00
shutdown_test.go [#1559] shard: Use Set prefix for parameter setting 2022-07-21 17:56:06 +03:00
tree.go [#1996] engine: Always select proper shard for a tree 2022-11-07 13:02:45 +03:00
weight.go [#189] shard: Extend Info with WeightValues 2020-12-11 17:19:37 +03:00
writecache.go [#1806] writecache: Allow to ignore read errors during flush 2022-09-28 09:28:01 +03:00