1
0
Fork 0
mirror of https://github.com/chrislusf/seaweedfs synced 2024-07-01 06:40:45 +02:00

another fix related to 64 bit alignment

fix https://github.com/chrislusf/seaweedfs/issues/2177
This commit is contained in:
Chris Lu 2021-07-05 16:30:41 -07:00
parent 3df153421d
commit 44b50b2fdf

View file

@ -18,10 +18,10 @@ const (
) )
type ExclusiveLocker struct { type ExclusiveLocker struct {
masterClient *wdclient.MasterClient
token int64 token int64
lockTsNs int64 lockTsNs int64
isLocking bool isLocking bool
masterClient *wdclient.MasterClient
} }
func NewExclusiveLocker(masterClient *wdclient.MasterClient) *ExclusiveLocker { func NewExclusiveLocker(masterClient *wdclient.MasterClient) *ExclusiveLocker {