[SERVER-75745] Only log record and index metadata associated with missing or extra index keys Created: 05/Apr/23  Updated: 29/Oct/23  Resolved: 07/Apr/23

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 7.0.0-rc0, 6.0.6, 5.0.17, 6.3.1

Type: Improvement Priority: Major - P3
Reporter: Dan Larkin-York Assignee: Dan Larkin-York
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Related
Backwards Compatibility: Fully Compatible
Backport Requested:
v6.3, v6.0, v5.0
Sprint: Execution Team 2023-04-17
Participants:

 Description   

The metadata logging added by SERVER-61203 and SERVER-66012 turns out to be very verbose for large collections. We can restrict the logging further by restructuring the code to log the relevant metadata after the set of missing and extra keys has been fully determined, rather than as we are doing the scan.



 Comments   
Comment by Githook User [ 12/Apr/23 ]

Author:

{'name': 'Dan Larkin-York', 'email': 'dan.larkin-york@mongodb.com', 'username': 'dhly-etc'}

Message: SERVER-75745 Only log record and index metadata associated with missing or extra index keys

(cherry picked from commit 1c424c1a4d68fe02cb6ac0327bccbace66e05d62)
Branch: v6.3
https://github.com/mongodb/mongo/commit/82b58458df198c6f5d95e00323f95b69c0ff719d

Comment by Githook User [ 12/Apr/23 ]

Author:

{'name': 'Dan Larkin-York', 'email': 'dan.larkin-york@mongodb.com', 'username': 'dhly-etc'}

Message: SERVER-75745 Only log record and index metadata associated with missing or extra index keys

(cherry picked from commit 1c424c1a4d68fe02cb6ac0327bccbace66e05d62)
Branch: v5.0
https://github.com/mongodb/mongo/commit/27e8e3a50200098513fa25e05b6585170d1fa124

Comment by Githook User [ 11/Apr/23 ]

Author:

{'name': 'Dan Larkin-York', 'email': 'dan.larkin-york@mongodb.com', 'username': 'dhly-etc'}

Message: SERVER-75745 Only log record and index metadata associated with missing or extra index keys

(cherry picked from commit 1c424c1a4d68fe02cb6ac0327bccbace66e05d62)
Branch: v6.0
https://github.com/mongodb/mongo/commit/a0501d71bda014e31c3907f9bd5dd3b032d4b13a

Comment by Githook User [ 07/Apr/23 ]

Author:

{'name': 'Dan Larkin-York', 'email': 'dan.larkin-york@mongodb.com', 'username': 'dhly-etc'}

Message: SERVER-75745 Only log record and index metadata associated with missing or extra index keys
Branch: master
https://github.com/mongodb/mongo/commit/1c424c1a4d68fe02cb6ac0327bccbace66e05d62

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