[SERVER-54794] DataConsistencyChecker compares listCollections output but doesn't print it entirely on failure Created: 25/Feb/21  Updated: 29/Oct/23  Resolved: 26/Feb/21

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

Type: Improvement Priority: Major - P3
Reporter: Louis Williams Assignee: Louis Williams
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 2021-03-08
Participants:

 Description   

If data consistency checks fail because listCollections output differs between two nodes, we only print four fields, even though the test performs a binary comparison between the full responses.

This makes debugging near impossible because the test will fail without explaining why.



 Comments   
Comment by Githook User [ 26/Feb/21 ]

Author:

{'name': 'Louis Williams', 'email': 'louis.williams@mongodb.com', 'username': 'louiswilliams'}

Message: SERVER-54794 DataConsistencyChecker prints raw listCollections output on failure
Branch: master
https://github.com/mongodb/mongo/commit/b65805e2ccaea3a7f4e09b52abe85128df4db676

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