habitat-sh / habitat

Modern applications with built-in automation
https://www.habitat.sh
Apache License 2.0
2.61k stars 315 forks source link

Election: include Suspect members in electorate #5894

Open baumanj opened 5 years ago

baumanj commented 5 years ago

Currently elections divide all known members into three categories based on health:

  1. Electorate (Alive)
  2. Total Population (Alive, Suspect, Confirmed)
  3. Ignored (Departed, unknown health)

For the election to complete, all the members of the electorate must vote and a majority of the total population must be in the electorate. However, in the presence of network congestion or other packet loss, it's not uncommon for a member to flap between Alive and Suspect states. This can cause a problem for elections and since a truly dead member will only be Suspect for a brief period before becoming irrevocably Confirmed, it's probably more reasonably to treat Suspect members as part of the electorate. In the event they are truly dead, their votes will not be recorded and once they transition to Confirmed the election procedure will adapt accordingly.

stale[bot] commented 4 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. We value your input and contribution. Please leave a comment if this issue still affects you.

stale[bot] commented 2 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. We value your input and contribution. Please leave a comment if this issue still affects you.

stale[bot] commented 1 year ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. We value your input and contribution. Please leave a comment if this issue still affects you.