You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Josh McKenzie (Jira)" <ji...@apache.org> on 2020/04/07 19:42:00 UTC
[jira] [Commented] (CASSANDRA-15703) When CDC is disabled
bootstrapping breaks
[ https://issues.apache.org/jira/browse/CASSANDRA-15703?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17077522#comment-17077522 ]
Josh McKenzie commented on CASSANDRA-15703:
-------------------------------------------
#1 seems both simpler and more logically correct IMO. We've essentially shifted the burden of discerning whether a node knows about a column in its local schema from the receiver to the sender (post 8099 and post 12697 as I understand it from memory long ago).
> When CDC is disabled bootstrapping breaks
> -----------------------------------------
>
> Key: CASSANDRA-15703
> URL: https://issues.apache.org/jira/browse/CASSANDRA-15703
> Project: Cassandra
> Issue Type: Bug
> Components: Consistency/Bootstrap and Decommission
> Reporter: T Jake Luciani
> Priority: Normal
> Fix For: 3.11.x
>
>
> Related to CASSANDRA-12697
> There is an edge case left over. If a cluster had enabled CDC on a table then subsequently set cdc=false, subsequent bootstraps break.
>
> This is because the cdc column is false on the existing nodes but null on the bootstrapping node, causing the schema sha to never match.
>
> There are a couple possible fixes:
> 1. Since 12697 was only about upgrades we can serialize the cdc column IFF the cluster nodes are all on the same version.
> 2. We can force cdc=false on all tables where it's null.
>
> I think #1 is probably simpler. #2 would probably cause more of the same problem if nodes are not all updated with the fix.
>
>
--
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