summaryrefslogtreecommitdiff
path: root/src/mongo/db/audit.h
diff options
context:
space:
mode:
authorJamie Heppenstall <jamie.heppenstall@mongodb.com>2019-07-29 16:30:59 -0400
committerJamie Heppenstall <jamie.heppenstall@mongodb.com>2019-07-31 15:54:46 -0400
commitfcc8b201da71e5a2fda1ba2d540a85c612dae619 (patch)
treeeb094f7a9dbd974acd9e36fcb95c7e6b0b4a3af1 /src/mongo/db/audit.h
parent3e2d338ebfbb17f26a1ab7dcbb447fbac29e549b (diff)
downloadmongo-fcc8b201da71e5a2fda1ba2d540a85c612dae619.tar.gz
SERVER-42397 Log refineCollectionShardKey in the audit log
Diffstat (limited to 'src/mongo/db/audit.h')
-rw-r--r--src/mongo/db/audit.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/mongo/db/audit.h b/src/mongo/db/audit.h
index d73a9101367..048d5d882d3 100644
--- a/src/mongo/db/audit.h
+++ b/src/mongo/db/audit.h
@@ -315,5 +315,10 @@ void logRemoveShard(Client* client, StringData shardname);
*/
void logShardCollection(Client* client, StringData ns, const BSONObj& keyPattern, bool unique);
+/**
+ * Logs the result of a refineCollectionShardKey event.
+ */
+void logRefineCollectionShardKey(Client* client, StringData ns, const BSONObj& keyPattern);
+
} // namespace audit
} // namespace mongo