diff options
author | Jamie Heppenstall <jamie.heppenstall@mongodb.com> | 2019-07-29 16:30:59 -0400 |
---|---|---|
committer | Jamie Heppenstall <jamie.heppenstall@mongodb.com> | 2019-07-31 15:54:46 -0400 |
commit | fcc8b201da71e5a2fda1ba2d540a85c612dae619 (patch) | |
tree | eb094f7a9dbd974acd9e36fcb95c7e6b0b4a3af1 /src/mongo/db/audit.h | |
parent | 3e2d338ebfbb17f26a1ab7dcbb447fbac29e549b (diff) | |
download | mongo-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.h | 5 |
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 |