[SERVER-41932] Remove unused validation code from CollectionImpl::insertDocumentForBulkLoader which is only used by CollectionBulkLoader(initial sync collection cloner). Created: 26/Jun/19  Updated: 06/Dec/22  Resolved: 25/Jul/19

Status: Closed
Project: Core Server
Component/s: Replication
Affects Version/s: None
Fix Version/s: None

Type: Task Priority: Major - P3
Reporter: Allison Easton Assignee: Backlog - Replication Team
Resolution: Won't Fix Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
related to SERVER-41530 For uncapped collections, CollectionB... Closed
Assigned Teams:
Replication
Sprint: Repl 2019-07-15, Repl 2019-07-29, Repl 2019-08-12
Participants:

 Description   

During initial sync collection cloning, a collection is created which disables document validation. So, even if there is an active validator, collection validation will be blocked always during initial sync. Therefore calling checkValidation during initial sync will always return Status::OK(). This code should be removed and replaced with an invariant that there is no validator or that document validation is disabled.


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