Support sessions when connected to a standalone server

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Fixed
    • Priority: Major - P3
    • 3.12.7, 4.1.0
    • Affects Version/s: 3.12.4
    • Component/s: Session Management
    • None
    • Environment:
      MongoDB 3.6.17 standalone. Java driver 3.12.4.
    • None
    • Minor Change
    • None
    • None
    • None
    • None
    • None
    • None

      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. 

            Assignee:
            Jeffrey Yemin
            Reporter:
            Barron Anderson
            None
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: