diff options
Diffstat (limited to 'src/mongo/db/repl/oplog.cpp')
-rw-r--r-- | src/mongo/db/repl/oplog.cpp | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/mongo/db/repl/oplog.cpp b/src/mongo/db/repl/oplog.cpp index be4cc5863b4..03365f0db74 100644 --- a/src/mongo/db/repl/oplog.cpp +++ b/src/mongo/db/repl/oplog.cpp @@ -1599,8 +1599,12 @@ Status applyOperation_inlock(OperationContext* opCtx, // document. invariant(op.getObject2()); auto&& documentId = *op.getObject2(); - auto documentFound = Helpers::findById( - opCtx, collection->ns().ns(), documentId, changeStreamPreImage); + + // TODO SERVER-69541 pass in NamespaceString object instead + auto documentFound = Helpers::findById(opCtx, + collection->ns().toStringWithTenantId(), + documentId, + changeStreamPreImage); invariant(documentFound); } |