We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 7ce4252 + adb448b commit 9b3bfb6Copy full SHA for 9b3bfb6
src/mds/MDSRank.cc
@@ -2049,8 +2049,9 @@ void MDSRank::rejoin_done()
2049
2050
// funny case: is our cache empty? no subtrees?
2051
if (!mdcache->is_subtrees()) {
2052
- if (whoami == 0) {
2053
- // The root should always have a subtree!
+ if (whoami == 0 && mdlog->get_num_events() > 1) {
+ // The root should always have a subtree except when
2054
+ // the mdlog contains only the ELid event
2055
clog->error() << "No subtrees found for root MDS rank!";
2056
damaged();
2057
ceph_assert(mdcache->is_subtrees());
0 commit comments