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

Improve the performance of findUnsplitableCollections in move_unsharded_policy

    • Type: Icon: Improvement Improvement
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Catalog and Routing

      The current implementation performs the location of unsplitable collections in two steps. First, it gets all the chunks, and then it validates which chunk belongs to an unsplitable database. Since the current balancer issues unsplitable migrations one by one, the system must do a linear operation on the chunks to get each migration. 

      It would be better to do an aggregation that is aware of the limit, and does not perform a full scan of the chunks before starting the join with collections (i.e. not hash joined based)  

            Assignee:
            backlog-server-catalog-and-routing [DO NOT USE] Backlog - Catalog and Routing
            Reporter:
            david.dominguez@mongodb.com David Dominguez Sal (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: