You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Alex Petrov (Jira)" <ji...@apache.org> on 2021/03/15 11:52:00 UTC

[jira] [Comment Edited] (CASSANDRA-12949) CFS.setCompressionParameters() method can affect schema globally

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

Alex Petrov edited comment on CASSANDRA-12949 at 3/15/21, 11:51 AM:
--------------------------------------------------------------------

Thank you for the review! Committed to 3.0 with [28decd307f1005b603679c88f883cd74d2cc0635|https://github.com/apache/cassandra/commit/28decd307f1005b603679c88f883cd74d2cc0635], and merged up to [3.11|https://github.com/apache/cassandra/commit/2a6e4df054262d3ebeba3d0053a72d75477de871] and [trunk|https://github.com/apache/cassandra/commit/188997026e4a4620538f8c4d519cf38cc160b7b3].


was (Author: ifesdjeen):
Thank you for the review! Committed to 3.0 with [28decd307f1005b603679c88f883cd74d2cc0635|https://github.com/apache/cassandra/commit/28decd307f1005b603679c88f883cd74d2cc0635], and merged up to [3.11https://github.com/apache/cassandra/commit/2a6e4df054262d3ebeba3d0053a72d75477de871] and [trunk|https://github.com/apache/cassandra/commit/188997026e4a4620538f8c4d519cf38cc160b7b3].

> CFS.setCompressionParameters() method can affect schema globally
> ----------------------------------------------------------------
>
>                 Key: CASSANDRA-12949
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-12949
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Legacy/Distributed Metadata
>            Reporter: Aleksey Yeschenko
>            Assignee: Alex Petrov
>            Priority: Normal
>             Fix For: 4.0-beta5, 3.0.x, 3.11.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
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cassandra.apache.org
For additional commands, e-mail: commits-help@cassandra.apache.org