mirror of
https://github.com/scylladb/scylladb.git
synced 2026-04-22 17:40:34 +00:00
Previously, LSI keys were stored as separate, top-level columns in the base table. This patch changes this behavior for newly created tables, so that the key columns are stored inside the `:attrs` map. Then, we use top-level computed columns instead of regular ones. This makes LSI storage consistent with GSIs and allows the use of a collection tombstone on `:attrs` to delete all attributes in a row except for keys in new tables. Refs https://github.com/scylladb/scylladb/pull/24991 Refs https://github.com/scylladb/scylladb/issues/6930 Closes scylladb/scylladb#25796 * github.com:scylladb/scylladb: alternator: Store LSI keys in :attrs for newly created tables alternator/test: Add LSI tests based mostly on the existing GSI tests
304 KiB
304 KiB