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

Cache sharding collection description on update_stage

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 6.3.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None
    • Fully Compatible
    • v6.2
    • Sharding EMEA 2023-02-06
    • 100

      update_stage currently fetches the sharding collectionDescription for every document it modifies. It would be enough to fetch it only once per restore-yield cycle, and reuse it for all updates done in that cycle.
      This is to fix the performance regression caused by SERVER-69435 (BF-26813) which made getting the CSS more expensive.

            Assignee:
            jordi.serra-torrens@mongodb.com Jordi Serra Torrens
            Reporter:
            jordi.serra-torrens@mongodb.com Jordi Serra Torrens
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: