decide after reaching consensus on a value what the next appropriate state is depending on who current master is and the value upon which consensus was reached