Botond Dénes
68d12daa7b
Merge '[Backport 6.0] Fix parsing of initial tablets by ALTER' from ScyllaDB
...
If the user wants to change the default initial tablets value, it uses ALTER KEYSPACE statement. However, specifying `WITH tablets = { initial: $value }` will take no effect, because statement analyzer only applies `tablets` parameters together with the `replication` ones, so the working statement should be `WITH replication = $old_parameters AND tablets = ...` which is not very convenient.
This PR changes the analyzer so that altering `tablets` happens independently from `replication`. Test included.
fixes : #18801
(cherry picked from commit 8a612da155 )
(cherry picked from commit a172ef1bdf )
(cherry picked from commit 1003391ed6 )
Refs #18899
Closes scylladb/scylladb#18918
* github.com:scylladb/scylladb:
cql-pytest: Add validation of ALTER KEYSPACE WITH TABLETS
cql3: Fix parsing of ALTER KEYSPACE's tablets parameters
cql3: Remove unused ks_prop_defs/prepare_options() argument
2024-05-29 16:13:26 +03:00
..
2024-01-29 09:02:01 +02:00
2024-04-25 21:27:40 +02:00
2024-04-25 21:27:40 +02:00
2024-03-01 16:25:14 +01:00
2024-03-21 23:14:57 +01:00
2023-08-17 15:52:48 +03:00
2024-04-29 14:05:05 +02:00
2024-04-25 21:27:40 +02:00
2024-04-25 21:27:40 +02:00
2024-04-25 21:27:40 +02:00
2024-04-29 14:05:05 +02:00
2024-04-25 21:27:40 +02:00
2024-03-21 23:14:57 +01:00
2024-03-21 23:14:57 +01:00
2024-03-21 23:14:57 +01:00
2024-03-21 23:14:57 +01:00
2024-03-21 23:14:57 +01:00
2024-03-21 23:14:57 +01:00
2024-01-02 19:08:47 +02:00
2024-01-16 16:43:17 +02:00
2022-05-13 07:11:58 +02:00
2023-06-28 10:18:06 +02:00
2023-02-12 17:25:41 +02:00
2024-05-18 00:23:30 +03:00
2024-04-26 10:48:47 +03:00
2022-05-13 07:11:58 +02:00
2024-01-29 09:02:01 +02:00
2024-04-25 21:27:40 +02:00
2024-04-25 21:27:40 +02:00
2024-04-25 21:27:40 +02:00
2024-04-25 21:27:40 +02:00
2024-04-25 21:27:40 +02:00
2024-04-25 21:27:40 +02:00
2024-04-25 21:27:40 +02:00
2024-04-25 21:27:40 +02:00
2024-03-01 16:25:14 +01:00
2024-03-21 23:14:57 +01:00
2023-08-17 15:52:48 +03:00
2024-05-17 20:41:20 +03:00
2024-04-25 21:27:40 +02:00
2024-04-25 21:27:40 +02:00
2024-04-25 21:27:40 +02:00
2024-04-29 14:05:05 +02:00
2024-04-25 21:27:40 +02:00
2024-01-16 16:43:17 +02:00
2022-05-13 07:11:58 +02:00
2024-05-16 13:30:03 +02:00
2024-01-16 16:43:17 +02:00
2024-03-21 23:14:57 +01:00
2024-03-21 23:14:57 +01:00
2024-04-25 21:27:40 +02:00
2024-04-25 21:27:40 +02:00
2024-04-25 21:27:40 +02:00
2024-04-25 21:27:40 +02:00
2024-04-25 21:27:40 +02:00
2024-04-25 21:27:40 +02:00
2024-04-25 21:27:40 +02:00
2024-04-25 21:27:40 +02:00
2024-03-01 16:25:14 +01:00
2024-03-21 23:14:57 +01:00
2023-08-17 15:52:48 +03:00
2024-04-25 21:27:40 +02:00
2024-04-25 21:27:40 +02:00
2024-04-25 21:27:40 +02:00
2024-04-25 21:27:40 +02:00
2024-04-25 21:27:40 +02:00
2024-04-25 21:27:40 +02:00
2024-01-16 16:43:17 +02:00
2023-06-22 13:57:33 +03:00
2024-03-01 16:25:14 +01:00
2023-08-17 15:52:48 +03:00
2023-08-17 15:52:48 +03:00
2022-05-13 07:11:58 +02:00
2022-05-13 07:11:58 +02:00
2023-04-06 09:50:32 -04:00
2023-04-06 09:50:32 -04:00
2024-05-29 16:13:26 +03:00
2024-02-06 13:14:15 +02:00
2023-11-30 13:07:20 +01:00
2023-11-30 13:07:20 +01:00
2024-03-01 16:25:14 +01:00
2023-08-17 15:52:48 +03:00
2023-08-17 15:52:48 +03:00
2024-01-16 16:43:17 +02:00
2024-01-16 16:43:17 +02:00
2023-08-17 15:52:48 +03:00
2024-01-16 16:43:17 +02:00
2024-03-01 16:25:14 +01:00
2023-08-17 15:52:48 +03:00
2024-01-16 16:43:17 +02:00
2024-01-16 16:43:17 +02:00
2024-01-16 16:43:17 +02:00
2024-03-01 16:25:14 +01:00
2024-01-16 16:43:17 +02:00
2022-05-13 07:11:58 +02:00
2022-05-13 07:11:58 +02:00
2024-04-19 22:56:16 +08:00
2022-05-19 10:11:50 +02:00
2022-05-13 07:11:58 +02:00
2024-03-01 16:25:14 +01:00
2023-08-17 15:52:48 +03:00
2023-08-17 15:52:48 +03:00
2024-03-01 16:25:14 +01:00
2024-03-21 23:14:57 +01:00
2024-04-25 21:27:40 +02:00
2024-05-16 00:28:47 +02:00
2024-01-16 16:43:17 +02:00
2024-03-21 23:14:57 +01:00
2024-03-21 23:14:57 +01:00
2024-01-16 16:43:17 +02:00
2024-01-23 19:36:24 +02:00
2024-01-16 16:43:17 +02:00
2024-01-16 16:43:17 +02:00
2023-08-17 15:52:48 +03:00
2024-01-16 16:43:17 +02:00
2023-08-17 15:52:48 +03:00
2023-08-17 15:52:48 +03:00
2023-07-14 15:42:58 +03:00
2022-09-08 15:25:36 +02:00
2023-11-09 10:43:11 +01:00
2023-08-17 15:52:48 +03:00