summaryrefslogtreecommitdiff
path: root/src/mongo/db/op_observer/op_observer_impl.cpp
diff options
context:
space:
mode:
authorMarcos José Grillo Ramirez <marcos.grillo@mongodb.com>2023-03-03 18:00:25 +0000
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2023-03-04 00:24:45 +0000
commitdce4b62e25f4d62b2990e4faff54a6702eeb24c0 (patch)
tree71fd9f1d095aa3c15bfd6cbcca86aff872242a74 /src/mongo/db/op_observer/op_observer_impl.cpp
parent23a26b5dad45d12187b61a1e5e49c60c5be26632 (diff)
downloadmongo-dce4b62e25f4d62b2990e4faff54a6702eeb24c0.tar.gz
SERVER-70789 Rename sharding global indexes utilities to reflect globalness of the API
Diffstat (limited to 'src/mongo/db/op_observer/op_observer_impl.cpp')
-rw-r--r--src/mongo/db/op_observer/op_observer_impl.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/mongo/db/op_observer/op_observer_impl.cpp b/src/mongo/db/op_observer/op_observer_impl.cpp
index 4437bf827c7..94f6db8fd13 100644
--- a/src/mongo/db/op_observer/op_observer_impl.cpp
+++ b/src/mongo/db/op_observer/op_observer_impl.cpp
@@ -2154,12 +2154,12 @@ void OpObserverImpl::onTransactionAbort(OperationContext* opCtx,
opCtx, &oplogEntry, DurableTxnStateEnum::kAborted, _oplogWriter.get());
}
-void OpObserverImpl::onModifyShardedCollectionGlobalIndexCatalogEntry(OperationContext* opCtx,
- const NamespaceString& nss,
- const UUID& uuid,
- BSONObj opDoc) {
+void OpObserverImpl::onModifyCollectionShardingIndexCatalog(OperationContext* opCtx,
+ const NamespaceString& nss,
+ const UUID& uuid,
+ BSONObj opDoc) {
repl::MutableOplogEntry oplogEntry;
- auto obj = BSON("modifyShardedCollectionGlobalIndexCatalog" << nss.toString()).addFields(opDoc);
+ auto obj = BSON(kShardingIndexCatalogOplogEntryName << nss.toString()).addFields(opDoc);
oplogEntry.setOpType(repl::OpTypeEnum::kCommand);
oplogEntry.setNss(nss);
oplogEntry.setUuid(uuid);