The check to reject a snapshot read on a sharded collection via the "distinct" command should happen on mongod not mongos

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major - P3
    • 6.0.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • QE 2021-12-13, QE 2021-12-27, QE 2022-01-10, QE 2022-03-07, QE 2022-03-21, QE 2022-01-24
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      This check can incorrectly reject a distinct command on an unsharded collection if there was a sharded collection that was dropped and recreated as unsharded.

      The check should instead be done on the shard using the shard's filtering metadata.

            Assignee:
            Kyle Suarez (Inactive)
            Reporter:
            Esha Maharishi (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: