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

Gate array sorting semantic changes behind featureCompatibilityVersion

    • Type: Icon: Bug Bug
    • Resolution: Won't Fix
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Labels:
      None
    • Query
    • ALL

      In a mixed version sharded cluster, multiple shards can participate in the merge, each using different sorting semantics. Consider an aggregation that targets two shards, one is version 3.6 and one is version 3.4, then is merged by the 3.6 node. The results from the 3.4 node will come back in a different order than they would on the 3.6 node, but the 3.6 merging node will assume they are both sorted the same way, incorrectly using a 'merge presorted streams' algorithm, for streams that aren't actually sorted.

            Assignee:
            backlog-server-query Backlog - Query Team (Inactive)
            Reporter:
            charlie.swanson@mongodb.com Charlie Swanson
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: