Skip to content
Browse files

Fixed:Change initial round

  • Loading branch information...
1 parent d2345d3 commit c4098d581ba660716e310825adea1e14fbf7d3e8 @seinocluster2 seinocluster2 committed Jul 2, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/paxos_lease.c
View
4 src/paxos_lease.c
@@ -306,10 +306,10 @@ static int lease_catchup(pi_handle_t handle)
pl->acceptor.timer1 = add_timer(pl->expires - current_time(),
(unsigned long)pl,
lease_expires);
-
+ pl->proposer.round = pl->acceptor.round;
plr.owner = pl->owner;
plr.expires = pl->expires;
- plr.ballot = pl->proposer.round;
+ plr.ballot = pl->acceptor.round;
strcpy(plr.name, pl->name);
p_l_op->notify((pl_handle_t)pl, &plr);

0 comments on commit c4098d5

Please sign in to comment.
Something went wrong with that request. Please try again.