[SERVER-68129] Add the field `control.count` to the schema validation for bucket collections Created: 19/Jul/22 Updated: 29/Oct/23 Resolved: 17/Aug/22 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 6.1.0-rc0, 6.0.9 |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | Yuhong Zhang | Assignee: | Yuhong Zhang |
| 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.0
|
||||||||||||
| Sprint: | Execution Team 2022-08-22 | ||||||||||||
| Participants: | |||||||||||||
| Linked BF Score: | 23 | ||||||||||||
| Description |
|
The current validator for a bucket's control field only checks
We might also want to consider adding additionalProperties: false to disallow extra fields in control. |
| Comments |
| Comment by Githook User [ 26/Jul/23 ] |
|
Author: {'name': 'Yuhong Zhang', 'email': 'yuhong.zhang@mongodb.com', 'username': 'YuhongZhang98'}Message: (cherry picked from commit e6da72a7ac2b1a8650de634fe06cc9f7b55db24e) |
| Comment by Githook User [ 16/Aug/22 ] |
|
Author: {'name': 'Yuhong Zhang', 'email': 'yuhong.zhang@mongodb.com', 'username': 'YuhongZhang98'}Message: |