Support a command that returns after an index build has started

XMLWordPrintableJSON

    • Type: New Feature
    • Resolution: Fixed
    • Priority: Major - P3
    • 8.1.0-rc0, 8.0.5
    • Affects Version/s: None
    • Component/s: None
    • Storage Execution
    • Fully Compatible
    • v8.0, v7.0, v6.0
    • Execution Team 2024-04-29, Execution Team 2024-05-27, Execution Team 2024-07-22, Execution Team 2024-08-05, Execution Team 2024-08-19, Execution Team 2024-09-02, Execution Team 2024-09-16
    • 200
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      Mongosync would benefit from being able to issue a createIndexes command that doesn't block on the index build's completion, but rather only blocks on the startIndexBuild oplog entry becoming majority-committed. This could look something like:

      db.runCommand(
         {
           createIndexes: <collection>,
           indexes: [
               { ... }
           ],
           returnOnStart: <true|false>,
         }
       ) 

            Assignee:
            Gregory Noma
            Reporter:
            Evgeni Dobranov (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            11 Start watching this issue

              Created:
              Updated:
              Resolved: