frostfs-node/pkg/services/policer
Evgenii Stratonikov 57efa0bc8e
[#1604] policer: Properly handle maintenance nodes
Consider `REP 1 REP 1` placement (selects/filters are omitted).
The placement is `[1, 2], [1, 0]`. We are the 0-th node.
Node 1 is under maintenance, so we do not replicate object
on the node 2. In the second replication group node 1 is under maintenance,
but current caching logic considers it as "replica holder" and removes
local copy. Voilà, we have DL if the object is missing from the node 1.

Signed-off-by: Evgenii Stratonikov <e.stratonikov@yadro.com>
2025-01-16 16:37:52 +03:00
..
check.go [#1604] policer: Properly handle maintenance nodes 2025-01-16 16:37:52 +03:00
check_test.go [#1604] policer: Remove one-line helpers 2025-01-16 16:37:16 +03:00
ec.go [#1502] Use zap.Error for logging errors 2024-12-16 11:13:42 +03:00
ec_test.go [#1231] policer: Add EC node-off unit test 2024-07-05 12:11:36 +03:00
metrics.go [#735] policer: Allow to provide metrics from the outside 2023-10-11 15:14:13 +03:00
nodecache.go [#1604] policer: Properly handle maintenance nodes 2025-01-16 16:37:52 +03:00
option.go [#1437] node: Use ctx for logging 2024-11-13 10:36:07 +03:00
policer.go [#1437] node: Use ctx for logging 2024-11-13 10:36:07 +03:00
policer_test.go [#1604] policer: Properly handle maintenance nodes 2025-01-16 16:37:52 +03:00
process.go [#1502] Use zap.Error for logging errors 2024-12-16 11:13:42 +03:00