Uploaded image for project: 'Python Driver'
  1. Python Driver
  2. PYTHON-1332

Implement Drivers Sessions API

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.6
    • Component/s: API
    • Labels:
      None

      Description

      • Done: ClientSession, MongoClient.start_session
      • Done: Use TopologyDescription.logical_session_timeout_minutes, session pooling
      • Done: Add session parameter to all database methods except profiling_info, dereference and deprecated functions
      • Done: Add session parameter to all non-deprecated collection methods (involves cursor code too) and Database.profiling_info and dereference
      • Done: Add session parameter to all non-deprecated client methods
      • Done: Add session parameter to gridfs methods
      • Done: Prohibit using ended ClientSession
      • Done: Skip sessions tests for deployments that don't allow sessions
      • Done: Send session id with all commands without an explicit session, except createUser, and isMaster for monitoring
      • Done: Don't send session id without an explicit session if multiple users are authenticated
      • Done: Ensure _ServerSession.last_use is updated on each use.
      • Done: Add session parameter to Collection.watch
      • Done: Gossip $clusterTime.
      • Done: Gossip $clusterTime when sending ismaster from Monitor.
      • Done: Once SERVER-31117 and SERVER-31120 are resolved, enable aggregation tests
      • Done: Remove workaround for createUser (SERVER-31116)
      • Done: Verify all Driver Sessions Spec tests are implemented
      • Done: Only send $clusterTime to servers with maxWireVersion >= 6

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: