[SERVER-74895] Expect command errors in validation when querying $collStats, and improve the error message Created: 15/Mar/23 Updated: 29/Oct/23 Resolved: 16/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.1 |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | Dianna Hohensee (Inactive) | Assignee: | Dianna Hohensee (Inactive) |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||
| 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 |
|
In production this is fine, validate will just log a message, though ideally the log doesn't talk about expecting a cursor to be present. In our testing environments, the command failure should be handled before escalating to an invariant
|
| Comments |
| Comment by Githook User [ 14/Apr/23 ] |
|
Author: {'name': 'Dianna Hohensee', 'email': 'dianna.hohensee@mongodb.com', 'username': 'DiannaHohensee'}Message: (cherry picked from commit 80caaf6c05cc0a9bb5f5e0458c671ba7ffd528b5) |
| Comment by Githook User [ 29/Mar/23 ] |
|
Author: {'name': 'Dianna Hohensee', 'email': 'dianna.hohensee@mongodb.com', 'username': 'DiannaHohensee'}Message: (cherry picked from commit 80caaf6c05cc0a9bb5f5e0458c671ba7ffd528b5) |
| Comment by Githook User [ 29/Mar/23 ] |
|
Author: {'name': 'Dianna Hohensee', 'email': 'dianna.hohensee@mongodb.com', 'username': 'DiannaHohensee'}Message: (cherry picked from commit 80caaf6c05cc0a9bb5f5e0458c671ba7ffd528b5) |
| Comment by Githook User [ 29/Mar/23 ] |
|
Author: {'name': 'Dianna Hohensee', 'email': 'dianna.hohensee@mongodb.com', 'username': 'DiannaHohensee'}Message: (cherry picked from commit 80caaf6c05cc0a9bb5f5e0458c671ba7ffd528b5) |
| Comment by Githook User [ 16/Mar/23 ] |
|
Author: {'name': 'Dianna Hohensee', 'email': 'dianna.hohensee@mongodb.com', 'username': 'DiannaHohensee'}Message: |