Pavel Emelyanov
b2a62d2b59
Merge 'db: range_tombstone_list: Deoverlap empty range tombstones' from Tomasz Grabiec
...
Appending an empty range adjacent to an existing range tombstone would
not deoverlap (by dropping the empty range tombstone) resulting in
different (non canoncial) result depending on the order of appending.
Suppose that range tombstone [a, b] covers range tombstone [x, x), and [a, x) and [x, b) are range tombstones which correspond to [a, b] split around position x.
Appending [a, x) then [x, b) then [x, x) would give [a, b)
Appending [a, x) then [x, x) then [x, b) would give [a, x), [x, x), [x, b)
The fix is to drop empty range tombstones in range_tombstone_list so that the result is canonical.
Fixes #9661
Closes #9764
* github.com:scylladb/scylla:
range_tombstone_list: Deoverlap adjacent empty ranges
range_tombstone_list: Convert to work in terms of position_in_partition
2021-12-16 10:00:40 +03:00
..
2021-06-06 19:18:49 +03:00
2021-06-06 19:18:49 +03:00
2021-10-05 12:57:54 +02:00
2021-06-06 19:18:49 +03:00
2021-06-06 19:18:49 +03:00
2021-06-06 19:18:49 +03:00
2021-11-17 15:21:36 +02:00
2021-11-23 08:27:30 +02:00
2021-06-06 19:18:49 +03:00
2021-06-06 19:18:49 +03:00
2021-12-02 19:43:30 +02:00
2021-12-10 12:35:12 +03:00
2021-06-06 19:18:49 +03:00
2021-07-27 20:06:53 +03:00
2021-07-08 16:53:38 +03:00
2021-06-06 19:18:49 +03:00
2021-06-06 19:18:49 +03:00
2021-06-06 19:18:49 +03:00
2021-06-06 19:18:49 +03:00
2021-06-06 19:18:49 +03:00
2021-10-05 12:58:55 +02:00
2021-06-06 19:18:49 +03:00
2021-06-06 19:18:49 +03:00
2021-07-02 19:02:14 +02:00
2021-06-06 19:18:49 +03:00
2021-06-06 19:18:49 +03:00
2021-06-06 19:18:49 +03:00
2021-11-16 17:44:56 +02:00
2021-06-06 19:18:49 +03:00
2021-06-06 19:18:49 +03:00
2021-10-20 17:54:17 +03:00
2021-07-19 14:42:38 +02:00
2021-06-07 15:58:35 +03:00
2021-06-06 19:18:49 +03:00
2021-06-06 19:18:49 +03:00
2021-06-06 19:18:49 +03:00
2021-08-08 08:01:19 +02:00
2021-11-14 14:25:18 +02:00
2021-08-22 21:21:46 +03:00
2021-11-30 08:33:04 +02:00
2021-06-06 19:18:49 +03:00
2021-12-07 12:18:07 +02:00
2021-12-09 21:01:25 +02:00
2021-07-08 17:52:34 +03:00
2021-06-06 19:18:49 +03:00
2021-06-06 19:18:49 +03:00
2021-06-06 19:18:49 +03:00
2021-09-13 18:05:11 +03:00
2021-08-22 21:21:46 +03:00
2021-06-06 19:18:49 +03:00
2021-06-06 19:18:49 +03:00
2021-08-08 08:01:19 +02:00
2021-12-10 15:48:49 +02:00
2021-06-06 19:18:49 +03:00
2021-06-06 19:18:49 +03:00
2021-11-15 17:58:46 +02:00
2021-06-06 19:18:49 +03:00
2021-06-06 19:18:49 +03:00
2021-10-24 11:29:23 +03:00
2021-09-15 11:04:34 +02:00
2021-06-06 19:18:49 +03:00
2021-11-22 17:42:49 +02:00
2021-06-06 19:18:49 +03:00
2021-06-07 21:41:08 +03:00
2021-06-06 19:18:49 +03:00
2021-06-06 19:18:49 +03:00
2021-06-06 19:18:49 +03:00
2021-08-08 08:01:19 +02:00
2021-06-06 19:18:49 +03:00
2021-06-06 19:18:49 +03:00
2021-06-06 19:18:49 +03:00
2021-11-29 21:45:21 -05:00
2021-06-06 19:18:49 +03:00
2021-08-22 21:11:52 +03:00
2021-06-06 19:18:49 +03:00
2021-06-06 19:18:49 +03:00
2021-06-06 19:18:49 +03:00
2021-12-09 13:22:14 +01:00
2021-10-05 11:57:02 +03:00
2021-12-03 10:51:45 +02:00
2021-06-06 19:18:49 +03:00
2021-11-15 17:58:46 +02:00
2021-11-15 17:58:46 +02:00
2021-12-07 12:18:07 +02:00
2021-11-15 17:58:46 +02:00
2021-11-15 17:58:46 +02:00
2021-07-26 17:27:03 +02:00
2021-11-17 09:01:24 +02:00
2021-07-28 13:28:51 +03:00
2021-06-06 19:18:49 +03:00
2021-06-06 19:18:49 +03:00
2021-11-15 17:58:46 +02:00
2021-08-08 08:01:19 +02:00
2021-06-06 19:18:49 +03:00
2021-06-06 19:18:49 +03:00
2021-07-28 13:28:51 +03:00
2021-06-06 19:18:49 +03:00
2021-12-13 21:31:36 +01:00
2021-10-10 18:17:53 +03:00
2021-09-30 07:23:43 +03:00
2021-06-06 19:18:49 +03:00
2021-06-06 19:18:49 +03:00
2021-11-15 17:58:46 +02:00
2021-12-11 12:31:07 +02:00
2021-09-20 15:44:14 +03:00
2021-09-07 15:47:22 +03:00
2021-06-06 19:18:49 +03:00
2021-08-08 08:01:19 +02:00
2021-06-06 19:18:49 +03:00
2021-06-06 19:18:49 +03:00
2021-10-01 10:20:28 +03:00
2021-06-06 19:18:49 +03:00
2021-06-06 19:18:49 +03:00
2021-11-19 22:06:01 -03:00
2021-12-10 17:14:45 -03:00
2021-11-29 11:10:46 +01:00
2021-11-15 17:58:46 +02:00
2021-12-14 14:26:17 +02:00
2021-06-06 19:18:49 +03:00
2021-09-20 15:44:14 +03:00
2021-07-02 19:02:14 +02:00
2021-11-19 22:06:01 -03:00
2021-11-15 17:58:46 +02:00
2021-12-01 16:28:46 +02:00
2021-07-21 16:45:30 +03:00
2021-07-01 19:16:11 +03:00
2021-12-15 13:54:23 +02:00
2021-06-06 19:18:49 +03:00
2021-08-02 22:26:26 +03:00
2021-06-06 19:18:49 +03:00
2021-06-06 19:18:49 +03:00
2021-07-28 13:30:32 +03:00
2021-06-06 19:18:49 +03:00
2021-06-06 19:18:49 +03:00
2021-07-28 13:19:24 +03:00
2021-06-06 19:18:49 +03:00
2021-09-24 11:05:53 +02:00
2021-09-09 11:49:05 +03:00
2021-11-15 17:58:46 +02:00
2021-11-04 09:54:00 -03:00
2021-10-27 17:02:00 +03:00
2021-11-17 15:21:36 +02:00
2021-10-27 17:02:00 +03:00
2021-06-06 19:18:49 +03:00
2021-10-27 17:02:00 +03:00
2021-08-24 16:30:51 +03:00
2021-11-11 16:39:34 +03:00