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

Determine the best default timeout for tenant migration blocking phase

    • Type: Icon: Improvement Improvement
    • Resolution: Won't Do
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Replication
    • Labels:
      None
    • Server Serverless 2022-11-14

      The code for the timeout is submitted in SERVER-52903.

      The IDL definition to configure the timeout is here:  https://github.com/mongodb/mongo/blob/a102bde490e4f63a5558551f31e3c834edeb4dd6/src/mongo/db/repl/repl_server_parameters.idl#L426-L435

      Most likely the timeout will be determined by experiments and beta deployment. It should be as large as needed to almost guarantee that the blocking phase will go through without timing out even when the server is overloaded, but it should not be too large, because it blocks reads/writes to the migrated database.

       

            Assignee:
            matt.broadstone@mongodb.com Matt Broadstone
            Reporter:
            andrew.shuvalov@mongodb.com Andrew Shuvalov (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            9 Start watching this issue

              Created:
              Updated:
              Resolved: