align 64bit atomic operation

fix https://github.com/seaweedfs/seaweedfs/issues/4878
This commit is contained in:
chrislu 2023-09-28 07:58:43 -07:00
parent abe599ee4a
commit 40888b5612

View file

@ -10,9 +10,9 @@ import (
// LockTable is a table of locks that can be acquired.
// Locks are acquired in order of request.
type LockTable[T comparable] struct {
lockIdSeq int64
mu sync.Mutex
locks map[T]*LockEntry
lockIdSeq int64
}
type LockEntry struct {