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

Cache sharding collection description on update_stage

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 6.3.0-rc0
    • None
    • None
    • None
    • Fully Compatible
    • v6.2
    • Sharding EMEA 2023-02-06
    • 100

    Description

      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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: