Botond Dénes
8f8284783a
Merge 'Fix handling of non-full clustering keys in the read path' from Tomasz Grabiec
...
This PR fixes several bugs related to handling of non-full
clustering keys.
One is in trim_clustering_row_ranges_to(), which is broken for non-full keys in reverse
mode. It will trim the range to position_in_partition_view::after_key(full_key) instead of
position_in_partition_view::before_key(key), hence it will include the
key in the resulting range rather than exclude it.
Fixes #12180
after_key() was creating a position which is after all keys prefixed
by a non-full key, rather than a position which is right after that
key.
This will issue will be caught by cql_query_test::test_compact_storage
in debug mode when mutation_partition_v2 merging starts inserting
sentinels at position after_key() on preemption.
It probably already causes problems for such keys as after_key() is used
in various parts in the read path.
Refs #1446
Closes #12234
* github.com:scylladb/scylladb:
position_in_partition: Make after_key() work with non-full keys
position_in_partition: Introduce before_key(position_in_partition_view)
db: Fix trim_clustering_row_ranges_to() for non-full keys and reverse order
types: Fix comparison of frozen sets with empty values
2022-12-15 10:47:12 +02:00
..
2022-02-13 14:16:16 +02:00
2022-01-18 12:15:18 +01:00
2022-01-18 12:15:18 +01:00
2022-01-18 12:15:18 +01:00
2022-01-18 12:15:18 +01:00
2022-01-18 12:15:18 +01:00
2022-01-18 12:15:18 +01:00
2022-08-08 08:09:41 +03:00
2022-02-13 14:16:16 +02:00
2022-01-18 12:15:18 +01:00
2022-09-14 13:09:51 -03:00
2022-01-18 12:15:18 +01:00
2022-07-12 00:23:29 +03:00
2022-12-14 14:47:33 +01:00
2022-02-25 01:42:15 +01:00
2022-01-18 12:15:18 +01:00
2022-01-18 12:15:18 +01:00
2022-01-18 12:15:18 +01:00
2022-01-18 12:15:18 +01:00
2022-01-18 12:15:18 +01:00
2022-06-23 16:14:41 +02:00
2022-01-18 12:15:18 +01:00
2022-06-21 11:58:13 +03:00
2022-04-12 16:37:11 +03:00
2022-08-05 20:34:07 +03:00
2022-12-14 14:47:33 +01:00
2022-08-08 08:09:41 +03:00
2022-08-08 08:09:41 +03:00
2022-01-18 12:15:18 +01:00
2022-01-18 12:15:18 +01:00
2022-09-05 11:11:08 +02:00
2022-01-18 12:15:18 +01:00
2022-08-12 06:01:44 +03:00
2022-01-18 12:15:18 +01:00
2022-02-07 11:33:57 +02:00
2022-02-08 11:08:42 +01:00
2022-11-30 11:06:43 +02:00
2022-11-30 11:06:43 +02:00
2022-11-30 11:06:43 +02:00
2022-12-10 12:34:09 +01:00
2022-11-16 16:30:38 +02:00
2022-03-30 15:42:51 +03:00
2022-12-08 15:37:33 +02:00
2022-12-06 22:24:17 +02:00
2022-01-18 12:15:18 +01:00
2022-01-18 12:15:18 +01:00
2022-01-18 12:15:18 +01:00
2022-01-18 12:15:18 +01:00
2022-01-18 12:15:18 +01:00
2022-06-21 11:58:13 +03:00
2022-01-18 12:15:18 +01:00
2022-02-16 10:06:10 +02:00
2022-07-05 16:41:09 +02:00
2022-07-05 16:41:09 +02:00
2022-07-05 16:41:09 +02:00
2022-12-13 20:23:17 +01:00
2022-08-07 12:53:05 +03:00
2022-04-26 14:46:42 +03:00
2022-09-07 07:43:14 +03:00
2022-01-18 12:15:18 +01:00
2022-01-18 12:15:18 +01:00
2022-12-08 15:37:33 +02:00
2022-10-20 12:33:41 +03:00
2022-09-13 19:34:22 +04:00
2022-01-18 12:15:18 +01:00
2022-12-08 15:37:33 +02:00
2022-01-18 12:15:18 +01:00
2022-08-08 08:02:27 +03:00
2022-01-18 12:15:18 +01:00
2022-01-18 12:15:18 +01:00
2022-01-18 12:15:18 +01:00
2022-02-22 12:55:38 +01:00
2022-01-18 12:15:18 +01:00
2022-01-18 12:15:18 +01:00
2022-01-18 12:15:18 +01:00
2022-01-18 12:15:18 +01:00
2022-01-18 12:15:18 +01:00
2022-01-18 12:15:18 +01:00
2022-11-17 19:01:45 +03:00
2022-11-03 17:23:40 +02:00
2022-01-18 12:15:18 +01:00
2022-09-16 14:57:23 +03:00
2022-09-16 12:16:57 +03:00
2022-01-18 12:15:18 +01:00
2022-01-18 12:15:18 +01:00
2022-01-18 12:15:18 +01:00
2022-12-08 15:37:33 +02:00
2022-11-30 11:06:43 +02:00
2022-12-06 11:21:16 +01:00
2022-01-18 12:15:18 +01:00
2022-12-14 14:47:33 +01:00
2022-12-08 15:37:33 +02:00
2022-12-14 14:47:33 +01:00
2022-12-14 14:47:33 +01:00
2022-12-08 15:37:33 +02:00
2022-12-08 15:37:33 +02:00
2022-12-13 14:17:18 +02:00
2022-01-18 12:15:18 +01:00
2022-01-18 12:15:18 +01:00
2022-11-21 15:48:26 +02:00
2022-08-10 06:01:47 +03:00
2022-08-15 14:16:41 +03:00
2022-05-01 08:33:55 +03:00
2022-01-18 12:15:18 +01:00
2022-01-18 12:15:18 +01:00
2022-01-18 12:15:18 +01:00
2022-01-18 12:15:18 +01:00
2022-12-14 14:47:33 +01:00
2022-06-22 20:16:48 +02:00
2022-12-08 15:37:33 +02:00
2022-12-08 15:37:33 +02:00
2022-11-30 11:06:43 +02:00
2022-03-15 11:42:42 +02:00
2022-01-18 12:15:18 +01:00
2022-01-18 12:15:18 +01:00
2022-12-14 14:47:33 +01:00
2022-05-11 16:49:31 +02:00
2022-08-29 12:06:02 +02:00
2022-05-10 22:10:40 +03:00
2022-02-17 15:24:24 +02:00
2022-12-08 15:37:33 +02:00
2022-11-30 11:06:43 +02:00
2022-11-14 16:06:24 +01:00
2022-01-18 12:15:18 +01:00
2022-01-18 12:15:18 +01:00
2022-01-18 12:15:18 +01:00
2022-10-20 12:33:41 +03:00
2022-12-06 11:21:16 +01:00
2022-12-01 13:39:56 +03:00
2022-12-14 14:47:33 +01:00
2022-12-01 22:17:10 +02:00
2022-12-05 12:03:19 +03:00
2022-12-02 21:13:58 +03:00
2022-06-03 07:26:29 +03:00
2022-05-25 09:27:04 +03:00
2022-10-05 21:37:19 -03:00
2022-12-08 15:37:33 +02:00
2022-12-01 22:17:10 +02:00
2022-12-06 22:24:17 +02:00
2022-01-18 12:15:18 +01:00
2022-11-30 11:06:43 +02:00
2022-10-11 05:17:08 +03:00
2022-09-16 14:57:23 +03:00
2022-07-27 16:58:52 +03:00
2022-01-18 12:15:18 +01:00
2022-01-18 12:15:18 +01:00
2022-01-18 12:15:18 +01:00
2022-10-13 17:59:13 +03:00
2022-01-18 12:15:18 +01:00
2022-12-08 13:41:11 +01:00
2022-07-11 09:17:30 +02:00
2022-06-07 11:16:12 +02:00
2022-01-18 12:15:18 +01:00
2022-02-16 10:19:47 +02:00
2022-03-30 15:42:51 +03:00
2022-07-16 21:35:06 -03:00
2022-01-18 12:15:18 +01:00
2022-03-08 15:34:26 +02:00
2022-01-18 12:15:18 +01:00
2022-01-18 12:15:18 +01:00
2022-10-06 18:00:09 +03:00
2022-12-08 15:37:33 +02:00
2022-01-18 12:15:18 +01:00