]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
mon/OSDMonitor: do not start mapping job on empty map
authorSage Weil <sage@redhat.com>
Sat, 24 Jun 2017 03:54:09 +0000 (23:54 -0400)
committerSage Weil <sage@redhat.com>
Wed, 28 Jun 2017 14:52:49 +0000 (10:52 -0400)
commit102e13d2a0c70c07f0b4bbafd311ac983fa81e2b
treea982faf2412f15bd583243fc67e91c90c22287fa
parentfc486c6fbd1b78d228a3abda695763d95fd4ff9f
mon/OSDMonitor: do not start mapping job on empty map

The Mapper doesn't do the completion.  Just avoid it in the caller instead
of adding a Finisher or something similarly annoying for the completion.

Signed-off-by: Sage Weil <sage@redhat.com>
src/mon/OSDMonitor.cc
src/osd/OSDMapMapping.cc