diff options
| author | Konstantin Lebedev <9497591+kmlebedev@users.noreply.github.com> | 2022-09-29 00:44:13 +0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-09-28 12:44:13 -0700 |
| commit | 301b678147c4cca7a3a7b70273ddf389cfcd133a (patch) | |
| tree | a53cdf0b5f0efd32326b6b6699181c7022f03998 /weed/server/volume_server.go | |
| parent | 47fd5d3fa1803fddf277f565da1c914b21a45fe3 (diff) | |
| download | seaweedfs-301b678147c4cca7a3a7b70273ddf389cfcd133a.tar.xz seaweedfs-301b678147c4cca7a3a7b70273ddf389cfcd133a.zip | |
[volume] Add new volumes to HUP(reload) signal (#3755)
Add new volumes to HUP(reload) signal
Diffstat (limited to 'weed/server/volume_server.go')
| -rw-r--r-- | weed/server/volume_server.go | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/weed/server/volume_server.go b/weed/server/volume_server.go index 8e20b0846..8c6c63c56 100644 --- a/weed/server/volume_server.go +++ b/weed/server/volume_server.go @@ -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() |
