mirror of
https://github.com/scylladb/scylladb.git
synced 2026-04-21 00:50:35 +00:00
After the concept of the seed nodes was removed we can distinguish whether the node is the first node in the cluster or not. Thanks to this we can avoid adding delay to the timestamp of the first CDC generation. The delay is added to the timestamp to make sure that all the nodes in the cluster manage to learn about it before the timestamp becomes in the past. It is safe to not add the delay for the first node because we know it's the only node in the cluster and no one else has to learn about the timestamp. Fixes #7645 Tests: unit(dev) Closes #7654 * github.com:scylladb/scylla: cdc: Don't add delay to the timestamp of the first generation cdc: Change for_testing to add_delay in make_new_cdc_generation