diff options
author | Allison Easton <allison.easton@mongodb.com> | 2023-02-08 14:29:43 +0000 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2023-02-08 17:20:15 +0000 |
commit | f82b5264e904a673abba83000824028744aab8b3 (patch) | |
tree | b6f62f43ab11e98f89a1a33de52a7e1eee738917 /src/mongo/s/commands/cluster_rename_collection_cmd.cpp | |
parent | f2a95d46b1d5ba667048a937fd73de43c391f569 (diff) | |
download | mongo-f82b5264e904a673abba83000824028744aab8b3.tar.gz |
SERVER-73433 Clear index cache as well as collection cache after ddl operations
Diffstat (limited to 'src/mongo/s/commands/cluster_rename_collection_cmd.cpp')
-rw-r--r-- | src/mongo/s/commands/cluster_rename_collection_cmd.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mongo/s/commands/cluster_rename_collection_cmd.cpp b/src/mongo/s/commands/cluster_rename_collection_cmd.cpp index e30db4ef030..11c3de553c7 100644 --- a/src/mongo/s/commands/cluster_rename_collection_cmd.cpp +++ b/src/mongo/s/commands/cluster_rename_collection_cmd.cpp @@ -130,6 +130,7 @@ public: toNss, renameCollResp.getCollectionVersion(), dbInfo->getPrimary()); catalogCache->invalidateCollectionEntry_LINEARIZABLE(fromNss); + catalogCache->invalidateIndexEntry_LINEARIZABLE(fromNss); } NamespaceString ns() const override { |