[SERVER-37915] Replication doesn't update opsCounterRepl command on secondaries Created: 02/Nov/18  Updated: 29/Oct/23  Resolved: 09/Jan/19

Status: Closed
Project: Core Server
Component/s: Diagnostics, Replication
Affects Version/s: None
Fix Version/s: 3.6.11, 4.0.6, 4.1.7

Type: Bug Priority: Major - P3
Reporter: Judah Schvimer Assignee: Suganthi Mani
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Related
related to SERVER-34722 Add new server status metrics about o... Closed
Backwards Compatibility: Fully Compatible
Operating System: ALL
Backport Requested:
v4.0, v3.6
Sprint: Repl 2018-12-03, Repl 2018-12-17, Repl 2019-01-14
Participants:

 Description   

Replication updates the op counters for crud ops, but not for commands.



 Comments   
Comment by Githook User [ 23/Jan/19 ]

Author:

{'username': 'smani87', 'email': 'suganthi.mani@mongodb.com', 'name': 'Suganthi Mani'}

Message: SERVER-37915 Updates serverStatus.opcountersRepl.command on secondaries.
And, atomic applyOps cmd increments serverStatus.opcounters<opType> for each individual operation on primary.

(cherry picked from commit 214bf238fedc4e147e6473f5fc64428987added6)
Branch: v3.6
https://github.com/mongodb/mongo/commit/a5506bfc636604d73019fbd3e0b5dcc6004f2433

Comment by Githook User [ 12/Jan/19 ]

Author:

{'username': 'smani87', 'email': 'suganthi.mani@mongodb.com', 'name': 'Suganthi Mani'}

Message: SERVER-37915 Updates serverStatus.opcountersRepl.command on secondaries.
And, atomic applyOps cmd increments serverStatus.opcounters<opType> for each individual operation on primary.

(cherry picked from commit 214bf238fedc4e147e6473f5fc64428987added6)
Branch: v4.0
https://github.com/mongodb/mongo/commit/89d845e752312fce0e12be4cf8f9761e44adc004

Comment by Githook User [ 09/Jan/19 ]

Author:

{'username': 'smani87', 'email': 'suganthi.mani@mongodb.com', 'name': 'Suganthi Mani'}

Message: SERVER-37915 Updates serverStatus.opcountersRepl.command on secondaries.
And, atomic applyOps cmd increments serverStatus.opcounters<opType> for each individual operation on primary.
Branch: master
https://github.com/mongodb/mongo/commit/214bf238fedc4e147e6473f5fc64428987added6

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