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

Support a command that returns after an index build has started

    • Type: Icon: New Feature New Feature
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Storage Execution
    • v8.0, v7.0, v6.0
    • Execution Team 2024-04-29, Execution Team 2024-05-27

      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:
            vishnu.kaushik@mongodb.com Vishnu Kaushik
            Reporter:
            evgeni.dobranov@mongodb.com Evgeni Dobranov
            Votes:
            0 Vote for this issue
            Watchers:
            10 Start watching this issue

              Created:
              Updated: