Piotr Jastrzebski
50cfe81331
murmur3: move sharding logic to token and i_partitioner
...
Since token representation is fixed now, all the partitioners
will share the sharding logic. It makes sense now to keep
the logic in common super class and separate header that's
included only in i_partitioner.cc.
shard_of and token_for_next_shard are now implemented in
i_partitioner. They would be non-virtual but we have to
keep them virtual because one test is overriding them
to enforce some specific sharding.
Signed-off-by: Piotr Jastrzebski <piotr@scylladb.com >
2020-02-05 09:31:32 +01:00
..
2019-12-16 17:47:42 +03:00
2019-12-16 17:47:42 +03:00
2019-12-16 17:47:42 +03:00
2019-12-16 17:47:42 +03:00
2019-12-16 17:47:42 +03:00
2019-12-16 17:47:42 +03:00
2019-12-16 17:47:42 +03:00
2019-12-16 17:47:42 +03:00
2020-01-28 08:13:16 +02:00
2019-12-16 17:47:42 +03:00
2019-12-16 17:47:42 +03:00
2019-12-16 17:47:42 +03:00
2019-12-16 17:47:42 +03:00
2019-12-16 17:47:42 +03:00
2019-12-16 17:47:42 +03:00
2020-02-03 10:57:31 +01:00
2019-12-16 17:47:42 +03:00
2019-12-16 17:47:42 +03:00
2019-12-16 17:47:42 +03:00
2019-12-16 17:47:42 +03:00
2020-01-30 12:00:29 +02:00
2019-12-16 17:47:42 +03:00
2019-12-16 17:47:42 +03:00
2020-01-24 09:09:13 +01:00
2020-01-28 08:13:16 +02:00
2019-12-16 17:47:42 +03:00
2019-12-16 17:47:42 +03:00
2020-01-30 12:00:30 +02:00
2020-01-29 14:04:59 -08:00
2019-12-16 17:47:42 +03:00
2019-12-16 17:47:42 +03:00
2020-01-28 08:13:16 +02:00
2019-12-16 17:47:42 +03:00
2019-12-16 17:47:42 +03:00
2020-01-05 17:20:31 +02:00
2019-12-16 17:47:42 +03:00
2019-12-16 17:47:42 +03:00
2019-12-16 17:47:42 +03:00
2020-01-28 08:13:16 +02:00
2019-12-16 17:47:42 +03:00
2019-12-16 17:47:42 +03:00
2019-12-16 17:47:42 +03:00
2020-01-16 12:12:25 +01:00
2019-12-16 17:47:42 +03:00
2019-12-16 17:47:42 +03:00
2019-12-16 17:47:42 +03:00
2019-12-16 17:47:42 +03:00
2019-12-16 17:47:42 +03:00
2019-12-16 17:47:42 +03:00
2019-12-16 17:47:42 +03:00
2019-12-16 17:47:42 +03:00
2019-12-16 17:47:42 +03:00
2019-12-16 17:47:42 +03:00
2019-12-16 17:47:42 +03:00
2019-12-16 17:47:42 +03:00
2019-12-16 17:47:42 +03:00
2019-12-16 17:47:42 +03:00
2020-01-14 12:17:12 +02:00
2019-12-16 17:47:42 +03:00
2019-12-16 17:47:42 +03:00
2019-12-16 17:47:42 +03:00
2020-01-28 08:13:16 +02:00
2020-01-28 08:13:16 +02:00
2020-02-05 09:31:32 +01:00
2020-01-29 14:04:59 -08:00
2019-12-16 17:47:42 +03:00
2019-12-16 17:47:42 +03:00
2020-02-05 09:31:32 +01:00
2020-02-05 09:31:32 +01:00
2019-12-16 17:47:42 +03:00
2020-02-05 09:31:32 +01:00
2020-01-28 08:13:16 +02:00
2020-01-24 15:02:58 +01:00
2020-02-05 09:31:32 +01:00
2019-12-16 17:47:42 +03:00
2019-12-16 17:47:42 +03:00
2019-12-16 17:47:42 +03:00
2020-01-28 08:13:16 +02:00
2020-01-30 11:10:08 +01:00
2019-12-17 17:32:18 +02:00
2019-12-16 17:47:42 +03:00
2019-12-16 17:47:42 +03:00
2019-12-16 17:47:42 +03:00
2019-12-16 17:47:42 +03:00
2019-12-16 17:47:42 +03:00
2020-01-28 08:13:16 +02:00
2020-02-05 09:31:32 +01:00
2020-01-28 08:13:16 +02:00
2020-01-28 08:13:16 +02:00
2020-01-28 08:13:16 +02:00
2020-01-30 08:31:28 -08:00
2019-12-16 17:47:42 +03:00
2020-01-20 09:23:22 -08:00
2020-01-14 12:17:12 +02:00
2019-12-16 17:47:42 +03:00
2019-12-16 17:47:42 +03:00
2019-12-16 17:47:42 +03:00
2020-02-02 15:43:24 +02:00
2020-01-29 14:05:01 -08:00
2020-01-03 15:48:20 +02:00
2019-12-16 17:47:42 +03:00
2020-01-27 11:09:01 +02:00
2019-12-16 17:47:42 +03:00
2019-12-16 17:47:42 +03:00
2020-01-29 14:04:59 -08:00
2019-12-16 17:47:42 +03:00
2020-02-05 09:31:32 +01:00