You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@geode.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2019/04/30 17:24:00 UTC

[jira] [Commented] (GEODE-6708) Possible NPE if two cache client initialization threads are active for the same client ID

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

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

Commit bc2a2fa5af374cfedfba4dc1abe6cbc2a7b719c8 in geode's branch refs/heads/develop from Ryan McMahon
[ https://gitbox.apache.org/repos/asf?p=geode.git;h=bc2a2fa ]

GEODE-6708: Ensuring single drainer and preventing NPE


> Possible NPE if two cache client initialization threads are active for the same client ID
> -----------------------------------------------------------------------------------------
>
>                 Key: GEODE-6708
>                 URL: https://issues.apache.org/jira/browse/GEODE-6708
>             Project: Geode
>          Issue Type: Bug
>          Components: client queues
>    Affects Versions: 1.10.0
>            Reporter: Ryan McMahon
>            Assignee: Ryan McMahon
>            Priority: Major
>          Time Spent: 2.5h
>  Remaining Estimate: 0h
>
> There are scenarios where a client will have several cache client initialization threads active (for instance, if the first thread blocked for a significant amount of time waiting for a lock). In that scenario, it is possible for two threads to create their own registration queues and only one "wins", then upon draining the queue the first thread to remove the queue can cause an NPE in the second thread because it was assumed the queue was still present.



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