Remove unused validation code from CollectionImpl::insertDocumentForBulkLoader which is only used by CollectionBulkLoader(initial sync collection cloner).

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Won't Fix
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Replication
    • None
    • Replication
    • Repl 2019-07-15, Repl 2019-07-29, Repl 2019-08-12
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      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.

              Assignee:
              [DO NOT USE] Backlog - Replication Team
              Reporter:
              Allison Easton
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: