]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mon: only send messages to current OSDs
authorSage Weil <sage@inktank.com>
Sun, 5 Jan 2014 06:43:26 +0000 (22:43 -0800)
committerSage Weil <sage@inktank.com>
Thu, 9 Jan 2014 01:09:08 +0000 (17:09 -0800)
commit1545ddbd3b6dfac897d483bd58a4335d68b9b62a
tree02dd586abf02892584ccaab0b67072d22979eaeb
parent4d88dd10bfab4e5fb45632245be5f79eeba73a30
mon: only send messages to current OSDs

When choosing a random OSD to send a message to, verify not only that
the OSD id is up but that the session is for the same instance of that OSD
by checking that the address matches.

Fixes: #7093
Backport: emperor, dumpling
Signed-off-by: Sage Weil <sage@inktank.com>
(cherry picked from commit 98ed9ac5fed6eddf68f163086df72faabd9edcde)
src/mon/Session.h