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

Add support for configuring read preference of resharding data copying

    • Type: Icon: New Feature New Feature
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Sharding
    • Labels:
    • Cluster Scalability
    • 3

      The ReshardingCollectionCloner (1 2), ReshardingTxnCloner, and ReshardingOplogFetcher each use read preference mode "nearest" to choose the nodes within the donor replica set shards to read from. We should expose a way have this read preference be configurable. This will enable better workload isolation between the application and resharding.

      We should expose configuring the read preference as a server parameter for ease of backporting. There is some prior art for exposing this configuration as a server parameter in SERVER-38731. The option for resharding should additionally (1) be settable at runtime and not only startup for added flexibility and (2) allow specifying read preference tags and not only the read preference mode if feasible in IDL.

            Assignee:
            backlog-server-cluster-scalability [DO NOT USE] Backlog - Cluster Scalability
            Reporter:
            max.hirschhorn@mongodb.com Max Hirschhorn
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: