Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ISSUE-184] Support async submit events. #185

Merged
merged 2 commits into from
Sep 28, 2023

Conversation

cbqiao
Copy link
Contributor

@cbqiao cbqiao commented Sep 26, 2023

What changes were proposed in this pull request?

使用独立的rpc不能保证有序,在rpc server端可能接收到乱序,如果在一组rpc请求内,允许乱序,而不同组直接通过同步等待,保证严格有序即可。
在scheduler每一轮发送的一组event,对于发给单个worker的event,已经合并到ComposeEvent中,不同event是发给不同的worker的,也即这些event可以允许乱序,在运行时表现为不同worker收到event时间先后顺序不同而已。
当一组event发送完成后,同步等待所有event的响应,直到确认所有event的回应后,才继续执行。

How was this PR tested?

  • Tests have Added for the changes
  • Production environment verified

@pengzhiwei2018 pengzhiwei2018 merged commit 2e9732d into TuGraph-family:master Sep 28, 2023
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants