Use "nearest" read preference for ReshardingCollectionCloner's distributed aggregation

XMLWordPrintableJSON

    • Fully Compatible
    • Sharding 2021-01-11
    • 1
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      request.setUnwrappedReadPref(ReadPreferenceSetting{ReadPreference::Nearest}.toContainingBSON());
      

      https://github.com/mongodb/mongo/blob/30d7437961ad9dffbad2d99e2a32947c02637c89/src/mongo/db/s/resharding/resharding_collection_cloner.cpp#L170-L171

              Assignee:
              Max Hirschhorn
              Reporter:
              Max Hirschhorn
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: