Unverified Commit 10aca744 authored by Georg Koppen's avatar Georg Koppen
Browse files

Ignore MiddleOnly flag for now

Not all of the authorities are voting on the MiddleOnly flag which is
causing noise on the consensus-health mailing list. Moreover, it's not
clear at this point that reporting differences in MiddleOnly assignment
is useful.

Closes: #40035.
parent 9d57040e
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -678,8 +678,9 @@ def has_similar_flag_counts(latest_consensus, consensuses, votes):
      #   * BadExit and StaleDesc is only voted on by a few authorities.
      #   * Running isn't voted on when an authority first starts up.
      #   * moria1 likes to experiment with the HSDir flag.
      #   * MiddleOnly is not voted on by all of the authorities.

      if flag in ('BadExit', 'Running', 'HSDir', 'StaleDesc'):
      if flag in ('BadExit', 'Running', 'HSDir', 'StaleDesc', 'MiddleOnly'):
        continue

      vote_count = authority_flag_count.get(flag, 0)