Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-52692

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

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

      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@mongodb.com Max Hirschhorn
            Reporter:
            max.hirschhorn@mongodb.com Max Hirschhorn
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: