Skip to content

Commit

Permalink
Merge pull request #21328 from tchaikov/wip-11332-luminous
Browse files Browse the repository at this point in the history
luminous: mon: update PaxosService::cached_first_committed in PaxosService::may…

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
  • Loading branch information
yuriw committed Apr 16, 2018
2 parents c2c63c6 + 51198c7 commit 2f700ad
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/mon/PaxosService.cc
Expand Up @@ -399,6 +399,7 @@ void PaxosService::maybe_trim()
MonitorDBStore::TransactionRef t = paxos->get_pending_transaction();
trim(t, get_first_committed(), trim_to);
put_first_committed(t, trim_to);
cached_first_committed = trim_to;

// let the service add any extra stuff
encode_trim_extra(t, trim_to);
Expand Down

0 comments on commit 2f700ad

Please sign in to comment.