Permalink
Browse files

Fixed:Acceptor log error mistake

  • Loading branch information...
1 parent 4b00d46 commit d2345d3a0d008dcc6b5006896ff511ff35934e40 @seinocluster2 seinocluster2 committed Jun 28, 2012
Showing with 6 additions and 6 deletions.
  1. +6 −6 src/paxos_lease.c
View
@@ -720,9 +720,9 @@ static int start_lease_learned(pi_handle_t handle, void *extra, int round)
return -1;
if (round != pl->acceptor.round) {
- log_error("current round is not the proposer round, "
- "current round: %d, proposer round: %d",
- round, pl->proposer.round);
+ log_error("current round is not the acceptor round, "
+ "current round: %d, acceptor round: %d",
+ round, pl->acceptor.round);
return -1;
}
@@ -759,9 +759,9 @@ static int stop_lease_learned(pi_handle_t handle,
return -1;
if (round != pl->acceptor.round) {
- log_error("current round is not the proposer round, "
- "current round: %d, proposer round: %d",
- round, pl->proposer.round);
+ log_error("current round is not the acceptor round, "
+ "current round: %d, acceptor round: %d",
+ round, pl->acceptor.round);
return -1;
}

0 comments on commit d2345d3

Please sign in to comment.