]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mds/rejoin: Don't fetch the dir is already complete during rejoin
authorKotresh HR <khiremat@redhat.com>
Fri, 21 Feb 2025 13:48:57 +0000 (19:18 +0530)
committerKotresh HR <khiremat@redhat.com>
Tue, 4 Mar 2025 06:20:47 +0000 (11:50 +0530)
commita069e7a6ac84424a92d059e1b1f6edb4efb36265
tree5c4e5f1f6c396c9b67b210112e1d417156031cd7
parent2ec2c1d63b994f57cf0b50744ba074026ddc39fd
mds/rejoin: Don't fetch the dir is already complete during rejoin

In MDCache::open_undef_inodes_dirfrags, it can so happen that
the same dir is added twice to fetch queue causing it to fetch
twice and hit the assert that dir is not complete for the
second fetch. So don't fetch if the dir is complete.

Fixes: https://tracker.ceph.com/issues/54205
Signed-off-by: Kotresh HR <khiremat@redhat.com>
src/mds/MDCache.cc