Initially this was omitted due to read-only mode.
Fixes: https://tracker.ceph.com/issues/63858
Signed-off-by: Igor Fedotov <igor.fedotov@croit.io>
<< std::endl;
}
}
+ _close_db_and_around();
+ // mount in read/write to sync expansion changes
+ r = _mount();
+ ceph_assert(r == 0);
if (fm && fm->is_null_manager()) {
// we grow the allocation range, must reflect it in the allocation file
alloc->init_add_free(size0, size - size0);
need_to_destage_allocation_file = true;
}
- _close_db_and_around();
-
- // mount in read/write to sync expansion changes
- r = _mount();
- ceph_assert(r == 0);
umount();
} else {
_close_db_and_around();