summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenety Goh <benety@mongodb.com>2023-05-05 18:57:20 -0400
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2023-05-05 23:58:11 +0000
commit69ef061bca8f57eec617c8e607a629bc3a0c8aff (patch)
tree7c59fe50d08eb289ccd841ca72d3c40996d7d221
parent58694ac0c13585644fa1a9d97a3b8fdd94bd52ee (diff)
downloadmongo-69ef061bca8f57eec617c8e607a629bc3a0c8aff.tar.gz
SERVER-76563 remove unimplemented AuthOpObserver::getDocumentKey()
Implementation was removed in commit a3316c51e513e941d0765f9e4383c9e79ebb78a5.
-rw-r--r--src/mongo/db/auth/auth_op_observer.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/mongo/db/auth/auth_op_observer.h b/src/mongo/db/auth/auth_op_observer.h
index 2196ec38733..6887a9ba86e 100644
--- a/src/mongo/db/auth/auth_op_observer.h
+++ b/src/mongo/db/auth/auth_op_observer.h
@@ -251,11 +251,6 @@ public:
void onMajorityCommitPointUpdate(ServiceContext* service,
const repl::OpTime& newCommitPoint) final {}
- // Contains the fields of the document that are in the collection's shard key, and "_id".
- static BSONObj getDocumentKey(OperationContext* opCtx,
- NamespaceString const& nss,
- BSONObj const& doc);
-
private:
void _onReplicationRollback(OperationContext* opCtx, const RollbackObserverInfo& rbInfo);
};