Skip to content

Commit bea434f

Browse files
michoechoavikivity
authored andcommitted
pgo: disable tablets for training with secondary index, lwt and counters
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 scylladb#22638 Closes scylladb#22661
1 parent 683176d commit bea434f

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

pgo/conf/counters.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
DROP KEYSPACE IF EXISTS counters;
22

33
CREATE KEYSPACE IF NOT EXISTS counters
4-
WITH replication = {'class': 'NetworkTopologyStrategy', 'dc1': '3'};
4+
WITH replication = {'class': 'NetworkTopologyStrategy', 'dc1': '3'} AND TABLETS = {'enabled': false};
55

66
CREATE TABLE IF NOT EXISTS counters.counter1 (
77
key blob PRIMARY KEY,

pgo/conf/lwt.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ keyspace: ks
33

44
# The CQL for creating a keyspace (optional if it already exists)
55
keyspace_definition: |
6-
CREATE KEYSPACE ks WITH replication = {'class': 'NetworkTopologyStrategy', 'replication_factor': 3};
6+
CREATE KEYSPACE ks WITH replication = {'class': 'NetworkTopologyStrategy', 'replication_factor': 3} AND TABLETS = {'enabled': false};
77
88
# Table name
99
table: targettable

pgo/conf/si.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ keyspace: sec_index
22

33
keyspace_definition: |
44
5-
CREATE KEYSPACE IF NOT EXISTS sec_index WITH replication = {'class': 'NetworkTopologyStrategy', 'replication_factor': 3};
5+
CREATE KEYSPACE IF NOT EXISTS sec_index WITH replication = {'class': 'NetworkTopologyStrategy', 'replication_factor': 3} AND TABLETS = {'enabled': false};
66
77
table: users
88

0 commit comments

Comments
 (0)