mirror of
https://github.com/scylladb/scylladb.git
synced 2026-04-21 00:50:35 +00:00
Setting TTL = -1 in cdc_options prevents any writes to CDC log. But enabling CDC and having unwritable log table makes no sense. Notably, normal writes USING TTL -1 are forbidden. This patch does the same to TTLs in CDC options. Fixes #5747 * jul-stas/5747-cdc-disallow-negative-ttl: tests/cdc: added test for exception when TTL < 0 cdc: disallow negative TTL values in CDC