mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2025-11-24 08:46:54 +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
@@ -361,6 +361,12 @@ func (s *Store) SetStopping() {
|
||||
}
|
||||
}
|
||||
|
||||
func (s *Store) LoadNewVolumes() {
|
||||
for _, location := range s.Locations {
|
||||
location.loadExistingVolumes(s.NeedleMapKind)
|
||||
}
|
||||
}
|
||||
|
||||
func (s *Store) Close() {
|
||||
for _, location := range s.Locations {
|
||||
location.Close()
|
||||
|
||||
Reference in New Issue
Block a user