From 856e7a19395688fd929069300c6e82470a5458d3 Mon Sep 17 00:00:00 2001 From: woolen-sheep <2460563632@qq.com> Date: Mon, 13 Jun 2022 14:53:58 +0800 Subject: [PATCH] fix(kv): typo in comment (#396) --- kv/transaction/latches/latches.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kv/transaction/latches/latches.go b/kv/transaction/latches/latches.go index 7bbf7cef..89b24eeb 100644 --- a/kv/transaction/latches/latches.go +++ b/kv/transaction/latches/latches.go @@ -78,7 +78,7 @@ func (l *Latches) ReleaseLatches(keysToUnlatch [][]byte) { } } -// WaitForLatches attempts to lock all keys in keysToLatch using AcquireLatches. If a latch ia already locked, then = +// WaitForLatches attempts to lock all keys in keysToLatch using AcquireLatches. If a latch is already locked, then // WaitForLatches will wait for it to become unlocked then try again. Therefore WaitForLatches may block for an unbounded // length of time. func (l *Latches) WaitForLatches(keysToLatch [][]byte) {