cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tyler Hobbs (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CASSANDRA-9366) make Functions.declared thread-safe
Date Thu, 14 May 2015 19:43:00 GMT

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

Mime
View raw message