[SERVER-74632] Log $collStats output when a collection fails validation Created: 03/Mar/23 Updated: 29/Oct/23 Resolved: 07/Mar/23 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 7.0.0-rc0, 4.4.20, 5.0.16, 6.0.6, 6.3.0-rc2 |
| Type: | Improvement | Priority: | Major - P3 |
| Reporter: | Dan Larkin-York | Assignee: | Dianna Hohensee (Inactive) |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | validation-logging | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||||||
| Assigned Teams: |
Storage Execution
|
||||||||||||||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||||||||||||||
| Backport Requested: |
v6.3, v6.0, v5.0, v4.4
|
||||||||||||||||||||
| Sprint: | Execution Team 2023-03-20 | ||||||||||||||||||||
| Participants: | |||||||||||||||||||||
| Linked BF Score: | 18 | ||||||||||||||||||||
| Description |
|
We should log the collection stats when a collection fails validation. These stats include a lot of useful diagnostic information that might prove useful. Note, the collStats command has been deprecated, so we should use the $collStats aggregation stage instead. |
| Comments |
| Comment by Githook User [ 17/Mar/23 ] |
|
Author: {'name': 'Dianna Hohensee', 'email': 'dianna.hohensee@mongodb.com', 'username': 'DiannaHohensee'}Message: (cherry picked from commit 9b345f40ac74ea03eee77100e2244b9dc4bd6ccb) |
| Comment by Githook User [ 16/Mar/23 ] |
|
Author: {'name': 'Dianna Hohensee', 'email': 'dianna.hohensee@mongodb.com', 'username': 'DiannaHohensee'}Message: (cherry picked from commit 9b345f40ac74ea03eee77100e2244b9dc4bd6ccb) |
| Comment by Githook User [ 16/Mar/23 ] |
|
Author: {'name': 'Dianna Hohensee', 'email': 'dianna.hohensee@mongodb.com', 'username': 'DiannaHohensee'}Message: (cherry picked from commit 9b345f40ac74ea03eee77100e2244b9dc4bd6ccb) |
| Comment by Githook User [ 16/Mar/23 ] |
|
Author: {'name': 'Dianna Hohensee', 'email': 'dianna.hohensee@mongodb.com', 'username': 'DiannaHohensee'}Message: (cherry picked from commit 9b345f40ac74ea03eee77100e2244b9dc4bd6ccb) |
| Comment by Githook User [ 07/Mar/23 ] |
|
Author: {'name': 'Dianna Hohensee', 'email': 'dianna.hohensee@mongodb.com', 'username': 'DiannaHohensee'}Message: |