Files
scylladb/schema
Botond Dénes 57ff84f9e7 schema: fix DESCRIBE showing NullCompactionStrategy when compaction is disabled
When a table's compaction is disabled via 'enabled': 'false', the DESCRIBE
output incorrectly showed NullCompactionStrategy instead of the actual strategy.
This happened because schema_properties() called compaction_strategy(), which
returns compaction_strategy_type::null when compaction is disabled. Fix it by
using configured_compaction_strategy(), which always returns the real strategy
type - consistent with how schema_tables.cc serializes it to disk.

Fixes SCYLLADB-1353

Closes scylladb/scylladb#29804

(cherry picked from commit 8d6f031a4a)

Closes scylladb/scylladb#29867

Closes scylladb/scylladb#29886
2026-05-14 17:16:24 +02:00
..