[SERVER-49915] Disable document validation for "<database>.system.resharding.*" namespaces Created: 25/Jul/20 Updated: 29/Oct/23 Resolved: 17/Aug/20 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Sharding |
| Affects Version/s: | None |
| Fix Version/s: | 4.7.0 |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | Max Hirschhorn | Assignee: | Haley Connelly |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | PM-234-M3, PM-234-T-data-clone, PM-234-T-oplog-apply | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Backwards Compatibility: | Fully Compatible |
| Sprint: | Sharding 2020-08-24 |
| Participants: |
| Description |
|
Add case to this part of CollectionImpl::checkValidation() to return Status::OK(). The donor shard primary is responsible for performing document validation. Consider adding a NamespaceString::isExemptedFromDocumentValidation() method to package up this special handler. The goal is for the recipient shard primary to behave like a replica set secondary when performing operations on the "<database>.system.resharding.*" namespace. Secondaries use DisableDocumentValidation to skip doing document validation during oplog application. |
| Comments |
| Comment by Githook User [ 17/Aug/20 ] |
|
Author: {'name': 'Haley Connelly', 'email': 'haley.connelly@mongodb.com', 'username': 'haleyConnelly'}Message: |