Piotr Dulikowski
7fd97e6a93
Merge 'cdc: Forbid altering columns of CDC log tables directly' from Dawid Mędrek
...
The set of columns of a CDC log table should be managed automatically
by Scylla, and the user should not have the ability to manipulate them
directly. That could lead to disastrous consequences such as a
segmentation fault.
In this commit, we're restricting those operations. We also provide two
validation tests.
One of the existing tests had to be adjusted as it modified the type
of a column in a CDC log table. Since the test simply verifies that
the user has sufficient permissions to perform `ALTER TABLE` on the log
table, the test is still valid.
Fixes scylladb/scylladb#24643
Backport: we should backport the change to all affected
branches to prevent the consequences that may affect the user.
Closes scylladb/scylladb#25008
* github.com:scylladb/scylladb:
cdc: Forbid altering columns of inactive CDC log table
cdc: Forbid altering columns of CDC log tables directly
2025-07-21 09:31:00 +02:00
..
2025-05-14 09:59:16 +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-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
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-03-24 15:32:16 +02:00
2025-03-24 15:32:16 +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-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
2025-05-14 09:59:16 +02:00
2024-12-18 17:45:13 +02:00
2025-02-07 10:33:05 +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-07-09 11:54:51 +02:00
2025-07-09 11:54:51 +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