frostfs-node/pkg/services
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
..
accounting [#1206] audit: Drop not required events 2024-06-27 10:54:31 +00:00
apemanager [#1184] node: Add audit middleware for grpc services 2024-06-19 16:05:53 +03:00
container [#1219] Remove Container.SetEACL method 2024-07-02 13:05:40 +00:00
control [#1222] engine: Fix tree evacuation 2024-07-04 10:38:10 +03:00
netmap [#1206] audit: Drop not required events 2024-06-27 10:54:31 +00:00
object [#1243] object: Make APE checker set x-headers to request properties 2024-07-16 07:28:42 +00:00
object_manager [#1248] placement: Use epoch to track netmap versions 2024-07-16 12:21:30 +00:00
policer [#1231] policer: Add EC node-off unit test 2024-07-05 12:11:36 +03:00
replicator [#1129] policer: Restore EC object 2024-05-17 14:36:18 +03:00
session [#1206] audit: Drop not required events 2024-06-27 10:54:31 +00:00
tree [#1216] ape: Make services use bearer chains fed router 2024-07-05 18:26:48 +00:00
util [#481] Update frostfs-sdk-go and error pointer receivers 2023-08-09 10:26:53 +00:00