frostfs-node/pkg
Evgenii Stratonikov 3a48b282b6 [#1248] placement: Use epoch to track netmap versions
Previously we used pointer, this could have worked,
because most of the time, the netmap is cached.
This didn't work, however, because `lastNm` field was always nil.

Rework the mechanism completely:
1. Use epoch to track netmap versions, as it it simpler and
   is unrelated to the TTL of an underlying cache.
2. Fix a bug where the epoch could change while mutex was unlocked.

Signed-off-by: Evgenii Stratonikov <e.stratonikov@yadro.com>
2024-07-16 12:21:30 +00:00
..
ape [#1216] ape: Introduce BearerChainFeedRouter 2024-07-05 18:26:48 +00:00
core [#1213] fmt: Drop unused interfaces 2024-07-01 06:49:35 +00:00
innerring [#1219] Remove Container.SetEACL method 2024-07-02 13:05:40 +00:00
local_object_storage [#1238] engine: Add non-blocking send in the shard's notification channel 2024-07-10 11:37:11 +03:00
morph [#1196] morph/client: Fix ArrayFromStackItem() description 2024-07-15 16:24:58 +03:00
network [#1105] apemanager: Implement apemanager service 2024-05-27 09:34:21 +00:00
services [#1248] placement: Use epoch to track netmap versions 2024-07-16 12:21:30 +00:00
tracing [#146] node: Add trace_id to logs 2023-09-27 11:05:27 +03:00
util [#1135] sdnotify: Send MONOTONIC_USEC on reload 2024-05-15 12:52:52 +00:00