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

reshard command fetches the entire tags/zone for collection unnecessarily

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Minor - P4 Minor - P4
    • 8.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • Cluster Scalability
    • Fully Compatible
    • Cluster Scalability 2024-07-08, Cluster Scalability 2024-07-22

      just to check if it is non-empty:

      https://github.com/10gen/mongo/blob/4954cb44e1ceeda02db1902ffd7ea89d08c7b04c/src/mongo/db/s/config/configsvr_reshard_collection_cmd.cpp#L108

      A query with limit 1 should be sufficient for this purpose.

            Assignee:
            grant.xiao@mongodb.com Grant Xiao (Inactive)
            Reporter:
            randolph@mongodb.com Randolph Tan
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: