[SERVER-30968] dbCheck command shouldn't explicitly set "ok" field Created: 06/Sep/17  Updated: 30/Oct/23  Resolved: 27/Jun/23

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

Type: Improvement Priority: Major - P3
Reporter: Mathias Stearn Assignee: Aiden Szeto (Inactive)
Resolution: Fixed Votes: 2
Labels: pm-855-quick-win
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
related to GODRIVER-2883 Handle boolean "ok" responses Closed
Assigned Teams:
Replication
Backwards Compatibility: Fully Compatible
Sprint: Repl 2023-05-29, Repl 2023-06-12, Repl 2023-07-10
Participants:

 Description   

It incorrectly uses a bool rather than a double. However, it shouldn't be doing it at all, since it will happen automatically based on the return value. Also it should let any exception bubble up so it can be reported properly rather than catching the exception and reporting locally.



 Comments   
Comment by Githook User [ 03/Jul/23 ]

Author:

{'name': 'Aiden Szeto', 'email': 'aiden.szeto@mongodb.com', 'username': 'aidenszeto'}

Message: SERVER-30968 Remove explicit set of ok field in dbCheck
Branch: EVG-17874-taskgen-test
https://github.com/mongodb/mongo/commit/e6a8bf47c736bb70b20ce68a4a1701d83103365e

Comment by Githook User [ 27/Jun/23 ]

Author:

{'name': 'Aiden Szeto', 'email': 'aiden.szeto@mongodb.com', 'username': 'aidenszeto'}

Message: SERVER-30968 Remove explicit set of ok field in dbCheck
Branch: master
https://github.com/mongodb/mongo/commit/e6a8bf47c736bb70b20ce68a4a1701d83103365e

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