Deprecate the fsync and unlock MongoClient helpers and the is_locked attribute

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: Major - P3
    • 3.11
    • Affects Version/s: None
    • Component/s: None
    • None
    • None
    • None
    • None
    • None
    • 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
            Reporter:
            Bernie Hackett
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: