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

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

      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.)

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

              Created:
              Updated:
              Resolved:
              3 years, 4 weeks, 2 days ago