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

Deprecate the fsync and unlock MongoClient helpers and the is_locked attribute

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 3.11
    • None
    • None
    • None

    Description

      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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: