[SERVER-78830] Add count of CSFLE and QE Collections to serverStatus Created: 10/Jul/23  Updated: 29/Oct/23  Resolved: 27/Jul/23

Status: Closed
Project: Core Server
Component/s: Queryable Encryption
Affects Version/s: None
Fix Version/s: 7.1.0-rc0, 7.0.1

Type: Task Priority: Major - P3
Reporter: Mark Benvenuto Assignee: Mark Benvenuto
Resolution: Fixed Votes: 0
Labels: range-ga
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Initiative
Related
Backwards Compatibility: Fully Compatible
Backport Requested:
v7.0
Sprint: Security 2023-07-24, Security 2023-08-07
Participants:

 Description   

Add new metrics to serverStatus
ss.catalogStats.queryableEncryption - count of collections with encryptedFields.
ss.catalogStats.csfle - count of collections with encrypted validator

Extend CollectionCatalog::_registerCollection, CollectionCatalog::deregisterCollection, and Stats to count collections



 Comments   
Comment by Githook User [ 17/Aug/23 ]

Author:

{'name': 'Mark Benvenuto', 'email': 'mark.benvenuto@mongodb.com', 'username': 'markbenvenuto'}

Message: SERVER-78830 Fix test for lack of modules
Branch: v7.0
https://github.com/mongodb/mongo/commit/23c3ff555162e44386dc62df179047c0c241317d

Comment by Githook User [ 16/Aug/23 ]

Author:

{'name': 'Mark Benvenuto', 'email': 'mark.benvenuto@mongodb.com', 'username': 'markbenvenuto'}

Message: SERVER-78830 Add count of CSFLE and QE Collections to serverStatus

(cherry picked from commit 4b1cde327c7a71f127625998f0b2f5cd9c17f1ad)
Branch: v7.0
https://github.com/mongodb/mongo/commit/bda3d9e44af799a7405ec90c71d9d564694843bc

Comment by Githook User [ 25/Jul/23 ]

Author:

{'name': 'Mark Benvenuto', 'email': 'mark.benvenuto@mongodb.com', 'username': 'markbenvenuto'}

Message: SERVER-78830 Add count of CSFLE and QE Collections to serverStatus
Branch: master
https://github.com/mongodb/mongo/commit/4b1cde327c7a71f127625998f0b2f5cd9c17f1ad

Generated at Thu Feb 08 06:39:23 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.