frostfs-node/cmd/neofs-node
Alex Vanin 518f375dfd [#441] cmd/neofs-node: Don't update access time in ttlNetCache
ttlNetCache should evict records after TTL duration. However if
data is often accessed and there are no LRU eviction (cache used
with small number of keys), then data will not be evicted ever.

This is a invalid behaviour for mutable data such as eACL.

Solution is to not update access time on every get, so the data
will be guarantee evicted after TTL duration.

Signed-off-by: Alex Vanin <alexey@nspcc.ru>
2021-03-23 20:19:16 +03:00
..
accounting.go [#83] services: Remove setting of meta header from executing services 2020-10-23 10:54:48 +03:00
attributes.go [#362] cmd/node: Use const key to UN/LOCODE attribute from the API lib 2021-02-11 14:01:35 +03:00
cache.go [#441] cmd/neofs-node: Don't update access time in ttlNetCache 2021-03-23 20:19:16 +03:00
config.go [#426] cmd/neofs-node: Fix metric option in local storage 2021-03-17 10:58:00 +03:00
container.go [#425] Adapt the Client's refactoring to the interface 2021-03-17 15:00:37 +03:00
control.go [#401] control: Serve DropObjects RPC 2021-02-24 13:07:53 +03:00
grpc.go [#323] cmd/node: Compose functions for closing components in app 2021-01-18 18:53:39 +03:00
main.go [#426] cmd/neofs-node: Add metrics collector in node 2021-03-17 10:58:00 +03:00
metrics.go [#426] Put prometheus behind pkg/metrics 2021-03-17 10:58:00 +03:00
morph.go [#419] cmd/node: Cache network maps read from sidechain 2021-03-04 16:33:29 +03:00
netmap.go [#398] cmd/node: Serve NetmapService.NetworkInfo RPC 2021-02-19 19:16:40 +03:00
object.go [#425] services: Define service interfaces that was removed from API lib 2021-03-17 15:00:37 +03:00
pprof.go [#68] Add go pprof to neofs-storage 2020-10-02 19:47:08 +03:00
session.go [#83] services: Remove setting of meta header from executing services 2020-10-23 10:54:48 +03:00
worker.go [#108] cmd/neofs-node: Listen new epoch notifications from morph 2020-10-21 14:42:51 +03:00