mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2024-01-19 02:48:24 +00:00
volume: address "unaligned 64-bit atomic operation"
fix https://github.com/chrislusf/seaweedfs/issues/2177
This commit is contained in:
parent
2cb8b31ea7
commit
8fe75692ee
|
@ -17,6 +17,10 @@ import (
|
|||
)
|
||||
|
||||
type VolumeServer struct {
|
||||
inFlightDataSize int64
|
||||
concurrentUploadLimit int64
|
||||
inFlightDataLimitCond *sync.Cond
|
||||
|
||||
SeedMasterNodes []string
|
||||
currentMaster string
|
||||
pulseSeconds int
|
||||
|
@ -35,10 +39,6 @@ type VolumeServer struct {
|
|||
fileSizeLimitBytes int64
|
||||
isHeartbeating bool
|
||||
stopChan chan bool
|
||||
|
||||
inFlightDataSize int64
|
||||
inFlightDataLimitCond *sync.Cond
|
||||
concurrentUploadLimit int64
|
||||
}
|
||||
|
||||
func NewVolumeServer(adminMux, publicMux *http.ServeMux, ip string,
|
||||
|
|
Loading…
Reference in a new issue