mirror of
https://github.com/scylladb/scylladb.git
synced 2026-06-02 04:56:58 +00:00
This function retrieves the persisted timestamp of the last known CDC generation (which this node is currently gossiping to other nodes). It checks that the timestamp is present; if not, it throws an error. The check is unnecessary. It's used only in a quite esoteric place (start_gossiping, which implements an almost-never-used API call), and it's fine if the timestamp is gone - in start_gossiping, we can start gossiping the tokens without the CDC generation timestamp (well, if the timestamp is not present in system tables, something weird must have happened, but that doesn't mean we can't resume gossiping - fixing CDC generation management in such a case is a separate problem).