cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Aleksey Yeschenko (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CASSANDRA-12105) ThriftServer.stop is not thread safe
Date Mon, 11 Jul 2016 14:06:11 GMT

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

Aleksey Yeschenko commented on CASSANDRA-12105:
-----------------------------------------------

Committed version 2 to 2.2 and merged upwards. Not going to touch 2.1, as this is not a critical
bug, by any definition. Also, in the future, please submit properly formatted patches that
can be applied directly, as per [this document|https://docs.google.com/document/d/1d_AzYQo74de9utbbpyXxW2w-b0__sFhC7b24ibiJqjw/view].
Thank you.

> 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
>            Assignee: Brian Wawok
>            Priority: Critical
>             Fix For: 2.2.8, 3.0.9, 3.9
>
>         Attachments: patch1.txt, patch2.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