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

reshard command fetches the entire tags/zone for collection unnecessarily

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Minor - P4 Minor - P4
    • None
    • None
    • None
    • Cluster Scalability

    Description

      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.

      Attachments

        Activity

          People

            backlog-server-cluster-scalability Backlog - Cluster Scalability
            randolph@mongodb.com Randolph Tan
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: