Skip to content

Chain模式退出有个时序的问题 #591

@nevstop

Description

@nevstop

假如有三个节点:Chain$1 Chain$2 Chain$3。

退出时,现在的逻辑是发出 Macro: Exit 三次, 保证三个节点都退出。

但是假如 Chain$1 退出时间超出了外部的等待时间,这个时候第二次发送的 Macro: Exit, 可能会被继续推送到 Chain$1的队列中,这样就会丢失掉一个节点的退出,导致无法完全退出。

需要看看如何从设计上避免这个问题

Metadata

Metadata

Assignees

Labels

Type

Projects

Status

Linked to PR

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions