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).
- is caused by
SERVER-61018 Create a generic histogram type
- related to
SERVER-65937 JS tests tagged with requires_fcv_53 do not run in the implicit multiversion passthroughs on the 6.0 branch