Nadav Har'El
c6cffe36dd
Merge 'cql: forbid having counter columns in tablets tables' from Piotr Smaron
...
Counter updates break under tablet migration (#18180 ), and for this reason counters need to be disabled until the problem is fixed. It's enough to forbid creating a table with counters, as altering a table without counters already cannot result in the table having counters:
1) Adding a counter column to a table without counters:
```
cqlsh> ALTER TABLE temp.cf ADD (col_name counter);
ConfigurationException: Cannot add a counter column (col_name) in a non counter column family
```
2) Altering a column to be of the counter type:
```
cqlsh> ALTER TABLE temp.cf ALTER col_name TYPE counter;
ConfigurationException: Cannot change col_name from type int to type counter: types are incompatible.
```
Fixes : #19449
Fixes: https://github.com/scylladb/scylladb/issues/18876
Need to backport to 6.0, as this is broken there.
Closes scylladb/scylladb#19518
* github.com:scylladb/scylladb:
doc: add notes to feature pages which don't support tablets
cql: adjust warning about tablets
cql: forbid having counter columns in tablets tables
2024-07-10 10:18:30 +03:00
..
2024-01-29 09:02:01 +02:00
2024-06-18 20:26:09 +02:00
2024-06-18 19:54:55 +02:00
2024-03-01 16:25:14 +01:00
2024-06-06 13:26:34 +02:00
2023-08-17 15:52:48 +03:00
2024-06-07 06:44:59 +08:00
2024-04-25 21:27:40 +02:00
2024-06-07 06:44:59 +08:00
2024-06-07 06:44:59 +08:00
2024-04-29 14:05:05 +02:00
2024-04-25 21:27:40 +02:00
2024-06-06 13:26:34 +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-01-02 19:08:47 +02:00
2024-06-07 06:44:59 +08: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-07-04 10:24:57 +02:00
2024-04-25 21:27:40 +02:00
2024-06-12 16:54:46 +03:00
2024-04-25 21:27:40 +02:00
2024-06-07 06:44:59 +08:00
2024-04-25 21:27:40 +02:00
2024-07-09 18:01:37 +02:00
2024-06-07 10:07:50 +02:00
2024-06-06 13:26:34 +02:00
2024-06-06 13:26:34 +02:00
2023-08-17 15:52:48 +03:00
2024-07-09 18:01:31 +02:00
2024-06-07 10:07:50 +02:00
2024-06-07 10:36:40 +02:00
2024-06-07 10:07:50 +02:00
2024-06-07 10:36:40 +02:00
2024-06-07 10:07:50 +02:00
2024-01-16 16:43:17 +02:00
2022-05-13 07:11:58 +02:00
2024-07-04 10:24:57 +02:00
2024-01-16 16:43:17 +02:00
2024-06-06 13:26:34 +02:00
2024-03-21 23:14:57 +01:00
2024-06-06 13:26:34 +02:00
2024-06-06 13:26:34 +02:00
2024-07-04 10:24:57 +02:00
2024-06-06 13:26:34 +02:00
2024-06-07 06:44:59 +08:00
2024-04-25 21:27:40 +02:00
2024-06-07 06:44:59 +08:00
2024-06-06 13:26:34 +02:00
2024-03-01 16:25:14 +01:00
2024-06-06 13:26:34 +02:00
2023-08-17 15:52:48 +03:00
2024-06-06 13:26:34 +02:00
2024-06-06 13:26:34 +02:00
2024-07-04 10:24:57 +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-07-04 10:24:57 +02:00
2023-06-22 13:57:33 +03:00
2024-03-01 16:25:14 +01:00
2024-06-06 13:26:34 +02: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-06-28 11:41:41 +03:00
2024-06-28 11:41:41 +03: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-06-30 19:35:05 +03:00
2024-06-30 19:35:05 +03:00
2024-01-16 16:43:17 +02:00
2024-03-01 16:25:14 +01:00
2024-05-25 16:41:30 +03: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
2024-06-06 13:26:34 +02:00
2023-08-17 15:52:48 +03:00
2024-06-06 13:26:34 +02:00
2024-06-07 10:26:32 +02:00
2024-06-18 20:26:09 +02:00
2024-07-03 19:29:47 +03: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
2024-06-07 06:44:59 +08: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