diff --git a/objectstore/BackendRados.cpp b/objectstore/BackendRados.cpp index 797118bbee4d4fa6ada8eca2108b9ecf6a6ebcb3..dc76fcc5a589e7b6616c6de2d336dbb620458588 100644 --- a/objectstore/BackendRados.cpp +++ b/objectstore/BackendRados.cpp @@ -512,7 +512,7 @@ BackendRados::AsyncUpdater::AsyncUpdater(BackendRados& be, const std::string& na [this](){ try { m_lockClient = BackendRados::createUniqueClientId(); - m_backend.lock(m_name, 60*1000, BackendRados::LockType::Exclusive, m_lockClient); + m_backend.lock(m_name, 300*1000, BackendRados::LockType::Exclusive, m_lockClient); // Locking is done, we can launch the read operation (async). librados::AioCompletion * aioc = librados::Rados::aio_create_completion(this, fetchCallback, nullptr); RadosTimeoutLogger rtl; @@ -707,7 +707,7 @@ BackendRados::AsyncDeleter::AsyncDeleter(BackendRados& be, const std::string& na [this](){ try { m_lockClient = BackendRados::createUniqueClientId(); - m_backend.lock(m_name, 60*1000, BackendRados::LockType::Exclusive, m_lockClient); + m_backend.lock(m_name, 300*1000, BackendRados::LockType::Exclusive, m_lockClient); // Locking is done, we can launch the remove operation (async). librados::AioCompletion * aioc = librados::Rados::aio_create_completion(this, deleteCallback, nullptr); m_radosTimeoutLogger.reset();