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

Investigate changes in SERVER-54209: Audit index build lifecycle events

    XMLWordPrintable

Details

    • Task
    • Status: Closed
    • Major - P3
    • Resolution: Done
    • None
    • 4.9.0
    • manual, Server
    • None
    • 1
    • ServerDocs2020: Mar16 - Mar23, ServerDocs2020: Mar23 - Mar30
    • true

    Description

      Description

      Downstream Change Summary

      The System Event Audit Messages page needs to be updated for the `createIndex` audit event atype. The param field now appears as follows:

      Unknown macro: { ns}

      The possible values for `indexBuildState` are `IndexBuildStarted`, `IndexBuildSucceeded`, and `IndexBuildAborted`.

      In addition, the result code should be updated to include the following:
      0 - Success
      276 - IndexBuildAborted

      The `IndexBuildAborted` result code will be provided for `createIndex` audit events with param `IndexBuildState` set to `IndexBulidAborted`, while the `Success` result code will be provided for audit events with param `IndexBuildState` set to either `IndexBuildStarted` or `IndexBuildSucceeded`.

      Description of Linked Ticket

      We should indicate when index builds are started, complete, or are aborted. Currently, we only report when index builds are completed.

      We should ensure that aborted index builds produce a createIndex event, with theĀ IndexBuildAborted (276) result code.

      We should ensure that started index builds produce a createIndex event, with a distinct but identifying result code. We will create a new error code to accommodate this, to be named IndexBuildStarted.

      Scope of changes

      Impact to Other Docs

      MVP (Work and Date)

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

      Attachments

        Issue Links

          Activity

            People

              naomi.pentrel@mongodb.com Naomi Pentrel (Inactive)
              backlog-server-pm Backlog - Core Eng Program Management Team
              Naomi Pentrel Naomi Pentrel (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                1 year, 26 weeks, 6 days ago