[SERVER-65924] Modify resharding_histogram_metrics.js to allow either "ops" or "totalCount" as the histogram field name Created: 25/Apr/22  Updated: 29/Oct/23  Resolved: 26/Apr/22

Status: Closed
Project: Core Server
Component/s: Sharding
Affects Version/s: None
Fix Version/s: 5.3.2, 6.0.0-rc3

Type: Bug Priority: Major - P3
Reporter: Brett Nawrocki Assignee: Brett Nawrocki
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Depends
Problem/Incident
is caused by SERVER-61018 Create a generic histogram type Closed
Related
related to SERVER-65937 JS tests tagged with requires_fcv_53 ... Closed
Backwards Compatibility: Fully Compatible
Operating System: ALL
Backport Requested:
v5.3
Sprint: Sharding 2022-05-02
Participants:
Linked BF Score: 183

 Description   

SERVER-61018 rewrote IntegerHistogram to be generic and in doing so renamed the field name from "ops" to "totalCount". This change was backported to 5.0, but not 5.3, which can cause problems in the multiversion suite as seen in BF-25036.

As such, resharding_histogram_metrics.js should be updated to check either field name throughout the test (e.g. here).



 Comments   
Comment by Githook User [ 26/Apr/22 ]

Author:

{'name': 'Brett Nawrocki', 'email': 'brett.nawrocki@mongodb.com', 'username': 'brettnawrocki'}

Message: SERVER-65924 resharding_histogram_metrics.js checks totalCount or ops

(cherry picked from commit bebe6e97f90a9345f381434339709f18412fd43e)
Branch: v5.3
https://github.com/mongodb/mongo/commit/1de5826097917875f48ca1ea4f2e53b40139f9ff

Comment by Githook User [ 26/Apr/22 ]

Author:

{'name': 'Brett Nawrocki', 'email': 'brett.nawrocki@mongodb.com', 'username': 'brettnawrocki'}

Message: SERVER-65924 resharding_histogram_metrics.js checks totalCount or ops
Branch: v6.0
https://github.com/mongodb/mongo/commit/909b71bf5cd61aa9714abc47cd06cfe22d25d4da

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