[GODRIVER-2968] Add "Ok" field to server struct Created: 30/Aug/23  Updated: 11/Sep/23  Resolved: 11/Sep/23

Status: Closed
Project: Go Driver
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Improvement Priority: Unknown
Reporter: Preston Vasquez Assignee: Preston Vasquez
Resolution: Won't Do Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
is depended on by GODRIVER-2943 Fix failing logging tests Closed
Documentation Changes Summary:

1. What would you like to communicate to the user about this feature?
2. Would you like the user to see examples of the syntax and/or executable code and its output?
3. Which versions of the driver/connector does this apply to?


 Description   

It came up in the SDAM logging that the reply field for the "Server Heartbeat Succeeded" log expects the reply to contain an "Ok" field. We currently check for this field when constructing the server description, here .

Suggest extending the struct to contain "Ok".



 Comments   
Comment by Preston Vasquez [ 11/Sep/23 ]

Instead of extending the API, we should just parse the required information before logging.

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