mirror of
https://github.com/scylladb/scylladb.git
synced 2026-06-05 14:33:08 +00:00
Following patch enables CDC by default and this means CDC has to work will all the clusters now. There is a problematic case when existing cluster with no CDC support is stopped, all the binaries are updated to newer version with CDC enabled by default. In such case, nodes know that they are already members of the cluster but they can't find any CDC generation so they will try to create one. This creation may fail due to lack of QUORUM for the write. Before this patch such situation would lead to node failing to start. After the change, the node will start but CDC generation will be missing. This will mean CDC won't be able to work on such cluster before nodetool checkAndRepairCdcStreams is run to fix the CDC generation. We still fail to bootstrap if the creation of CDC generation fails. Signed-off-by: Piotr Jastrzebski <piotr@scylladb.com>