[GODRIVER-396] Read Preference from connection string should be used Created: 01/May/18  Updated: 10/May/18  Resolved: 03/May/18

Status: Closed
Project: Go Driver
Component/s: Options & Configuration
Affects Version/s: 0.0.3
Fix Version/s: 0.0.5

Type: Bug Priority: Major - P3
Reporter: Kristofer Brandow (Inactive) Assignee: Kristofer Brandow (Inactive)
Resolution: Done Votes: 0
Labels: stitch
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Problem/Incident
causes GODRIVER-407 implicit readPreference not allowed Closed

 Description   

The read preference from the connection string is currently not used when creating a mongo.Client. Add required logic to set the read preference from the connection string after it's been processed through the ClientOptions.



 Comments   
Comment by Githook User [ 03/May/18 ]

Author:

{'email': 'kryvenko7igor@gmail.com', 'name': 'Igor Kryvenko', 'username': 'igorKryvenko'}

Message: GODRIVER-396: Read Preference from connection string should be used(Fix client_internal_test)
Branch: master
https://github.com/mongodb/mongo-go-driver/commit/26740413c164cd276d29b5f8de0e33fa6e5293ff

Comment by Githook User [ 03/May/18 ]

Author:

{'email': 'kryvenko7igor@gmail.com', 'name': 'Igor Kryvenko', 'username': 'igorKryvenko'}

Message: GODRIVER-396: Read Preference from connection string should be used(Fix client_internal_test)
Branch: master
https://github.com/mongodb/mongo-go-driver/commit/54a59cd454e8da5169e311eac069e7dfc37c9e55

Comment by Githook User [ 03/May/18 ]

Author:

{'email': 'kryvenko7igor@gmail.com', 'name': 'igor', 'username': 'igorKryvenko'}

Message: GODRIVER-396: Read Preference from connection string should be used(Fix connstring_test)
Branch: master
https://github.com/mongodb/mongo-go-driver/commit/038fd112eb8e2bea0b10c20c67e7b535be7b12d6

Comment by Githook User [ 03/May/18 ]

Author:

{'email': 'kryvenko7igor@gmail.com', 'name': 'Igor Kryvenko', 'username': 'igorKryvenko'}

Message: GODRIVER-396: Read Preference from connection string should be used
Branch: master
https://github.com/mongodb/mongo-go-driver/commit/3ac2c7bf04ca1e60be2e143fe3c232849769c01d

Comment by Kristofer Brandow (Inactive) [ 02/May/18 ]

Code Review: https://github.com/mongodb/mongo-go-driver/pull/49.

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