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

Don't use temp:true collections for $out on sharded deployments

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 7.2.0-rc0
    • None
    • None
    • None
    • Fully Compatible
    • Sharding EMEA 2023-10-02, Sharding EMEA 2023-10-16
    • 135

    Description

      The 'temp' property of collections is a replica-set level concept – it is not sharding-aware. As we prepare to support $out to collections tracked on the sharding catalog (unsplittable collections in the contest of PM-3229, and sharded collections later on PM-1931), $out can no longer use on 'temp: true' on sharded clusters. Instead, on shard servers, $out will write down the temporary collections it uses to a collection, and these will be garbage-collected on step-up.

      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:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: