mirror of https://github.com/tikv/client-rust.git
fix negative resolve lock return value
Signed-off-by: Yilin Chen <sticnarf@gmail.com>
This commit is contained in:
parent
1ab0e7fdd6
commit
dd2e186b0c
|
@ -69,7 +69,7 @@ pub async fn resolve_locks(
|
|||
.or_insert_with(HashSet::new)
|
||||
.insert(cleaned_region);
|
||||
}
|
||||
Ok(has_live_locks)
|
||||
Ok(!has_live_locks)
|
||||
}
|
||||
|
||||
async fn resolve_lock_with_retry(
|
||||
|
|
Loading…
Reference in New Issue