]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
osd: ignore OSDMap messages while we are initializing
authorSage Weil <sage@inktank.com>
Sun, 5 Jan 2014 06:40:43 +0000 (22:40 -0800)
committerSage Weil <sage@inktank.com>
Thu, 9 Jan 2014 01:09:12 +0000 (17:09 -0800)
commit69a99e6edd67aadaea77fb5ebcf46190dbfcdbc6
tree6456cd3a5118a4ea5f4daaa22a3bc8df2aa7e7e8
parent1545ddbd3b6dfac897d483bd58a4335d68b9b62a
osd: ignore OSDMap messages while we are initializing

The mon may occasionally send OSDMap messages to random OSDs, but is not
very descriminating in that we may not have authenticated yet.  Ignore any
messages if that is the case; we will reqeust whatever we need during the
BOOTING state.

Fixes: #7093
Signed-off-by: Sage Weil <sage@inktank.com>
(cherry picked from commit f68de9f352d53e431b1108774e4a23adb003fe3f)
src/osd/OSD.cc