[GODRIVER-1311] Running v1.1.0+ against mongot doesn't work Created: 12/Sep/19 Updated: 28/Oct/23 Resolved: 03/Oct/19 |
|
| Status: | Closed |
| Project: | Go Driver |
| Component/s: | Connections |
| Affects Version/s: | None |
| Fix Version/s: | 1.1.2 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Tomer Yakir | Assignee: | Divjot Arora (Inactive) |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||
| Description |
|
v1.0.1 works fine. Repro env: When running the following code:
it returns:
|
| Comments |
| Comment by Githook User [ 03/Oct/19 ] |
|
Author: {'username': 'divjotarora', 'email': 'divjot.arora@10gen.com', 'name': 'Divjot Arora'}Message: Store connection description before authenticating. Change-Id: I04c1dfe730ef483d675a4fa01ca8c118f3ef69f0 |
| Comment by Githook User [ 03/Oct/19 ] |
|
Author: {'name': 'Divjot Arora', 'username': 'divjotarora', 'email': 'divjot.arora@10gen.com'}Message: Store connection description before authenticating. Change-Id: I04c1dfe730ef483d675a4fa01ca8c118f3ef69f0 |
| Comment by Divjot Arora (Inactive) [ 01/Oct/19 ] |
|
CR: https://review.gerrithub.io/c/mongodb/mongo-go-driver/+/470022 |
| Comment by Jeffrey Yemin [ 12/Sep/19 ] |
|
So divjot.arora the thing to check for is whether we're sending saslStart using OP_QUERY rather than OP_MSG in the 1.1 driver |
| Comment by Jeffrey Yemin [ 12/Sep/19 ] |
|
Hi tomer.yakir, That error message, "do not know how to handle OP_QUERY for non-commands", is strange. What non-command would the driver be sending? Can you confirm that the message is accurate? Also, please share any server logs that would provide more context, as it's probably not trivial for us to spin up an instance of mongot. |