[SERVER-44234] add stats hint to ReplSetTest.checkDBHashesForReplSet() Created: 24/Oct/19  Updated: 29/Oct/23  Resolved: 01/Nov/19

Status: Closed
Project: Core Server
Component/s: Storage
Affects Version/s: None
Fix Version/s: 4.3.1

Type: Improvement Priority: Trivial - P5
Reporter: Benety Goh Assignee: Benety Goh
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Backwards Compatibility: Fully Compatible
Sprint: Execution Team 2019-11-04
Participants:

 Description   

When the test function ReplSetTest.checkDBHashesForReplSet() detects inconsistencies between nodes in a replica set, the output can get very verbose. It would be helpful to get a hint on where to look within the output, especially where the dbhash/collection stats differ.

Current output:

FiveNodeDoubleRollbackTest, the primary and secondary have different stats for the collection createIndexes_0.test:

Proposed output (using differences in number of indexes as an example):

FiveNodeDoubleRollbackTest, the primary and secondary have different stats for the collection createIndexes_0.test: indexes



 Comments   
Comment by Githook User [ 01/Nov/19 ]

Author:

{'name': 'Benety Goh', 'username': 'benety', 'email': 'benety@mongodb.com'}

Message: SERVER-44234 add stats hint to ReplSetTest.checkDBHashesForReplSet()
Branch: master
https://github.com/mongodb/mongo/commit/0cbee170444cd668fb972196047464ec6b904bbd

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