Merge pull request #12315 from BinacsLee/binacs-mvcc-fix-typo

mvcc: fix typo
release-3.5
Jingyi Hu 2020-09-18 09:17:59 -07:00 committed by GitHub
commit 6d5b77b91b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -718,7 +718,7 @@ func TestConcurrentReadTxAndWrite(t *testing.T) {
numOfWrites = 100
maxNumOfPutsPerWrite = 10
committedKVs kvs // committedKVs records the key-value pairs written by the finished Write Txns
mu sync.Mutex // mu protectes committedKVs
mu sync.Mutex // mu protects committedKVs
)
b, tmpPath := backend.NewDefaultTmpBackend()
s := NewStore(zap.NewExample(), b, &lease.FakeLessor{}, nil, StoreConfig{})