Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pacific: mds: clear MDCache::rejoin_*_q queues before recovering file inodes #46682

Merged
merged 1 commit into from Jun 28, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
5 changes: 5 additions & 0 deletions src/mds/MDCache.cc
Expand Up @@ -6315,6 +6315,11 @@ void MDCache::identify_files_to_recover()
{
dout(10) << "identify_files_to_recover" << dendl;
int count = 0;

// Clear the recover and check queues in case the monitor sends rejoin mdsmap twice.
rejoin_recover_q.clear();
rejoin_check_q.clear();

for (auto &p : inode_map) {
CInode *in = p.second;
if (!in->is_auth())
Expand Down