Cache sharding collection description on update_stage

XMLWordPrintableJSON

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

      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
            Reporter:
            Jordi Serra Torrens
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: