« Previous | Next » 

Revision ec0292f1

IDec0292f162cfc9718308432fdb92e51dbccc3ea4
Parent b18dd019
Child a5961235

Added by Iustin Pop almost 14 years ago

Add function to compute the master candidates

Since some nodes can be offline, we can't just take the length of the
node list as the maximum possible number of master candidates.

The patch adds an utility function to correctly compute this value and
replaces hardcoded computations with the use of this function. It then
adds utility functions to automate the maintenance of the node lists.

Reviewed-by: ultrotter

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences