Aggregation may use the wrong collation in presence of data movements in a sharded cluster

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Unresolved
    • Priority: Major - P3
    • None
    • Affects Version/s: 8.1.0-rc0, 8.0.0-rc16
    • Component/s: None
    • None
    • Catalog and Routing
    • 1
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      When the aggregation machinery needs to fetch the collation for an untracked collection, a listCollections command is sent to the dbPrimary.
      The problem is that we are not attaching the dbVersion to this listCollections command, therefore, if there is any change on the dbPrimary location, we may target the wrong shard without noticing it.

      In case of targeting an old primary shard, we'll return the default collation.

            Assignee:
            Unassigned
            Reporter:
            Silvia Surroca
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: