[SERVER-84349] Remove dbhash2.js Created: 20/Dec/23  Updated: 10/Jan/24  Resolved: 10/Jan/24

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 7.3.0-rc0

Type: Task Priority: Major - P3
Reporter: Cheahuychou Mao Assignee: Damian Wasilewicz
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
is related to SERVER-83078 Add jscore passthrough testing for co... Closed
Assigned Teams:
Storage Execution
Backwards Compatibility: Fully Compatible
Sprint: Execution Team 2024-01-22
Participants:

 Description   

Currently, dbhash2.js tests dbhash commands against the config database, which makes it unable to run in a sharded suite because it has a step to drop collections in the config database which is not allowed via a router on sharded clusters. SERVER-83078 tried to work around this by making it test dbhash commands against a user database instead. But that led to some issues in the timeseries_crud_jscore_passthrough suite. In particular, the test failed this line for checking that the dbhash commands return the hashes for the test collections. That is, "foo" didn't show up in the "res.collections". From logging, it looks like "collections" contains hashes for "system.buckets.foo" and "system.views". It looks like this had to with how this suite has an override to turn every user collection into a timeseries collection (i.e. config database is excluded), and we should check the hashes for "system.buckets.foo" instead if the test is running in the timeseries_crud_jscore_passthrough suite. 

 



 Comments   
Comment by Githook User [ 10/Jan/24 ]

Author:

{'name': 'Damian Wasilewicz', 'email': '33820523+DamianWasilewicz@users.noreply.github.com', 'username': 'DamianWasilewicz'}

Message: SERVER-84349: Remove dbhash2.js (#17949)

GitOrigin-RevId: 793789b37a8089e03b514e1117f5a90ff1540e2a
Branch: master
https://github.com/mongodb/mongo/commit/d99f21405a2671b228ed9640e00995b9e4e8de39

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