]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mon/OSDMonitor: fix osd epoch in boot check 1656/head
authorSage Weil <sage@inktank.com>
Fri, 11 Apr 2014 21:32:21 +0000 (14:32 -0700)
committerSage Weil <sage@inktank.com>
Fri, 11 Apr 2014 21:32:21 +0000 (14:32 -0700)
commit39b9d9d8c4eb8803c9521166ace745e71089372d
tree4a79aa5fbf820ad9f6a3670845b996dd0cf15d66
parent052519ed4ae1accb79a436b416d9a2b755fe091e
mon/OSDMonitor: fix osd epoch in boot check

This was introduced in 4c99e978a77a242e540cb8ccacb967d24322416c and was
incorrect; boot_epoch is the previous epoch the osd booted in, not the
latest map epoch that the OSD currently has.

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