Details
-
Task
-
Status: Closed
-
Major - P3
-
Resolution: Done
-
None
-
None
-
1
-
ServerDocs2020: Mar16 - Mar23, ServerDocs2020: Mar23 - Mar30
Description
Description
The System Event Audit Messages page needs to be updated for the `createIndex` audit event atype. The param field now appears as follows:
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
- documents
-
SERVER-54209 Audit index build lifecycle events
-
- Closed
-