bulkWrite: Prevent any namespace specific code from being executed in the CRUD hotpath

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Won't Fix
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Replication
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Currently we have code like validateNamespaceForWrites that is called on every single operation. Although we do have a map to cache to results to make validateNamespaceForWrites faster, we shouldn't even need a map if we just validate all the namespace up front.

      There may be other such examples as well that we can remove from the operation hot path.

              Assignee:
              [DO NOT USE] Backlog - Replication Team
              Reporter:
              Vishnu Kaushik
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: