mirror of
https://github.com/scylladb/scylladb.git
synced 2026-04-23 10:00:35 +00:00
As of right now, materialized views (and consequently secondary indexes), lwt and counters are unsupported or experimental with tablets. Since by defaults tablets are enabled, training cases using those features are currently broken. The right thing to do here is to disable tablets in those cases. Fixes https://github.com/scylladb/scylladb/issues/22638 Closes scylladb/scylladb#22661
14 lines
426 B
YAML
14 lines
426 B
YAML
DROP KEYSPACE IF EXISTS counters;
|
|
|
|
CREATE KEYSPACE IF NOT EXISTS counters
|
|
WITH replication = {'class': 'NetworkTopologyStrategy', 'dc1': '3'} AND TABLETS = {'enabled': false};
|
|
|
|
CREATE TABLE IF NOT EXISTS counters.counter1 (
|
|
key blob PRIMARY KEY,
|
|
"C0" counter,
|
|
"C1" counter,
|
|
"C2" counter,
|
|
"C3" counter,
|
|
"C4" counter
|
|
);
|