[SERVER-69146] loadBalanced field in handshake does not work with stable api in strict mode. Created: 25/Aug/22 Updated: 29/Oct/23 Resolved: 29/Aug/22 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 6.2.0-rc0 |
| Type: | Bug | Priority: | Blocker - P1 |
| Reporter: | Durran Jordan | Assignee: | Vesselina Ratcheva (Inactive) |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||||||||||||||
| Operating System: | ALL | ||||||||||||||||||||
| Steps To Reproduce: | Connect to the server with mongosh or a driver (Node for example), that always has the loadBalanced option as true or false using the stable API in strict mode. |
||||||||||||||||||||
| Sprint: | Repl 2022-09-05 | ||||||||||||||||||||
| Participants: | |||||||||||||||||||||
| Description |
|
On latest server, or at least version 6.1.0-alpha-2369-g79662a1, the handshake now fails when loadBalanced is present in the hello command using the stable API in strict mode with the error: "BSON field 'hello.loadBalanced' is not allowed with apiStrict:true" This means we cannot use the stable api in strict mode behind a load balancer or even when the field is present and false. Is this the commit this was introduced? https://github.com/mongodb/mongo/commit/17e0097a3a7968fe7cc7d557afa157d1579cef64 |
| Comments |
| Comment by Githook User [ 29/Aug/22 ] |
|
Author: {'name': 'Vesselina Ratcheva', 'email': 'vesselina.ratcheva@10gen.com', 'username': 'vessy-mongodb'}Message: |
| Comment by Jeffrey Yemin [ 26/Aug/22 ] |
|
Linking to |