Skip to content

Policer "clean" metrics flag #3795

@roman-khimov

Description

@roman-khimov

Is your feature request related to a problem? Please describe.

Policer can signal if it has done any real changes in the previous cycle which can be helpful to detect if the cluster is in the consistent state.

Describe the solution you'd like

Add a boolean policer consistency metric, start with false then if policer makes a full cycle without doing any relocations (not counting local deletions) we flag it as true (meaning, consistent). Then once it does any relocation subsequently it sets the flag to false till a full clean cycle is made again.

Describe alternatives you've considered

Theoretically this can be per-container and/or tied to contract-level state, but let's start simple for now.

Additional context

Related to #3762 and #3765.

Metadata

Metadata

Assignees

Labels

I3Minimal impactS4RoutineU1Critically important to resolve quicklyfeatureCompletely new functionalityneofs-storageStorage node application issues

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions