Uploaded image for project: 'Documentation'
  1. Documentation
  2. DOCS-11210

Suggest that users should be avoiding frequent restarts of mongoS

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Won't Do
    • Icon: Major - P3 Major - P3
    • Server_Docs_20231030
    • None
    • Server
    • None

    Description

      At present chunk splits are initiated by a mongoS when the amount of data written into the chunk (tracked by the mongoS) exceeds the threshold of 20% of the maximum chunk size.

      When mongoS is restarted, that re-sets the data written counter, which in return can delay splits causing chunks to grow beyond the splitting threshold and even beyond the maximum chunk size threshold. Eventually such chunks can be split in a cascading fashion, adding (potentially significant) balancing overhead.

      The documentation should suggest that:

      • frequent restarts of mongoS should be avoided, when possible
      • the flushRouterConfig command should only be executed in exceptional circumstances, when there is a good reason to do so. It should not be run for prevention purposes on regular basis

      Attachments

        Activity

          People

            Unassigned Unassigned
            dmitry.ryabtsev@mongodb.com Dmitry Ryabtsev
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              1 year, 14 weeks, 2 days ago