]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mon: include any new paxos commits in each sync CHUNK message
authorSage Weil <sage@inktank.com>
Fri, 5 Jul 2013 00:09:07 +0000 (17:09 -0700)
committerSage Weil <sage@inktank.com>
Fri, 5 Jul 2013 00:09:07 +0000 (17:09 -0700)
commit1156721f22f5f337241eef3d0276ca74fe6352d1
tree5d077465be72ef2e49e3c72ed642d457ec2c54a7
parent40672219a081f0dc2dd536977290ef05cfc9f097
mon: include any new paxos commits in each sync CHUNK message

We already take note of the paxos version when we begin the sync.  As
sync progresses and there are new paxos commits/txns, include those
and update last_committed, so that when sync completes we will have
a full view of everything that happened during sync.

Note that this does not introduce any compatibility change.  This change
*only* affects the provider.  The key difference is that at the end
of the sync, the provide will set version to the latest version, and
not the version from the start of the sync (as was done previously).

Signed-off-by: Sage Weil <sage@inktank.com>
src/mon/Monitor.cc