Dario Mirovic
bc8bb0873d
cql3: add default replication strategy to create_keyspace_statement
...
When creating a new keyspace, both replication strategy and replication
factor must be stated. For example:
`CREATE KEYSPACE ks WITH REPLICATION = { 'class' : 'NetworkTopologyStrategy', 'replication_factor' : 3 };`
This syntax is verbose, and in all but some testing scenarios
`NetworkTopologyStrategy` is used.
This patch allows skipping replication strategy name, filling it with
`NetworkTopologyStrategy` when that happens. The following syntax is now
valid:
`CREATE KEYSPACE ks WITH REPLICATION = { 'replication_factor' : 3 };`
and will give the same result as the previous, more explicit one.
Fixes #16029
2025-08-13 01:51:53 +02:00
..
2025-07-25 10:45:32 +03:00
2025-07-10 10:40:42 +02:00
2025-08-01 12:08:50 +02:00
2025-02-15 20:32:22 +02:00
2025-08-13 01:51:53 +02:00
2024-12-18 17:45:13 +02:00
2024-12-18 17:45:13 +02:00
2024-12-18 17:45:13 +02:00
2024-12-18 17:45:13 +02:00
2024-12-18 17:45:13 +02:00
2024-12-18 17:45:13 +02:00
2024-09-20 14:24:53 +02:00
2024-12-18 17:45:13 +02:00
2025-04-03 13:51:42 +03:00
2024-12-18 17:45:13 +02:00
2024-12-18 17:45:13 +02:00
2024-12-18 17:45:13 +02:00
2024-12-18 17:45:13 +02:00
2025-01-28 21:14:49 +01:00
2025-01-28 21:14:49 +01:00
2024-12-18 17:45:13 +02:00
2025-01-15 11:10:35 +01:00
2025-07-31 11:11:24 +02:00
2025-07-01 12:58:11 +02:00
2025-07-01 12:58:11 +02:00
2024-12-18 17:45:13 +02:00
2024-12-18 17:45:13 +02:00
2024-12-18 17:45:13 +02:00
2024-12-18 17:45:13 +02:00
2024-12-18 17:45:13 +02:00
2024-12-18 17:45:13 +02:00
2024-12-18 17:45:13 +02:00
2025-02-25 10:32:32 +03:00
2024-12-18 17:45:13 +02:00
2024-12-18 17:45:13 +02:00
2024-12-18 17:45:13 +02:00
2024-12-18 17:45:13 +02:00
2024-12-18 17:45:13 +02:00
2024-12-18 17:45:13 +02:00
2024-12-18 17:45:13 +02:00
2024-12-18 17:45:13 +02:00
2024-12-18 17:45:13 +02:00
2024-12-18 17:45:13 +02:00
2025-07-24 19:48:08 +02:00
2025-07-24 19:48:08 +02:00
2025-07-31 14:12:34 +03:00
2025-07-31 14:12:34 +03:00
2025-02-28 13:57:13 +03:00
2025-07-31 18:19:47 +02:00
2025-07-30 12:17:23 +03:00
2024-12-18 17:45:13 +02:00
2024-12-18 17:45:13 +02:00
2024-10-30 14:07:58 +02:00
2024-12-18 17:45:13 +02:00
2024-12-18 17:45:13 +02:00
2024-12-18 17:45:13 +02:00
2025-02-17 08:01:38 -05:00
2025-02-17 08:01:38 -05:00
2024-12-18 17:45:13 +02:00
2025-05-26 09:40:34 +02:00
2024-12-18 17:45:13 +02:00
2024-12-18 17:45:13 +02:00
2024-12-18 17:45:13 +02:00
2024-12-18 17:45:13 +02:00
2024-12-18 17:45:13 +02:00
2024-12-18 17:45:13 +02:00
2025-03-25 09:58:58 +01:00
2025-08-05 12:34:48 +02:00
2024-12-18 17:45:13 +02:00
2024-12-18 17:45:13 +02:00