frostfs-node/pkg/local_object_storage/shard
Evgenii Stratonikov b4e90cdf51 [] pilorama: Optimize TreeApply when used for synchronization
Because synchronization _most likely_ will have apply already existing
operations, it is much faster to check their presence in a read
transaction. However, always doing this will degrade the perfomance
for normal `Apply`. And, let's be honest, it is already not good.
Thus we add a separate parameter which specifies whether this logic is
enabled.

Signed-off-by: Evgenii Stratonikov <e.stratonikov@yadro.com>
2022-12-30 11:07:35 +03:00
..
mode [] neofs-node: Allow to use mode: disabled in config 2022-10-10 11:14:55 +03:00
container.go Move to frostfs-node 2022-12-28 15:04:29 +03:00
control.go Move to frostfs-node 2022-12-28 15:04:29 +03:00
control_test.go Move to frostfs-node 2022-12-28 15:04:29 +03:00
delete.go [] node: Lock shard's mode on its methods switch 2022-12-30 11:07:35 +03:00
delete_test.go Move to frostfs-node 2022-12-28 15:04:29 +03:00
dump.go Move to frostfs-node 2022-12-28 15:04:29 +03:00
dump_test.go Move to frostfs-node 2022-12-28 15:04:29 +03:00
errors.go Move to frostfs-node 2022-12-28 15:04:29 +03:00
exists.go [] node: Lock shard's mode on its methods switch 2022-12-30 11:07:35 +03:00
gc.go [] node: Lock shard's mode on its methods switch 2022-12-30 11:07:35 +03:00
get.go [] shard: Check meta first on Get 2022-12-30 11:07:35 +03:00
get_test.go Move to frostfs-node 2022-12-28 15:04:29 +03:00
head.go [] shard: Do not use write-cache by default in Head 2022-12-30 11:07:35 +03:00
head_test.go Move to frostfs-node 2022-12-28 15:04:29 +03:00
id.go Move to frostfs-node 2022-12-28 15:04:29 +03:00
info.go Move to frostfs-node 2022-12-28 15:04:29 +03:00
inhume.go [] node: Lock shard's mode on its methods switch 2022-12-30 11:07:35 +03:00
inhume_test.go Move to frostfs-node 2022-12-28 15:04:29 +03:00
list.go [] node: Lock shard's mode on its methods switch 2022-12-30 11:07:35 +03:00
list_test.go Move to frostfs-node 2022-12-28 15:04:29 +03:00
lock.go [] node: Lock shard's mode on its methods switch 2022-12-30 11:07:35 +03:00
lock_test.go Move to frostfs-node 2022-12-28 15:04:29 +03:00
metrics_test.go [] Add metric readonly to get shards mode 2022-12-30 11:07:35 +03:00
mode.go [] Add metric readonly to get shards mode 2022-12-30 11:07:35 +03:00
move.go [] node: Lock shard's mode on its methods switch 2022-12-30 11:07:35 +03:00
put.go [] node: Lock shard's mode on its methods switch 2022-12-30 11:07:35 +03:00
range.go [] node: Lock shard's mode on its methods switch 2022-12-30 11:07:35 +03:00
range_test.go Move to frostfs-node 2022-12-28 15:04:29 +03:00
reload_test.go Move to frostfs-node 2022-12-28 15:04:29 +03:00
restore.go Move to frostfs-node 2022-12-28 15:04:29 +03:00
select.go [] node: Lock shard's mode on its methods switch 2022-12-30 11:07:35 +03:00
shard.go [] Add metric readonly to get shards mode 2022-12-30 11:07:35 +03:00
shard_test.go Move to frostfs-node 2022-12-28 15:04:29 +03:00
shutdown_test.go Move to frostfs-node 2022-12-28 15:04:29 +03:00
tree.go [] pilorama: Optimize TreeApply when used for synchronization 2022-12-30 11:07:35 +03:00
weight.go [] shard: Extend Info with WeightValues 2020-12-11 17:19:37 +03:00
writecache.go [] writecache: Do not require read-only mode in Flush 2022-11-19 11:01:04 +03:00