[ 
https://issues.apache.org/jira/browse/GEODE-8651?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17221843#comment-17221843
 ] 

ASF subversion and git services commented on GEODE-8651:
--------------------------------------------------------

Commit 65e20b5fca3fe116f09b0ba706253a97f3799529 in geode's branch 
refs/heads/support/1.12 from Xiaojian Zhou
[ https://gitbox.apache.org/repos/asf?p=geode.git;h=65e20b5 ]

GEODE-8651: MsgReader's readHeader and readMessage should be synchron… (#5665)


    Co-authored-by: Anil <aging...@pivotal.io>
    Co-authored-by: Darrel Schneider <dar...@vmware.com>
    Co-authored-by: Bill Burcham <bill.burc...@gmail.com>
    Co-authored-by: Ernie Burghardt <eburgha...@pivotal.io>

(cherry picked from commit c6a0b31cd663b43fb67d00ac3de863644c0bb6cc)


> 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)

Reply via email to