Aleksey Yeschenko created CASSANDRA-12949:
---------------------------------------------

             Summary: CFS.setCompressionParameters() method can affect schema 
globally
                 Key: CASSANDRA-12949
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-12949
             Project: Cassandra
          Issue Type: Bug
            Reporter: Aleksey Yeschenko
             Fix For: 2.2.x, 3.0.x, 3.x


CFS.setCompressionParameters() method can affect schema globally, despite being 
intended as a way to change compression locally on just one node, for 
experimental purposes.

CFS.setCompactionParamaters(), on the other hand, works correctly, by never 
modifying the {{CFMetaData}} object in-place.

Its modification by CFS.setCompressionParameters() means that any subsequent 
ALTER that affects that table will pick up the change made by 
CFS.setCompressionParameters() and disseminate it to the rest of the cluster.



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

Reply via email to