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-11027) Duplicate column familiy initialization
Date Wed, 03 Feb 2016 11:40:39 GMT

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

Aleksey Yeschenko commented on CASSANDRA-11027:
-----------------------------------------------

LGTM, though fix the comment on commit ("Make sure the keyspace is initialized and initialize
the table." to remove the table part).

> Duplicate column familiy initialization
> ---------------------------------------
>
>                 Key: CASSANDRA-11027
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-11027
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Distributed Metadata
>            Reporter: Sergio Bossa
>            Assignee: Sam Tunnicliffe
>             Fix For: 3.0.x, 3.x
>
>
> Schema#addTable initializes the column family twice, as can be seen in: https://github.com/apache/cassandra/blob/cassandra-3.0/src/java/org/apache/cassandra/config/Schema.java#L605
> This doesn't seem to be right, with the second one probably being the one to keep to
avoid race conditions with looking up the cf from the schema (as originally intended by CASSANDRA-10761?).



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

Mime
View raw message