lokidundun commented on code in PR #7719:
URL: https://github.com/apache/incubator-seata/pull/7719#discussion_r2450444588
##########
core/src/main/java/org/apache/seata/core/rpc/netty/AbstractNettyRemotingClient.java:
##########
@@ -183,8 +186,11 @@ public Object sendSyncRequest(Object msg) throws
TimeoutException {
LOGGER.debug("offer message: {}", rpcMessage.getBody());
}
if (!isSending) {
- synchronized (mergeLock) {
- mergeLock.notifyAll();
+ mergeLock.lock();
+ try {
+ mergeCondition.signalAll();
+ } finally {
+ mergeLock.unlock();
Review Comment:
Thanks for telling me.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]