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:
parent
3df153421d
commit
44b50b2fdf
|
@ -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 {
|
||||||
|
|
Loading…
Reference in a new issue