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:
shuqiang-zheng 2025-12-05 19:04:06 +08:00 committed by 常亮
parent 268e113f7b
commit 31aaaf00ad

View File

@ -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) {