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

Refactor cluster_aggregate to use one collation

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Gone away
    • Icon: Major - P3 Major - P3
    • None
    • None
    • Querying
    • Query 2020-09-07

    Description

      In a code review, Charlie pointed out that in dispatchShardPipeline() we sometimes pass the collation from the request AggregationRequest when doing shard targeting, rather than passing the collation which is the default for the collection (which is computed here).

      We looked into it some more and could not find any incorrect behavior, but it might be worth doing a more thorough check, and refactor the code so that we only use one collation.

      Attachments

        Activity

          People

            nikita.lapkov@mongodb.com Nikita Lapkov (Inactive)
            ian.boros@mongodb.com Ian Boros
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: