mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2025-12-17 09:42:29 +08:00
[volume] Add new volumes to HUP(reload) signal (#3755)
Add new volumes to HUP(reload) signal
This commit is contained in:
committed by
GitHub
parent
47fd5d3fa1
commit
301b678147
@@ -137,6 +137,11 @@ func (vs *VolumeServer) SetStopping() {
|
||||
vs.store.SetStopping()
|
||||
}
|
||||
|
||||
func (vs *VolumeServer) LoadNewVolumes() {
|
||||
glog.V(0).Infoln(" Loading new volume ids ...")
|
||||
vs.store.LoadNewVolumes()
|
||||
}
|
||||
|
||||
func (vs *VolumeServer) Shutdown() {
|
||||
glog.V(0).Infoln("Shutting down volume server...")
|
||||
vs.store.Close()
|
||||
|
||||
Reference in New Issue
Block a user