[SERVER-35457] Add transaction expiry time to transaction sub-document of currentOp output Created: 06/Jun/18 Updated: 29/Oct/23 Resolved: 31/Jul/18 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Diagnostics, Replication |
| Affects Version/s: | None |
| Fix Version/s: | 4.1.2 |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | William Schultz (Inactive) | Assignee: | Jinny Byun |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | per-txn-metrics | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||||||||||
| Sprint: | Repl 2018-08-13 | ||||||||||||||||
| Participants: | |||||||||||||||||
| Description |
|
We want the currentOp entry for both active and inactive transactions to contain the expiry time of the transaction. This is the time at which the transaction, if still running, will be aborted due to a timeout. This expiration time is already stored in the Session::_transactionExpireDate variable, so we should be able to retrieve it from there. We want to store this value in the transaction.expiry field of the currentOp entry. |
| Comments |
| Comment by Githook User [ 15/Aug/18 ] |
|
Author: {'username': 'jinichu', 'email': 'jinnybyun@gmail.com', 'name': 'jinichu'}Message: (cherry picked from commit c7b9e8e669fa488564a94f90485f5bd2b0e0aebb) |
| Comment by Githook User [ 31/Jul/18 ] |
|
Author: {'username': 'jinichu', 'name': 'jinichu', 'email': 'jinnybyun@gmail.com'}Message: |