frostfs-node/pkg/local_object_storage/engine
Pavel Karpy 156ba85326 [#1634] node: Do not return expired objects
If an object has not been marked for removal by the GC in the current epoch
yet but has already expired, respond with `ErrObjectNotFound` api status.
Also, optimize shard iteration: a node must stop any iteration if the object
 is found but gonna be removed soon.
All the checks are performed by the Metabase.

Signed-off-by: Pavel Karpy <carpawell@nspcc.ru>
2022-08-04 16:31:49 +03:00
..
container.go [#1559] shard: Use Set prefix for parameter setting 2022-07-21 17:56:06 +03:00
control.go [#1549] engine: Disable shard on blobovnicza init failure 2022-07-21 17:56:06 +03:00
control_test.go [#1559] local_object_storage: Move shard.Mode to a separate package 2022-07-21 17:56:06 +03:00
delete.go [#1634] node: Do not return expired objects 2022-08-04 16:31:49 +03:00
dump.go [#1418] shard: Do not use pointers as parameters 2022-06-03 07:35:17 +03:00
engine.go [#1559] local_object_storage: Move shard to the DegradedReadOnly mode 2022-07-21 17:56:06 +03:00
engine_test.go [#1634] meta: Add epoch state 2022-08-04 16:31:49 +03:00
error_test.go [#1634] meta: Add epoch state 2022-08-04 16:31:49 +03:00
exists.go [#1634] node: Do not return expired objects 2022-08-04 16:31:49 +03:00
get.go [#1634] node: Do not return expired objects 2022-08-04 16:31:49 +03:00
head.go [#1634] node: Do not return expired objects 2022-08-04 16:31:49 +03:00
head_test.go [#1559] shard: Use Set prefix for parameter setting 2022-07-21 17:56:06 +03:00
info.go [#1118] services/control: return error counter in ListShards 2022-02-03 15:14:27 +03:00
inhume.go [#1634] node: Do not return expired objects 2022-08-04 16:31:49 +03:00
inhume_test.go [#1559] shard: Use Set prefix for parameter setting 2022-07-21 17:56:06 +03:00
list.go [#1460] engine: Do not use pointers as the results 2022-06-06 18:03:12 +03:00
list_test.go [#1418] engine: Do not use pointers as parameters 2022-06-03 07:35:17 +03:00
lock.go [#1634] node: Do not return expired objects 2022-08-04 16:31:49 +03:00
lock_test.go [#1461] meta: Return error on lock object removal 2022-07-18 11:42:25 +03:00
metrics.go [#426] Put prometheus behind pkg/metrics 2021-03-17 10:58:00 +03:00
put.go [#1634] node: Do not return expired objects 2022-08-04 16:31:49 +03:00
range.go [#1559] shard: Do not consult metabase in a degraded mode 2022-07-21 17:56:06 +03:00
restore.go [#1418] shard: Do not use pointers as parameters 2022-06-03 07:35:17 +03:00
select.go [#1559] shard: Use Set prefix for parameter setting 2022-07-21 17:56:06 +03:00
shards.go [#1559] local_object_storage: Move shard.Mode to a separate package 2022-07-21 17:56:06 +03:00
tree.go [#1642] engine: Do not increase error counter if the pilorama is disabled 2022-07-30 18:39:22 +03:00
tree_test.go [#1442] pilorama: Generate timestamp based on node position in the container 2022-07-21 15:08:24 +03:00