]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
OSD: add a get_latest_osdmap command to the admin socket 3309/head
authorMykola Golub <mgolub@mirantis.com>
Wed, 7 Jan 2015 11:39:33 +0000 (13:39 +0200)
committerMykola Golub <mgolub@mirantis.com>
Sat, 10 Jan 2015 13:56:35 +0000 (15:56 +0200)
commit2bbab0592dd8e2b140ad321d81e9e1065ba52513
treef5ae90b6082d82cdfaef0f87e04f1bcf0ba3ad6f
parent585efcb7e45b0a81ff2f0a5b76fe8c38c848df45
OSD: add a get_latest_osdmap command to the admin socket

The command blocks and ensures we have the latest map from the
mon. This is useful in testing and to "unstick" clusters in some
odd situations.

Fixes: #9483, #9484 (maybe)
Signed-off-by: Mykola Golub <mgolub@mirantis.com>
src/osd/OSD.cc
src/osd/OSD.h