]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
mon/MDSMonitor: check fscid exists for legacy case
authorPatrick Donnelly <pdonnell@redhat.com>
Wed, 16 Jun 2021 16:30:41 +0000 (09:30 -0700)
committerPatrick Donnelly <pdonnell@redhat.com>
Wed, 16 Jun 2021 18:57:41 +0000 (11:57 -0700)
commit75ccd9d49c78bacf73b9e61d99a75fb455a8b85f
treea2e943853a9dba02e01aefd7b1ce8389512239ef
parent08661e6f57cf13585ad0afe41ff8b70952276378
mon/MDSMonitor: check fscid exists for legacy case

If a client does not have permission to see the legacy fs, the monitor
will throw an exception when looking up the mdsmap later in the code.
We need to check existence for both code paths.

Fixes: https://tracker.ceph.com/issues/51077
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
src/mon/MDSMonitor.cc