]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
osd: fix map epoch boot condition
authorSage Weil <sage@inktank.com>
Wed, 25 Jul 2012 17:58:28 +0000 (10:58 -0700)
committerSage Weil <sage@inktank.com>
Wed, 25 Jul 2012 17:58:28 +0000 (10:58 -0700)
commit5979351ef3d3d03bced9286f79cbc22524c4a8de
treedeacd0dcc97f1c72aa7fcf172f862a770a64fa0d
parent8c7186d02627f8255273009269d50955172efb52
osd: fix map epoch boot condition

We only want to join the cluster if we can catch up to the latest
osdmap with a small number of maps, in this case a single map message.

Backport: argonaut
Signed-off-by: Sage Weil <sage@inktank.com>
Reviewed-by: Yehuda Sadeh <yehuda@inktank.com>
src/osd/OSD.cc