mirror of
https://github.com/scylladb/scylladb.git
synced 2026-06-06 15:03:06 +00:00
"Fixes #884 Fixes #895 Also at seastar-dev: calle/truncate_more 1.) Change truncation records to be stored with IDL serialization 2.) Fix db::serializers encoding of replay_position 3.) Detect attempted reading of Origin truncation records, and instead of crashing, ignore and warn. 4.) Change truncation time stamps to be generated per-shard, _after_ CF flush is done, otherwise data in memtables at flush would be retained/replayed on next start. Retain the highest time stamp generated. Note for (3): This patch set does _not_ clear out origin records automatically. This because I feel that is a somewhat drastic and irreversible thing to do. If we want to avail the user of a means to get rid of the (3) warning, we should probably tell him to either use cqlsh, or add an API call for this, so he can do it explicitly. "