geode-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (GEODE-5495) Double decrement of HAEventWrapper ref count due to race between QRM and DestroyRQ
Date Thu, 02 Aug 2018 00:18:00 GMT

     [ https://issues.apache.org/jira/browse/GEODE-5495?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

ASF GitHub Bot updated GEODE-5495:
----------------------------------
    Labels: pull-request-available  (was: )

> Double decrement of HAEventWrapper ref count due to race between QRM and DestroyRQ
> ----------------------------------------------------------------------------------
>
>                 Key: GEODE-5495
>                 URL: https://issues.apache.org/jira/browse/GEODE-5495
>             Project: Geode
>          Issue Type: Bug
>          Components: client queues
>            Reporter: Ryan McMahon
>            Assignee: Ryan McMahon
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 1.8.0
>
>
> When a client disconnects due to network issues e.g. SocketTimeoutExceptions we will
destroy the HARegionQueue for that client.  As part of that process, we decrement the reference
count on the HAEventWrappers used by that client in the HAContainer.
> However, we may still be receiving queue removal messages for that client which results
in a decrement of those same HAEventWrappers.  This double decrementing can result in premature
removal of the HAEventWrapper from the HAContainer even though other clients still need it.
> We need to prevent this double decrementing and premature removal, perhaps through synchronization
between the destroyRQ() logic and queue removal messages.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message