Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-83515

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

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Won't Fix
    • Icon: Major - P3 Major - P3
    • None
    • None
    • None
    • Replication

    Description

      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.

      Attachments

        Activity

          People

            backlog-server-repl Backlog - Replication Team
            vishnu.kaushik@mongodb.com Vishnu Kaushik
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: