[SERVER-57760] Introduce dedicated OpCounters-like metrics for resharding and use them in ReshardingOplogApplier Created: 16/Jun/21  Updated: 29/Oct/23  Resolved: 09/Jul/21

Status: Closed
Project: Core Server
Component/s: Sharding
Affects Version/s: None
Fix Version/s: 5.0.4, 5.1.0-rc0

Type: Task Priority: Major - P3
Reporter: Max Hirschhorn Assignee: Haley Connelly
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Depends
is depended on by SERVER-57761 Increment insert opcounter as part of... Closed
Backwards Compatibility: Fully Compatible
Backport Requested:
v5.0
Sprint: Sharding 2021-07-12
Participants:
Story Points: 1

 Description   

ReshardingOplogApplier currently increments globalOpCounters when applying inserts, updates, and deletes. Using globalOpCounters can make it difficult to distinguish in the FTDC/t2 output the ops/sec from the client workload from the ops/sec from resharding as it tries to keep up with the client writes.

Having a new shardingStatistics.resharding.opcounters subsection would enable splitting up these metrics in ReshardingOplogApplier from the globalOpCounters.

shardingStatistics:
  ... (other existing metrics) ...
  resharding:
    ... (other existing metrics) ...
    opcounters:
      insert: int64
      update: int64
      delete: int64



 Comments   
Comment by Githook User [ 08/Oct/21 ]

Author:

{'name': 'Haley Connelly', 'email': 'haley.connelly@mongodb.com', 'username': 'haleyConnelly'}

Message: SERVER-57760 Introduce resharding dedicated OpCounters and use them in
ReshardingOplogApplier

(cherry picked from commit 28bd2d76e81aca35b300efb48010460e7d441162)
Branch: v5.0
https://github.com/mongodb/mongo/commit/939e771faa655b88e16096cf21b440fce60ac937

Comment by Vivian Ge (Inactive) [ 06/Oct/21 ]

Updating the fixversion since branching activities occurred yesterday. This ticket will be in rc0 when it’s been triggered. For more active release information, please keep an eye on #server-release. Thank you!

Comment by Githook User [ 09/Jul/21 ]

Author:

{'name': 'Haley Connelly', 'email': 'haley.connelly@mongodb.com', 'username': 'haleyConnelly'}

Message: SERVER-57760 Introduce resharding dedicated OpCounters and use them in
ReshardingOplogApplier
Branch: master
https://github.com/mongodb/mongo/commit/28bd2d76e81aca35b300efb48010460e7d441162

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