You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Jorge Bay (JIRA)" <ji...@apache.org> on 2017/03/22 14:35:41 UTC
[jira] [Commented] (CASSANDRA-9996) Extra "keyspace updated"
SchemaChange when creating/removing a table
[ https://issues.apache.org/jira/browse/CASSANDRA-9996?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15936412#comment-15936412 ]
Jorge Bay commented on CASSANDRA-9996:
--------------------------------------
This looks like a duplicate of CASSANDRA-9646.
> Extra "keyspace updated" SchemaChange when creating/removing a table
> --------------------------------------------------------------------
>
> Key: CASSANDRA-9996
> URL: https://issues.apache.org/jira/browse/CASSANDRA-9996
> Project: Cassandra
> Issue Type: Bug
> Components: CQL
> Reporter: Olivier Michallat
> Priority: Minor
> Fix For: 2.2.x
>
>
> When a table gets created or removed, 2.2 sends an extra "keyspace updated" schema change event in addition to the normal "table created" event. 2.1 only sends table created.
> In {{LegacySchemaTables#mergeKeyspaces}}, the keyspace is added to {{altered}} so it calls {{Schema#updateKeyspace}}, which triggers the event.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)