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

Improve the performance of findUnsplitableCollections in move_unsharded_policy

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Major - P3 Major - P3
    • None
    • None
    • None
    • None
    • Catalog and Routing

    Description

      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)  

      Attachments

        Activity

          People

            backlog-server-catalog-and-routing Backlog - Catalog and Routing
            david.dominguez@mongodb.com David Dominguez Sal
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: