Files
scylladb/service
Kamil Braun bb477b9bb4 storage_service: simplify CDC generation management during node replace
Previously, when node A replaced node B, it would obtain B's
generation timestamp from its application state (gossiped by other
nodes) and start gossiping it immediately on bootstrap.

But that's not necessary:
1. if this is the timestamp of the last (current) generation, we would
   obtain it from other nodes anyway (every node gossips the last known
   timestamp),
2. if this is the timestamp of an earlier generation, we would forget
   it immediately and start gossiping the last timestamp (obtained from
   other nodes).

This commit simplifies the bootstrap code (in node-replace case) a bit:
the replacing node no longer attempts to retrieve the CDC generation
timestamp from the node being replaced.
2021-04-06 13:15:31 +02:00
..