[DOCS-16242] [SERVER] Investigate changes in SERVER-76001: Add serverStatus metrics for PeriodicThreadToAbortExpiredTransactions Created: 04/Jul/23  Updated: 13/Nov/23  Resolved: 29/Sep/23

Status: Closed
Project: Documentation
Component/s: manual, Server
Affects Version/s: 7.1.0-rc0, 7.1.0
Fix Version/s: 7.1.0-rc0, 7.1.0, Server_Docs_20231030, Server_Docs_20231106, Server_Docs_20231105, Server_Docs_20231113

Type: Task Priority: Minor - P4
Reporter: Backlog - Core Eng Program Management Team Assignee: Kenneth Dyer
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Documented
documents SERVER-76001 Add serverStatus metrics for Periodic... Closed
Participants:
Days since reply: 31 weeks, 1 day ago

 Description   
Original Downstream Change Summary

New serverStatus field:
"metrics.abortExpiredTransactions.passes"

A 'pass' is scheduled periodically, and aborts transactions older than 'transactionLifetimeLimitSeconds'. "passes" is incremented after a successful pass.

For Triage: If the metric stops incrementing, the thread could be stuck trying to abort a transaction.

Description of Linked Ticket

This thread is imperative to ensure forward progress of the system. Since we've seen multiple hangs where the thread gets stuck, we should add serverStatus metrics which track the number of of transactions killed by the thread.

Additionally, we should consider adding a log line to indicate which session(s) the thread is trying to abort.


Generated at Thu Feb 08 08:14:55 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.