[JAVA-3745] Support sessions when connected to a standalone server Created: 26/May/20 Updated: 28/Oct/23 Resolved: 15/Jul/20 |
|
| Status: | Closed |
| Project: | Java Driver |
| Component/s: | Session Management |
| Affects Version/s: | 3.12.4 |
| Fix Version/s: | 3.12.7, 4.1.0 |
| Type: | Improvement | Priority: | Major - P3 |
| Reporter: | Barron Anderson | Assignee: | Jeffrey Yemin |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
MongoDB 3.6.17 standalone. Java driver 3.12.4. |
||
| Issue Links: |
|
||||
| Backwards Compatibility: | Minor Change | ||||
| Description |
|
Customer developers use MongoDB 3.6 inside a docker container which is derived from an image with standalone configuration. They are upgrading their Java web services to use sessions. This entails switching from using legacy APIs to new APIs found in the Uber driver 3.12.4. When they run their automated unit tests they receive the error... com.mongodb.MongoClientException: Sessions are not supported by the MongoDB cluster to which this client is connected They are concerned they need to change their DevOps flows to accommodate new MongoDB features, such as sessions. Discussions with jeff.yemin@gmail.com on Slack indicate a standalone db supports sessions (but with limited functionality). The driver, on the other hand, blocks the interaction. |
| Comments |
| Comment by Jeffrey Yemin [ 15/Jul/20 ] |
|
Author: {'name': 'Jeff Yemin', 'email': 'jeff.yemin@mongodb.com', 'username': 'jyemin'}Message: Support explicit and implicit sessions on standalone servers
|
| Comment by Githook User [ 15/Jul/20 ] |
|
Author: {'name': 'Jeff Yemin', 'email': 'jeff.yemin@mongodb.com', 'username': 'jyemin'}Message: Support explicit and implicit sessions on standalone servers
|
| Comment by Githook User [ 15/Jul/20 ] |
|
Author: {'name': 'Jeff Yemin', 'email': 'jeff.yemin@mongodb.com', 'username': 'jyemin'}Message: Support explicit and implicit sessions on standalone servers
|
| Comment by Githook User [ 15/Jul/20 ] |
|
Author: {'name': 'Jeff Yemin', 'email': 'jeff.yemin@mongodb.com', 'username': 'jyemin'}Message: Support explicit and implicit sessions on standalone servers
|