Botond Dénes
f8ac8540bd
Merge 'logstor: compare records by timestamp and segment sequence number' from Michael Litvak
...
Add the record timestamp. The timestamp is extracted from the row marker
of the mutation when we write it.
When inserting a record to index, we compare it with the existing
record, and insert it only if it has newer timestamp.
Add a segment sequence number that is a global (per-shard) increasing
number that is allocated when getting a new segment for write, and is
written in buffer headers in the segment.
It is used to distinguish between buffers written to different generations
of a segment, and for recovery to break ties by keeping the record
from the newest segment.
Refs https://scylladb.atlassian.net/browse/SCYLLADB-770
no backport - logstor is a new feature
Closes scylladb/scylladb#29933
* github.com:scylladb/scylladb:
test: logstor: add basic delete test
logstor: rewrite segment seq num from streaming
logstor: add segment sequence number
logstor: get_segment helper
logstor: compare records by timestamp
2026-05-21 08:44:18 +03:00
..
2026-05-19 16:07:33 +02:00
2026-05-15 18:12:48 +02:00
2026-04-12 19:46:33 +03:00
2026-05-20 14:11:41 +02:00
2026-05-12 16:24:13 +03:00
2026-04-15 16:30:55 +02:00
2026-05-18 12:23:40 +02:00
2026-04-12 19:46:33 +03:00
2026-05-18 12:23:40 +02:00
2026-04-20 17:57:38 +03:00
2026-05-05 18:56:37 +03:00
2026-05-04 15:58:45 +03:00
2026-05-20 06:55:15 +02:00
2026-04-12 19:46:33 +03:00
2026-04-12 19:46:33 +03:00
2026-04-12 19:46:33 +03:00
2026-04-19 11:06:30 +02:00
2026-04-12 19:46:33 +03:00
2026-04-12 19:46:33 +03:00
2026-04-12 19:46:33 +03:00
2026-04-12 19:46:33 +03:00
2026-04-13 18:33:41 +02:00
2026-04-12 19:46:33 +03:00
2026-04-12 19:46:33 +03:00
2026-04-12 19:46:33 +03:00
2026-04-12 19:46:33 +03:00
2026-04-12 19:46:33 +03:00
2026-04-12 19:46:33 +03:00
2026-04-12 19:46:33 +03:00
2026-04-19 11:06:30 +02:00
2026-04-20 17:57:38 +03:00
2026-04-12 19:46:33 +03:00
2026-04-12 19:46:33 +03:00
2026-04-12 19:46:33 +03:00
2026-04-12 19:46:33 +03:00
2026-04-15 14:28:31 +02:00
2026-05-17 22:16:31 +03:00
2025-05-10 16:30:18 +02:00
2026-04-12 19:46:33 +03:00
2026-04-12 19:46:33 +03:00
2026-04-12 19:46:33 +03:00
2026-04-30 21:27:56 +03:00
2026-04-12 19:46:33 +03:00
2026-04-12 19:46:33 +03:00
2026-04-12 19:46:33 +03:00
2026-04-12 19:46:33 +03:00
2026-04-12 19:46:33 +03:00
2026-04-12 19:46:33 +03:00
2026-04-21 17:45:11 +02:00
2026-04-12 19:46:33 +03:00
2026-04-12 19:46:33 +03:00
2026-04-12 19:46:33 +03:00
2026-05-04 11:25:46 +02:00
2026-05-06 15:40:09 +03:00
2026-04-12 19:46:33 +03:00
2026-04-12 19:46:33 +03:00
2026-04-12 19:46:33 +03:00
2026-04-12 19:46:33 +03:00
2026-04-12 19:46:33 +03:00
2026-04-12 19:46:33 +03:00
2026-04-12 19:46:33 +03:00
2026-04-23 17:03:48 +02:00
2026-05-13 13:58:44 +03:00
2026-04-12 19:46:33 +03:00
2026-04-12 19:46:33 +03:00
2026-04-20 17:57:38 +03:00
2026-05-19 10:44:24 +03:00
2026-04-12 19:46:33 +03:00
2026-05-17 17:22:43 +02:00
2026-04-12 19:46:33 +03:00
2026-04-12 19:46:33 +03:00
2026-05-20 13:06:17 +02:00
2026-04-12 19:46:33 +03:00
2026-04-12 19:46:33 +03:00
2026-04-12 19:46:33 +03:00
2026-04-12 19:46:33 +03:00
2026-04-12 19:46:33 +03:00
2026-04-19 11:06:30 +02:00
2026-04-12 19:46:33 +03:00
2026-04-12 19:46:33 +03:00
2026-04-24 09:10:43 +03:00
2026-04-12 19:46:33 +03:00
2026-04-20 17:57:38 +03:00
2026-01-25 18:17:27 +02:00
2026-04-12 19:46:33 +03:00
2026-04-12 19:46:33 +03:00
2026-05-05 18:56:37 +03:00
2026-04-20 17:57:38 +03:00
2026-04-12 19:46:33 +03:00
2026-04-20 15:28:34 +02:00
2026-04-20 17:57:38 +03:00
2026-04-12 19:46:33 +03:00
2026-04-12 19:46:33 +03:00
2026-04-12 19:46:33 +03:00
2026-04-12 19:46:33 +03:00
2026-04-20 17:57:38 +03:00
2026-05-11 15:38:36 +03:00
2026-04-12 19:46:33 +03:00
2026-04-12 19:46:33 +03:00
2026-04-21 19:08:57 +03:00
2026-04-12 19:46:33 +03:00
2026-04-12 19:46:33 +03:00
2026-05-11 14:08:20 +03:00
2026-04-12 19:46:33 +03:00
2026-04-12 19:46:33 +03:00
2026-04-20 15:28:34 +02:00
2026-04-20 15:28:34 +02:00
2026-04-12 19:46:33 +03:00
2026-04-12 19:46:33 +03:00
2026-04-12 19:46:33 +03:00
2026-04-12 19:46:33 +03:00
2026-04-12 19:46:33 +03:00
2026-04-12 19:46:33 +03:00
2026-04-12 19:46:33 +03:00
2026-04-20 17:57:38 +03:00
2026-04-16 08:38:33 +02:00
2026-04-12 19:46:33 +03:00
2026-04-12 19:46:33 +03:00
2026-04-12 19:46:33 +03:00
2026-04-20 17:57:38 +03:00
2026-04-12 19:46:33 +03:00
2026-04-12 19:46:33 +03:00
2026-05-12 23:20:55 +02:00
2026-04-12 19:46:33 +03:00
2026-04-19 11:06:30 +02:00
2026-04-12 19:46:33 +03:00
2026-05-13 16:31:05 +02:00
2026-04-12 19:46:33 +03:00
2026-04-20 07:39:51 +03:00
2026-04-12 19:46:33 +03:00
2026-04-28 08:00:54 +02:00
2026-04-15 19:23:00 +02:00
2026-04-19 11:06:30 +02:00
2026-04-12 19:46:33 +03:00
2026-04-12 19:46:33 +03:00
2026-05-04 15:58:45 +03:00
2026-05-06 17:02:10 +03:00
2026-04-24 09:10:43 +03:00
2026-04-12 19:46:33 +03:00
2026-04-12 19:46:33 +03:00
2026-05-15 17:46:28 +02:00
2026-04-12 19:46:33 +03:00
2026-04-12 19:46:33 +03:00
2026-05-05 18:56:37 +03:00
2026-04-12 19:46:33 +03:00
2026-04-12 19:46:33 +03:00
2026-05-19 19:36:54 +02:00
2026-04-12 19:46:33 +03:00
2026-04-12 19:46:33 +03:00
2026-04-19 11:06:30 +02:00
2026-04-12 19:46:33 +03:00
2026-04-12 19:46:33 +03:00
2026-04-12 19:46:33 +03:00
2026-04-12 19:46:33 +03:00
2026-04-13 11:05:03 +02:00
2026-05-12 12:38:25 +03:00
2026-04-12 19:46:33 +03:00
2026-05-05 18:56:37 +03:00
2026-04-12 19:46:33 +03:00
2026-04-12 19:46:33 +03:00
2026-05-14 10:23:42 +02:00
2026-04-17 21:13:52 +03:00
2026-04-12 19:46:33 +03:00
2026-04-12 19:46:33 +03:00
2026-04-12 19:46:33 +03:00
2026-04-12 19:46:33 +03:00
2026-04-12 19:46:33 +03:00
2026-04-30 21:27:56 +03:00