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-08-01 12:08:50 +02:00
2025-07-13 19:13:11 +03:00
2024-12-18 17:45:13 +02:00
2025-01-15 11:10:36 +01:00
2025-01-15 11:10:36 +01:00
2024-12-18 17:45:13 +02:00
2025-07-18 15:03:08 +02:00
2025-07-13 19:13:11 +03:00
2025-07-13 19:13:11 +03:00
2025-07-13 19:13:11 +03:00
2025-07-13 19:13:11 +03:00
2025-07-13 19:13:11 +03:00
2025-01-15 11:10:36 +01:00
2024-12-18 17:45:13 +02:00
2025-01-15 11:10:36 +01:00
2025-01-15 11:10:36 +01:00
2025-01-15 11:10:36 +01:00
2025-01-15 11:10:36 +01:00
2025-07-13 19:13:11 +03:00
2025-07-13 19:13:11 +03:00
2024-12-18 17:45:13 +02:00
2025-07-13 19:13:11 +03:00
2024-12-18 17:45:13 +02:00
2025-06-09 13:30:40 +03:00
2025-02-06 08:55:51 +02:00
2024-12-18 17:45:13 +02:00
2025-03-31 09:43:22 +03:00
2025-07-13 19:13:11 +03:00
2025-07-13 19:13:11 +03:00
2025-07-13 19:13:11 +03:00
2025-07-13 19:13:11 +03:00
2025-07-13 19:13:11 +03:00
2025-07-13 19:13:11 +03:00
2025-08-13 01:51:53 +02:00
2025-07-13 19:13:11 +03:00
2025-01-15 11:10:36 +01:00
2025-01-15 11:10:36 +01:00
2024-12-18 17:45:13 +02:00
2025-07-13 19:13:11 +03:00
2025-07-13 19:13:11 +03:00
2025-07-13 19:13:11 +03:00
2025-07-13 19:13:11 +03:00
2025-07-13 19:13:11 +03:00
2025-07-13 19:13:11 +03:00
2025-01-15 11:10:36 +01:00
2025-01-15 11:10:36 +01:00
2025-07-17 13:48:49 +03:00
2025-06-30 19:12:14 +02:00
2025-01-15 11:10:36 +01:00
2024-12-18 17:45:13 +02:00
2025-01-15 11:10:36 +01:00
2025-01-15 11:10:36 +01:00
2025-01-15 11:10:36 +01:00
2025-01-15 11:10:36 +01:00
2025-07-13 19:13:11 +03:00
2025-07-13 19:13:11 +03:00
2025-01-15 11:10:36 +01:00
2024-12-18 17:45:13 +02:00
2024-12-18 17:45:13 +02:00
2025-01-15 11:10:36 +01:00
2024-12-18 17:45:13 +02:00
2025-01-15 11:10:36 +01:00
2024-12-18 17:45:13 +02:00
2025-07-13 19:13:11 +03:00
2025-07-13 19:13:11 +03:00
2025-07-13 19:13:11 +03:00
2025-07-13 19:13:11 +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
2025-01-15 11:10:36 +01:00
2024-12-18 17:45:13 +02:00
2025-05-27 21:04:50 +02:00
2024-12-18 17:45:13 +02:00
2025-07-07 13:47:06 +02:00
2025-07-07 13:47:06 +02:00
2025-08-13 01:51:53 +02:00
2025-08-13 01:51:53 +02:00
2025-01-15 11:10:36 +01:00
2024-12-18 17:45:13 +02:00
2025-01-15 11:10:36 +01:00
2024-12-18 17:45:13 +02:00
2024-12-18 17:45:13 +02:00
2025-01-15 11:10:36 +01:00
2024-12-18 17:45:13 +02:00
2025-01-15 15:01:05 +01:00
2024-12-18 17:45:13 +02:00
2025-01-15 11:10:36 +01:00
2024-12-18 17:45:13 +02:00
2025-07-24 19:48:08 +02:00
2025-07-13 19:13:11 +03:00
2024-12-18 17:45:13 +02:00
2024-12-18 17:45:13 +02:00
2025-05-14 09:59:16 +02:00
2025-08-13 01:51:53 +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
2025-01-15 11:10:36 +01:00
2024-12-18 17:45:13 +02:00
2025-01-15 11:10:36 +01:00
2025-07-13 19:13:11 +03:00
2025-07-13 19:13:11 +03:00
2025-08-07 12:51:43 +03:00
2025-08-01 12:08:50 +02:00
2025-01-15 15:01:05 +01:00
2025-01-15 15:01:05 +01:00
2025-01-02 07:13:34 +01:00
2025-01-02 07:13:34 +01: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-01-15 11:10:36 +01:00
2024-12-18 17:45:13 +02:00
2025-01-15 11:10:36 +01:00
2025-01-15 11:10:36 +01:00
2025-01-15 11:10:36 +01:00
2024-12-18 17:45:13 +02:00