关于上游流量同步覆盖修复,以及新增redis同步迁移
All checks were successful
构建并部署到测试环境(无 SSH) / build-and-deploy (push) Successful in 8m25s
All checks were successful
构建并部署到测试环境(无 SSH) / build-and-deploy (push) Successful in 8m25s
This commit is contained in:
@@ -123,6 +123,12 @@ func (p *PollingInitializer) GetProgress() InitProgress {
|
||||
}
|
||||
}
|
||||
|
||||
// InitCards 将指定卡批量写入轮询分片队列和卡缓存。
|
||||
// 用于迁移收尾等按批次重建场景;调用方负责决定卡集合和是否先清理旧队列成员。
|
||||
func (p *PollingInitializer) InitCards(ctx context.Context, cards []*model.IotCard) error {
|
||||
return p.initBatch(ctx, cards)
|
||||
}
|
||||
|
||||
// run 执行渐进式初始化
|
||||
func (p *PollingInitializer) run(ctx context.Context) {
|
||||
defer p.wg.Done()
|
||||
|
||||
Reference in New Issue
Block a user