[ https://issues.apache.org/jira/browse/GEODE-8651?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17221552#comment-17221552 ]
ASF GitHub Bot commented on GEODE-8651: --------------------------------------- gesterzhou commented on pull request #5665: URL: https://github.com/apache/geode/pull/5665#issuecomment-717365736 > Do we have any tests that reproduce the behavior that we are trying to fix with this synchronization? > > Are there any existing tests that reproduce this error? > > If none of the above are true, could you please update ticket with tests that prove that this problem has been resolved. The test is added. ---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: us...@infra.apache.org > MsgReader's readHeader and readMessage should be synchronized > ------------------------------------------------------------- > > Key: GEODE-8651 > URL: https://issues.apache.org/jira/browse/GEODE-8651 > Project: Geode > Issue Type: Bug > Components: membership > Reporter: Xiaojian Zhou > Assignee: Xiaojian Zhou > Priority: Major > Labels: GeodeOperationAPI, pull-request-available > > When the connection reads direct ack, there're 2 steps: readHeader and > readMessage. > Another thread could jump in between to clear the buffer. > The another thread is doing notifyHandShakeWaiter's second call, which could > clear the buffer. -- This message was sent by Atlassian Jira (v8.3.4#803005)