Kefu Chai
7a1fbb38f9
sstable: order uuid-based generation as timeuuid
...
under most circumstances, we don't care the ordering of the sstable
identifiers, as they are just identifiers. so, as long as they can be
compared, we are good. but we have tests with expect that the sstables
can be ordered by the time they are created. for instance,
sstable_run_based_compaction_test has this expectaion.
before this change, we compare two UUID-based generations by its
(MSB, LSB) lexicographically. but UUID v1 put the lower bits of
the timestamp at the higher bits of MSB, so the ordering of the
"time" in timeuuid is not preserved when comparing the UUID-based
generations. this breaks the test of sstable_run_based_compaction_test,
which feeds the sstables to be compacted in a set, and the set is
ordered with the generation of the sstables.
after this change, we consider the UUID-based generation as
a timeuuid when comparing them.
Fixes #16215
Signed-off-by: Kefu Chai <kefu.chai@scylladb.com >
Closes scylladb/scylladb#16238
2023-11-30 14:50:44 +02:00
..
2023-03-07 17:54:53 +08:00
2023-05-02 11:04:05 +03:00
2023-04-07 20:32:28 +08:00
2023-02-28 21:56:53 +08:00
2023-03-22 13:48:50 +02:00
2023-09-01 22:34:41 +02:00
2023-05-04 02:37:29 +02:00
2023-09-01 22:34:41 +02:00
2023-02-15 11:01:50 +02:00
2023-02-14 11:19:03 +02:00
2023-07-27 12:01:09 +03:00
2023-09-18 23:17:01 +03:00
2023-08-12 11:46:36 +03:00
2023-02-15 11:01:50 +02:00
2023-07-18 10:27:18 +08:00
2023-02-19 12:58:22 +08:00
2023-09-01 22:34:41 +02:00
2023-07-28 15:55:13 +03:00
2023-11-29 09:58:47 +02:00
2023-02-15 11:01:50 +02:00
2023-09-05 10:09:04 +03:00
2023-07-10 19:36:06 +02:00
2023-05-24 22:58:43 +02:00
2023-05-23 08:52:56 +03:00
2023-06-26 11:29:36 +03:00
2023-02-15 11:01:50 +02:00
2023-07-25 17:13:04 +02:00
2023-02-15 11:01:50 +02:00
2023-11-22 17:44:07 +02:00
2023-04-17 14:08:37 +03:00
2023-10-05 10:27:53 +03:00
2023-04-27 10:24:46 +03:00
2023-02-15 11:09:04 +02:00
2023-07-13 10:10:52 +02:00
2023-07-27 12:01:09 +03:00
2023-07-19 19:32:10 +03:00
2023-08-12 11:46:32 +03:00
2023-06-06 13:29:16 +03:00
2023-02-15 11:01:50 +02:00
2023-02-28 21:56:53 +08:00
2023-07-28 13:55:27 +02:00
2023-07-13 10:33:52 +03:00
2023-04-24 14:06:43 +03:00
2023-11-23 11:22:31 +02:00
2023-06-28 16:11:58 +02:00
2023-11-27 10:03:04 +02:00
2023-02-19 21:05:45 +02:00
2023-02-19 21:05:45 +02:00
2023-05-23 10:40:55 +03:00
2023-08-02 09:08:24 +03:00
2023-04-17 14:08:37 +03:00
2023-11-02 19:28:35 +03:00
2023-06-06 13:29:16 +03:00
2023-10-23 08:07:14 -04:00
2023-06-06 13:29:16 +03:00
2023-11-08 14:54:48 +01:00
2023-11-02 19:28:35 +03:00
2023-09-13 23:17:20 +04:00
2023-07-25 21:08:51 +02:00
2023-05-04 03:35:15 +02:00
2023-07-31 10:33:48 +03:00
2023-02-15 11:01:50 +02:00
2023-07-18 10:27:18 +08:00
2023-06-21 00:58:24 +02:00
2023-07-17 14:02:13 +08:00
2023-10-05 10:27:53 +03:00
2023-07-19 19:32:10 +03:00
2023-02-15 11:01:50 +02:00
2023-02-14 11:19:03 +02:00
2023-04-26 09:00:25 +03:00
2023-02-28 21:56:53 +08:00
2023-08-12 11:46:32 +03:00
2023-07-18 16:57:11 +03:00
2023-11-02 19:28:35 +03:00
2023-06-07 12:12:19 +03:00
2023-02-28 21:56:53 +08:00
2023-04-26 22:09:17 +02:00
2023-11-02 19:28:35 +03:00
2023-11-29 12:09:52 +03:00
2023-11-21 16:47:50 +03:00
2023-06-26 11:24:07 +03:00
2023-05-23 08:52:56 +03:00
2023-10-11 00:32:05 +03:00
2023-06-21 00:58:24 +02:00
2023-04-21 09:43:53 +03:00
2023-05-11 16:31:23 +03:00
2023-04-27 10:24:46 +03:00
2023-04-27 10:24:46 +03:00
2023-02-28 21:56:53 +08:00
2023-11-02 19:28:35 +03:00
2023-11-16 16:21:46 +08:00
2023-11-02 19:30:54 +03:00
2023-11-07 09:29:30 +02:00
2023-11-20 14:27:57 +03:00
2023-11-30 14:50:44 +02:00
2023-08-14 15:40:44 +03:00
2023-11-02 19:32:43 +03:00
2023-09-01 22:34:41 +02:00
2023-10-23 21:05:13 +03:00
2023-10-04 18:50:23 +02:00
2023-10-19 09:09:38 +03:00
2023-11-02 19:27:59 +03:00
2023-04-23 21:34:02 +03:00
2023-07-12 13:10:33 +03:00
2023-09-11 16:16:19 +02:00
2023-05-29 23:03:24 +03:00
2023-09-01 22:34:41 +02:00
2023-09-18 13:17:16 +02:00
2023-05-15 10:19:39 +03:00
2023-07-25 21:08:01 +02:00
2023-04-17 14:08:37 +03:00
2023-02-15 11:09:04 +02:00
2023-10-03 10:46:47 +03:00
2023-07-27 12:01:09 +03:00
2023-10-12 17:04:43 +03:00
2023-11-14 11:23:05 +02:00
2023-04-26 14:09:58 +08:00
2023-11-02 19:28:35 +03:00
2023-05-17 15:38:03 +02:00
2023-03-06 13:17:21 +03:00
2023-11-02 19:28:35 +03:00
2023-06-06 08:36:09 +03:00
2023-06-06 08:36:09 +03:00