Use explicit read concern in InitialSyncer and CollectionCloner

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major - P3
    • 5.3.0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • ALL
    • Security 2022-01-24
    • 15
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      When investigating BF-23599, I noticed we use ImplicitDefault read concern to get the top of the oplog and also to read the collection data in the logical initial syncer. Since the default read concern can be changed by the user, we probably want to use an explicit read concern ("local" or "available")

      This doesn't cause BF-23599 because the default read concern in that test was already "local".

            Assignee:
            Gabriel Marks
            Reporter:
            Matthew Russotto
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: