Opened 7 years ago

Closed 7 years ago

#8797 closed enhancement (worksforme)

Consensus-health checker should warn if auths assign flags to unusually few or many relays

Reported by: karsten Owned by: atagar
Priority: Medium Milestone:
Component: Archived/DocTor Version:
Severity: Keywords:
Cc: atagar Actual Points:
Parent ID: Points:
Reviewer: Sponsor:


We should notice cases like #8683 much earlier by adding an alert to the consensus-health checker. It could simply compare the number of flags in a vote and in the consensus. If there are more than, say, 250 relays that have a certain flag only in a vote or only in the consensus, the consensus-health checker should emit a warning. See also the bottom of the consensus-health output page for recent numbers. Related to #8164.

Child Tickets

Attachments (1)

flag-assignments-2013-04-29.png (39.9 KB) - added by karsten 7 years ago.

Download all attachments as: .zip

Change History (7)

Changed 7 years ago by karsten

comment:1 Changed 7 years ago by karsten

The attached graph shows the number of flags that are either only in a vote or only in the consensus (and not in the authorities' vote). The dashed line is the threshold when we could start warning.

comment:2 Changed 7 years ago by karsten

Cc: atagar added

atagar, is this something you want to do in your Python DocTor? If not, I'd close this ticket, because I'm not working on the Java DocTor anymore. Thanks!

comment:3 Changed 7 years ago by atagar

Is this something actionable? Like #8164 this seems like an oddity rather than a problem. If we have well defined constraints and a specific action authority operators should take in response then sure.

comment:4 Changed 7 years ago by karsten

Component: Metrics UtilitiesDocTor
Owner: set to atagar

comment:5 Changed 7 years ago by karsten

Agreed, this requires more analysis first. Feel free to close, or change priority to minor or trivial, I'd say.

comment:6 Changed 7 years ago by atagar

Resolution: worksforme
Status: newclosed

Gonna resolve for now. Feel free to reopen if anyone would like to discuss this more.

Note: See TracTickets for help on using tickets.