This PR adds the schema-level validation required for `CREATE INDEX` and `DROP INDEX` on fulltext indexes, mirroring what vector indexes already enforce. Fulltext indexes are viewless custom indexes (no backing materialized view) that rely on CDC for change tracking. The validation ensures these prerequisites are met at index creation time and cannot be violated afterwards via `ALTER TABLE`. **Tablet storage**: Fulltext indexes require the keyspace to use tablet storage. Creation is rejected otherwise. **CDC requirements**: Fulltext indexes need a CDC log with a minimum TTL of 24 hours and either `delta = 'full'` or `postimage = true`. The PR enforces this in three places: - `CREATE INDEX` rejects creation when existing CDC options don't meet the requirements. - auto-enables CDC for tables with a fulltext index (same as vector indexes) and validates CDC options on schema updates. - `ALTER TABLE` blocks disabling CDC while a fulltext index exists. **Viewless index generalization**: The `vector_index`-specific checks in `create_index_statement` (rejecting `WITH` view properties, name-based duplicate detection for issue #26672) are replaced with a generic `is_viewless_custom_class()` helper that queries the index factory. This automatically covers both vector and fulltext indexes without duplicating logic. **DROP INDEX** reuses the existing path with no changes needed - the standard drop logic works for viewless indexes as-is. Added tests covering all validation paths above. All existing tests are updated to require the `skip_without_tablets` fixture. Fixes: SCYLLADB-1516 Closes scylladb/scylladb#29739 * github.com:scylladb/scylladb: external_index: fix require CDC options for disabled CDC test/cqlpy: add duplicate and view tests for fulltext index cql3: generalize viewless index handling in CREATE INDEX statement test/cqlpy: add CDC validation tests for fulltext index fulltext_index: enforce CDC requirements for fulltext indexes test/cqlpy: add tablet requirement test for fulltext index fulltext_index: require tablet storage for fulltext indexes index: introduce `external_index` base class for VS/FTS indexes
Scylla in-source tests.
For details on how to run the tests, see docs/dev/testing.md
Shared C++ utils, libraries are in lib/, for Python - pylib/
alternator - Python tests which connect to a single server and use the DynamoDB API unit, boost, raft - unit tests in C++ cqlpy - Python tests which connect to a single server and use CQL topology* - tests that set up clusters and add/remove nodes cql - approval tests that use CQL and pre-recorded output rest_api - tests for Scylla REST API Port 9000 scylla-gdb - tests for scylla-gdb.py helper script nodetool - tests for C++ implementation of nodetool
If you can use an existing folder, consider adding your test to it. New folders should be used for new large categories/subsystems, or when the test environment is significantly different from some existing suite, e.g. you plan to start scylladb with different configuration, and you intend to add many tests and would like them to reuse an existing Scylla cluster (clusters can be reused for tests within the same folder).
To add a new folder, create a new directory, and then
copy & edit its suite.ini.