mirror of
https://github.com/rustfs/rustfs.git
synced 2026-08-18 02:33:15 +00:00
fix(storage): harden offline drive fail-fast paths (#2564)
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: houseme <4829346+houseme@users.noreply.github.com>
This commit is contained in:
@@ -108,7 +108,7 @@ impl LockClient for LocalClient {
|
||||
|
||||
match lock_manager.acquire_lock(lock_request).await {
|
||||
Ok(guard) => {
|
||||
let lock_id = LockId::new_unique(&request.resource);
|
||||
let lock_id = request.lock_id.clone();
|
||||
|
||||
{
|
||||
let shard = self.get_shard(&lock_id);
|
||||
|
||||
Reference in New Issue
Block a user