Not attaching dbVersion when fetching the collation from dbPrimary during an aggregation

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Unresolved
    • Priority: Major - P3
    • None
    • Affects Version/s: 8.1.0-rc0, 8.0.0-rc16
    • Component/s: None
    • None
    • Query Execution
    • 1
    • None
    • 3
    • 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: