[SERVER-73336] Add new index builds serverStatus metrics and logging Created: 26/Jan/23  Updated: 29/Oct/23  Resolved: 12/Apr/23

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 7.1.0-rc0

Type: Task Priority: Major - P3
Reporter: Yujin Kang Park Assignee: Yujin Kang Park
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Duplicate
is duplicated by SERVER-75041 Expose metrics in serverStatus and lo... Closed
Assigned Teams:
Storage Execution
Backwards Compatibility: Fully Compatible
Sprint: Execution Team 2023-04-17
Participants:

 Description   

From the scope:

  • Expose metrics in serverStatus and log when an out-of-order key is detected in an index build
  • Log when a secondary crashes because it’s unable to abort an already committed index build
  • Expose metrics in serverStatus (already exists killedDueToInsufficentDiskSpace) and log when an index build has been canceled due to a lack of disk space

Consider if adding an "aborted by secondary" would make sense.

We already log and crash when there's a commit/abort conflict. https://github.com/10gen/mongo/blob/29dec97a718571dbef8ac3ffe4c68115e5874909/src/mongo/db/repl_index_build_state.cpp#L382



 Comments   
Comment by Githook User [ 12/Apr/23 ]

Author:

{'name': 'Yu Jin Kang Park', 'email': 'yujin.kang@mongodb.com', 'username': 'ykangpark'}

Message: SERVER-73336 Add index build metric and logging for data corruption and insufficient disk
Branch: master
https://github.com/mongodb/mongo/commit/e72720dda5265d438837d8d6028c665f7bbe6c58

Generated at Thu Feb 08 06:24:22 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.