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

Add parallel writes test. #87

Closed
wants to merge 1 commit into from
Closed

Conversation

sunli829
Copy link
Contributor

Hey, I am here again. 🙂

I found a small problem. When I call client_write in parallel, it will block and keep outputting the following log.

ERROR async_raft::replication: timeout while sending AppendEntries RPC to target error=deadline has elapsed
ERROR async_raft::replication: timeout while sending AppendEntries RPC to target error=deadline has elapsed
ERROR async_raft::replication: timeout while sending AppendEntries RPC to target error=deadline has elapsed
ERROR async_raft::replication: timeout while sending AppendEntries RPC to target error=deadline has elapsed
ERROR async_raft::replication: timeout while sending AppendEntries RPC to target error=deadline has elapsed

So I opened this PR to reproduce the problem.

@sunli829
Copy link
Contributor Author

After further testing, I found that this problem is actually not related to parallel writing. AppendEntries takes too long, and this problem will definitely occur. hope it is of help to you. 😁

@MarinPostma
Copy link
Contributor

@sunli829 could this be related to this? #76

@thedodd
Copy link
Collaborator

thedodd commented Nov 16, 2020

@MarinPostma I think you are correct. I definitely need to prioritize getting that issue addressed.

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.

None yet

3 participants