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

Investigate changes in SERVER-46122: Make the drop command abort in-progress index builds

    XMLWordPrintableJSON

Details

    Description

      Description

      Downstream Change Summary

      The "drop" command now aborts in-progress index builds before dropping any ready indexes or the collection itself. Previously, if there were any in-progress index, the command would return the "BackgroundOperationInProgressForNamespace" error code.

      Description of Linked Ticket

      While dropping a collection, it should abort any in-progress index builds.

      Aborting the index will produce an abortIndexBuilds oplog entry, which suffices for in-progress index builds when dropping the collection. Secondaries should not abort in-progress index builds but instead wait for the abortIndexBuilds oplog entry.

      Scope of changes

      Impact to Other Docs

      MVP (Work and Date)

      Resources (Scope or Design Docs, Invision, etc.)

      Attachments

        Activity

          People

            jeffrey.allen@mongodb.com Jeffrey Allen
            backlog-server-pm Backlog - Core Eng Program Management Team
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              3 years, 48 weeks, 5 days ago