fix(kv): typo in comment (#396)

This commit is contained in:
woolen-sheep
2022-06-13 14:53:58 +08:00
committed by GitHub
parent 9d03198268
commit 856e7a1939

View File

@@ -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) {