Hi,
I'm writing a mongodb backup script from ruby.
I am able to run fsynclock my mongod with the following commands:
uri = "mongodb://#
/#
{dbname}"
client=Mongo::Client.new(uri)
client.use('admin').command(
)
But the same method with
client.use('admin').command(
)
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.