frostfs-node/cmd/neofs-node
Leonard Lyubich d4569946c5 [#1313] container: Do not invalidate cache on Container.Delete
In previous implementation `Container.Delete` operation caused local
node's cache invalidation (container itself, eACL and listings). Any
subsequent `Container.Get` operation reversed invalidation. Given the
low latency sensitivity of deleting a container, there is no need to
touch the cache. With this approach, all pending deletion operations on
the node via the NeoFS API protocol will be delayed by the cache TTL.

Do not call cache invalidation ops in `morphContainerWriter.Delete`.
Remove no longer needed `InvalidateContainerListByCID` and
`InvalidateContainer` methods.

Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
2022-04-25 10:34:12 +03:00
..
config [#1170] config: Delete notification endpoints 2022-04-08 11:52:18 +03:00
reputation [#1210] timers: Add IterationsTicker 2022-03-16 17:18:30 +03:00
accounting.go [#625] client/balance: remove intermediate wrapper 2022-02-08 09:43:54 +03:00
attributes.go [#1238] Adopt neofs-node for non pointer slices in SDK 2022-03-16 15:29:31 +03:00
cache.go [#1313] container: Do not invalidate cache on Container.Delete 2022-04-25 10:34:12 +03:00
config.go [#1278] neofs-node: Use global cached netmap source in services 2022-03-30 14:22:12 +03:00
container.go [#1313] container: Do not invalidate cache on Container.Delete 2022-04-25 10:34:12 +03:00
control.go [#1278] neofs-node: Use global cached netmap source in services 2022-03-30 14:22:12 +03:00
grpc.go [#1270] neofs-node: Add timeout for grpc GracefulStop() 2022-03-25 17:39:24 +03:00
main.go [#1244] nats: Split client creation into 2 stages 2022-03-24 11:51:49 +03:00
metrics.go [#745] node: Add more debug logs on shutdown 2021-08-05 14:44:05 +03:00
morph.go [#1170] pkg/morph: Add worker pool 2022-04-08 11:52:18 +03:00
netmap.go [#1238] Adopt neofs-node for non pointer slices in SDK 2022-03-16 15:29:31 +03:00
notificator.go [#1244] nats: Split client creation into 2 stages 2022-03-24 11:51:49 +03:00
object.go [#1278] neofs-node: Cache IRFetcher 2022-03-30 14:22:12 +03:00
pprof.go [#745] node: Add more debug logs on shutdown 2021-08-05 14:44:05 +03:00
reputation.go [#1278] neofs-node: Use global cached netmap source in services 2022-03-30 14:22:12 +03:00
session.go [#1255] object: Add persistent storage usage 2022-03-29 09:35:10 +03:00
timers.go [#1210] reputation: Resolve race condition 2022-03-16 17:18:30 +03:00
worker.go [#108] cmd/neofs-node: Listen new epoch notifications from morph 2020-10-21 14:42:51 +03:00