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

replace MapReduceFinishCommand's use of ParallelSortClusteredCursor with establishCursors()/ARM

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Won't Fix
    • Icon: Major - P3 Major - P3
    • None
    • 3.5.5
    • Sharding
    • None
    • Sharding

    Description

      MapReduceFinishCommand both establishes cursors and merges them using ParallelSortClusteredCursor.

      We should be able to replace the establishing cursors part with the new establishCursors() function, but I'm not sure what the best way to replace the merging functionality is.

      My first thought is naturally to use the ARM, but currently the ARM is embedded in ClusterClientCursor, and ClusterClientCursor doesn't exist on shards.

      david.storch, is there another way we might be able to merge the cursor streams on a shard (DocumentSourceMerge?)? Does the Query team still have plans to make the ARM available on shards?

      Attachments

        Activity

          People

            backlog-server-sharding [DO NOT USE] Backlog - Sharding Team
            esha.maharishi@mongodb.com Esha Maharishi (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: