]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mon: check mdsmap is resizeable before promoting standby-replay 40852/head
authorPatrick Donnelly <pdonnell@redhat.com>
Wed, 7 Apr 2021 19:27:05 +0000 (12:27 -0700)
committerPatrick Donnelly <pdonnell@redhat.com>
Wed, 21 Apr 2021 17:16:09 +0000 (10:16 -0700)
commitca8cf333e8dbe7e17b246d97bc55825ab94d7db5
tree64d2b2df90f9dd08e9b2a29c79d3ee5c1327b39f
parentb54cefd0fecafb0025bd88d257edd36312d2d04e
mon: check mdsmap is resizeable before promoting standby-replay

If any MDS is up:creating, some rank data structures may not exist yet.

Fixes: https://tracker.ceph.com/issues/50215
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
(cherry picked from commit e1748e7a8399f862accf35ba21a63a8e1ae8bd4f)
src/mon/MDSMonitor.cc