reshard command fetches the entire tags/zone for collection unnecessarily

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Fixed
    • Priority: 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
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      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 (Inactive)
            Reporter:
            Randolph Tan
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: