[SERVER-37910] Create new serverStatus metric for number of operations applied on a secondary that's incremented at batch boundaries Created: 02/Nov/18  Updated: 29/Oct/23  Resolved: 11/Dec/18

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: Task 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
Documented
is documented by DOCS-12270 Docs for SERVER-37910: Create new ser... Closed
Related
is related to SERVER-34722 Add new server status metrics about o... Closed
Backwards Compatibility: Fully Compatible
Backport Requested:
v4.0, v3.6
Sprint: Repl 2018-12-03, Repl 2018-12-17
Participants:

 Description   

repl.apply.ops is incremented for every op rather than at batch boundaries for the size of the entire batch so it's difficult to get a sense of the size of each batch. (https://docs.mongodb.com/manual/reference/command/serverStatus/#serverstatus.metrics.repl.apply.ops)



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

Author:

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

Message: SERVER-37910 Added a new serverStatus meteric "repl.apply.batchSize" to track oplog application batch size.

(cherry picked from commit cc102992f6fe9dd499edc9242b8a5be961ed35dd)
Branch: v3.6
https://github.com/mongodb/mongo/commit/1a24b7d77d1271de19b61705b3890953d485978e

Comment by Githook User [ 08/Jan/19 ]

Author:

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

Message: SERVER-37910 Added a new serverStatus meteric "repl.apply.batchSize" to track oplog application batch size.

(cherry picked from commit cc102992f6fe9dd499edc9242b8a5be961ed35dd)
Branch: v4.0
https://github.com/mongodb/mongo/commit/e28fadf9059711910433d9fe7561e2ef7b682f8d

Comment by Githook User [ 06/Dec/18 ]

Author:

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

Message: SERVER-37910 Added a new serverStatus meteric "repl.apply.batchSize" to track oplog application batch size.
Branch: master
https://github.com/mongodb/mongo/commit/cc102992f6fe9dd499edc9242b8a5be961ed35dd

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