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 bdff818 + caa34c1 commit b61eadeCopy full SHA for b61eade
src/mds/CDentry.cc
@@ -702,7 +702,7 @@ bool CDentry::check_corruption(bool load)
702
{
703
auto&& snapclient = dir->mdcache->mds->snapclient;
704
auto next_snap = snapclient->get_last_seq()+1;
705
- if (first > last || (snapclient->is_server_ready() && first > next_snap)) {
+ if (first > last || (snapclient->is_synced() && first > next_snap)) {
706
if (load) {
707
dout(1) << "loaded already corrupt dentry: " << *this << dendl;
708
corrupt_first_loaded = true;
0 commit comments