mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2025-09-18 19:07:55 +08:00
sync data first before stopping
This commit is contained in:
@@ -327,6 +327,9 @@ func (s *Store) CollectHeartbeat() *master_pb.Heartbeat {
|
||||
|
||||
func (s *Store) SetStopping() {
|
||||
s.isStopping = true
|
||||
for _, location := range s.Locations {
|
||||
location.SetStopping()
|
||||
}
|
||||
}
|
||||
|
||||
func (s *Store) Close() {
|
||||
|
Reference in New Issue
Block a user