cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Brian Wawok (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (CASSANDRA-12105) ThriftServer.stop is not thread safe
Date Tue, 28 Jun 2016 21:42:57 GMT

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

Mime
View raw message