You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Tyler Hobbs (JIRA)" <ji...@apache.org> on 2015/05/14 21:43:00 UTC

[jira] [Commented] (CASSANDRA-9366) make Functions.declared thread-safe

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

Tyler Hobbs commented on CASSANDRA-9366:
----------------------------------------

+1, with one minor nit that you can fix on commit: in {{Functions.declare()}}, move the variable assignment outside of the method call.

> make Functions.declared thread-safe
> -----------------------------------
>
>                 Key: CASSANDRA-9366
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-9366
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Core
>            Reporter: Robert Stupp
>            Assignee: Robert Stupp
>             Fix For: 2.2.x
>
>         Attachments: 9366.txt
>
>
> {{Functions.declared}} is an {{ArrayListMultimap}}, which is not thread safe.
> This wasn't a problem before UDFs. But with UDFs there can be concurrent reads & writes.
> Need to make it thread safe.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)