mirror of
https://github.com/cubefs/cubefs.git
synced 2026-08-02 02:00:56 +00:00
fix(master): adjust the shutdown sequence of disk and dp decommission goroutines during leader changing.
close: #1000520724 Signed-off-by: shuqiang-zheng <zhengshuqiang@oppo.com>
This commit is contained in:
parent
268e113f7b
commit
31aaaf00ad
@ -1067,8 +1067,8 @@ func (ns *nodeSet) startDecommissionSchedule() {
|
||||
}
|
||||
|
||||
func (ns *nodeSet) stopDecommissionSchedule() {
|
||||
ns.decommissionDataPartitionList.Stop()
|
||||
ns.stopDecommissionDiskSchedule()
|
||||
ns.decommissionDataPartitionList.Stop()
|
||||
}
|
||||
|
||||
func (ns *nodeSet) dataNodeLen() (count int) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user