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

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: Major - P3
    • 7.2.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • Sharding EMEA 2023-10-02, Sharding EMEA 2023-10-16
    • 135
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      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.

              Assignee:
              Jordi Serra Torrens
              Reporter:
              Jordi Serra Torrens
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: