You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Brian Wawok (JIRA)" <ji...@apache.org> on 2016/06/28 21:42:57 UTC
[jira] [Comment Edited] (CASSANDRA-12105) ThriftServer.stop is not
thread safe
[ https://issues.apache.org/jira/browse/CASSANDRA-12105?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15353758#comment-15353758 ]
Brian Wawok edited comment on CASSANDRA-12105 at 6/28/16 9:42 PM:
------------------------------------------------------------------
patch1 is I think the better way to fix this, but still could have issues depending what we do deep in stop.
was (Author: brian.wawok):
This is I think the better way to fix this, but still could have issues depending what we do deep in stop.
> ThriftServer.stop is not thread safe
> ------------------------------------
>
> Key: CASSANDRA-12105
> URL: https://issues.apache.org/jira/browse/CASSANDRA-12105
> Project: Cassandra
> Issue Type: Bug
> Reporter: Brian Wawok
> Priority: Critical
> Fix For: 2.1.x
>
> Attachments: patch1.txt
>
>
> There is a small thread safety issue in ThriftServer.stop(). If we have multiple calls to stop, one thread may NPE or otherwise do bad stuff.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)