]> git.apps.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:08:46 +0000 (17:08 -0800)
commit741c64ecd69a0f289180d061b6263e659d8717c8
tree24c38c1ea1d8eb16ad1dd782642519cea77f4d68
parent4fae5f842e9de73f95958df12321505e0e1fcb29
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