frostfs-node/pkg/services/object_manager/placement
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
..
netmap.go [#1248] placement: Use epoch to track netmap versions 2024-07-16 12:21:30 +00:00
traverser.go [#1064] putsvc: Add EC put 2024-04-09 07:08:53 +00:00
traverser_test.go [#1016] frostfs-node: Fix gopls issues 2024-03-01 12:13:43 +03:00