HomeClusterLabs Projects
Diffusion Booth cac04aed27a2

Medium: ticket: increment lease time only when majority held

Description

Medium: ticket: increment lease time only when majority held

We need to send a new lease time to others with the broadcast,
but cannot update our local copy until we reached majority.
Otherwise, we'd lose the ticket too late.

The ticket now gets updated with the new RPC which is broadcasted
after the majority was reached. Otherwise, on losing majority
which may have happened in the meantime, some followers may have
different (wrong) information about the ticket expiration time.

Details

Provenance
Dejan Muhamedagic <dejan@suse.de>Authored on Apr 18 2014, 1:11 PM
Parents
rBdc4cd39babbe: Dev: function rename
Branches
Unknown
Tags
Unknown

Event Timeline