In server selection, tags are deleted from the ReadPreference if minOpTime is specified and all servers are stale

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Duplicate
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Sharding NYC
    • ALL
    • 2
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      If a minOpTime is specified on the read preference and no server fits that criteria then the tags will be removed from the targeting request: https://github.com/mongodb/mongo/blob/6f7dae919422dcd7f4892c10ff20cdc721ad00e6/src/mongo/client/sdam/server_selector.cpp#L76

      minOpTime is optionally enforced, but the tags should be preserved to be possibly used in the switch statement that follows.

              Assignee:
              Kruti Shah
              Reporter:
              Lamont Nelson
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: