]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mon/OSDMonitor: add 'osd repeer <pgid>' command 22940/head
authorSage Weil <sage@redhat.com>
Sun, 8 Jul 2018 16:00:12 +0000 (11:00 -0500)
committerSage Weil <sage@redhat.com>
Mon, 9 Jul 2018 21:33:11 +0000 (16:33 -0500)
commit95b2281f9d7bb76ac6342998ff494d04421a7f95
treec79393d2ebdba9c930ceedfcb9e6d6ec3809fb25
parentd5468145b3354aab38f7f882cb42cbb46915ad24
mon/OSDMonitor: add 'osd repeer <pgid>' command

Selecting force peering on a single PG.  In reality this probably induces
*2* interval changes.

Note that in the case of a single OSD cluster we can't actually force a
repeer on a single PG because the pg_temp code is pretty robust about
filtering out redundant or meaningless changes, so we can't pg_temp our
way into a new interval if there are no other OSDs to switch to and the
code also prevents an empty pg_temp.

Signed-off-by: Sage Weil <sage@redhat.com>
qa/workunits/cephtool/test.sh
src/mon/MonCommands.h
src/mon/Monitor.cc
src/mon/OSDMonitor.cc