T Jake Luciani created CASSANDRA-15703:
------------------------------------------

             Summary: 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


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-unsubscr...@cassandra.apache.org
For additional commands, e-mail: commits-h...@cassandra.apache.org

Reply via email to