No method for fsyncUnlock from ruby driver

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Won't Fix
    • Priority: Major - P3
    • 12_01_17
    • Affects Version/s: 2.0.4
    • Component/s: None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Hi,
      I'm writing a mongodb backup script from ruby.
      I am able to run fsynclock my mongod with the following commands:
      uri = "mongodb://#

      {host}

      /#

      {dbname}

      "
      client=Mongo::Client.new(uri)
      client.use('admin').command(

      {fsync:1,lock:true}

      )

      But the same method with
      client.use('admin').command(

      {fsync:1,lock:false}

      )
      Client is hanging until I issue a mongodb db.fsyncUnlock() from regular mongo shell

      It would be extremly helpful if we were able to issue fsyncUnlock from the ruby driver.
      Please advise.

            Assignee:
            Emily Stolfo (Inactive)
            Reporter:
            Inbar Yogev
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: