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

Deprecate the fsync and unlock MongoClient helpers and the is_locked attribute

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 3.11
    • Affects Version/s: None
    • Component/s: None
    • None

      They only make sense when connected directly to a single mongod, The fsync helper is trivially replaced with a call to Database.command, as is the unlock helper when connected to reasonably modern versions of MongoDB. Unlock against ancient MongoDB versions is also trivial to implement.

      Let's deprecate these in 3.x and remove them in 4.0.

            Assignee:
            shane.harvey@mongodb.com Shane Harvey
            Reporter:
            bernie@mongodb.com Bernie Hackett
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: