frostfs-node/pkg/services/policer
Leonard Lyubich e99e25b52f [#1680] replicator: Consider nodes under maintenance as OK
Nodes under maintenance SHOULD not respond to object requests. Based on
this, storage node's Policer SHOULD consider such nodes as problem ones.
However, to prevent spam with the new replicas, on the contrary, Policer
should consider them normal.

Make `Policer.processNodes` to exclude elements if `IsMaintenance()`
with shortage decreasing.

Signed-off-by: Leonard Lyubich <ctulhurider@gmail.com>
2022-10-11 12:54:27 +03:00
..
check.go [#1680] replicator: Consider nodes under maintenance as OK 2022-10-11 12:54:27 +03:00
check_test.go [#1680] replicator: Work with netmap.NodeInfo in TaskResult 2022-10-11 12:54:27 +03:00
policer.go [#1507] node: Do not handle object concurrently by the policer 2022-06-15 20:43:32 +03:00
process.go [#1507] node: Do not handle object concurrently by the policer 2022-06-15 20:43:32 +03:00
queue.go [#1418] engine: Do not use pointers as parameters 2022-06-03 07:35:17 +03:00