Skip to content
Snippets Groups Projects
Commit 50af08bd authored by Jay Guo's avatar Jay Guo
Browse files

[FAB-12919] Serialize `SendSubmit` invocation.


This CR adds a mutex to guard parallel access to `SendSubmit`
rpc call in etcdraft chain, due to thread-unsafe of gRPC.

This is going to be tested by subsequent benchmark tests.
Without this serialization, loading etcdraft orderer with
many parallel requests would most likely cause a dead-lock
in communication, which causes benchmark test to stuck.

Change-Id: Id2f6e8f86f7465880725e1aecc7374c3e9e4106e
Signed-off-by: default avatarJay Guo <guojiannan1101@gmail.com>
parent 35f018d5
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment