[SERVER-42825] Log metrics.repl.stepDown counters after stopped killing user operations as part of state transition (step up/ step down). Created: 14/Aug/19  Updated: 18/Jan/24  Resolved: 16/Oct/19

Status: Closed
Project: Core Server
Component/s: Replication
Affects Version/s: None
Fix Version/s: 4.3.1, 4.2.3

Type: Task Priority: Major - P3
Reporter: Suganthi Mani Assignee: Xuerui Fa
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Documented
is documented by DOCS-13122 Investigate changes in SERVER-42825: ... Closed
Duplicate
duplicates SERVER-41259 add repl.stepUp.userOperationsRunning... Closed
Related
is related to SERVER-41259 add repl.stepUp.userOperationsRunning... Closed
Backwards Compatibility: Fully Compatible
Backport Requested:
v4.2
Sprint: Repl 2019-10-07, Repl 2019-10-21
Participants:

 Description   

Currently, we log userOpsKilled counter only when RSTL acquisition is successful and step down is success. Instead, we should log the counter after every time we stopped killing user operations.

In addition, we should record operations running and killed during step up and rollback in a manner similar to step down.

 



 Comments   
Comment by Githook User [ 13/Jan/20 ]

Author:

{'name': 'Samyukta Lanka', 'email': 'samy.lanka@mongodb.com', 'username': 'lankas'}

Message: SERVER-42825 Log and track metrics.repl.stateTransition counters after stopped killing user operation

(cherry picked from commit b3b494a72f0e19d7556bee627da7ae9b79e26a03)

SERVER-45497 Add tests that will be fixed by future backport to backports_required_for_multiversion_tests.yml

(cherry picked from commit 5fcedbdd44f19fdbaeb600b470b4166fbb2c1e97)
Branch: v4.2
https://github.com/mongodb/mongo/commit/515b5d3510124d307e6db8c85b72c8f680ed37e1

Comment by Githook User [ 16/Oct/19 ]

Author:

{'name': 'Xuerui Fa', 'username': 'XueruiFa', 'email': 'xuerui.fa@mongodb.com'}

Message: SERVER-42825 Log and track metrics.repl.stateTransition counters after stopped killing user operation
Branch: master
https://github.com/mongodb/mongo/commit/b3b494a72f0e19d7556bee627da7ae9b79e26a03

Generated at Thu Feb 08 05:01:32 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.