Skip to content

Commit baea166

Browse files
committed
Replication factor 3 on ScyllaDB
1 parent b8aa240 commit baea166

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

kubernetes/linera-validator/scylla.values.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ sysctls:
44
datacenter: validator
55
racks:
66
- name: rack-1
7-
members: 1
7+
members: 3
88
scyllaConfig: "scylla-config"
99
storage:
1010
capacity: 2Gi

linera-views/src/backends/scylla_db.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -813,7 +813,7 @@ impl AdminKeyValueStore for ScyllaDbStoreInternal {
813813
// Create a keyspace if it doesn't exist
814814
let query = "CREATE KEYSPACE IF NOT EXISTS kv WITH REPLICATION = { \
815815
'class' : 'SimpleStrategy', \
816-
'replication_factor' : 1 \
816+
'replication_factor' : 3 \
817817
}";
818818

819819
// Execute the query

0 commit comments

Comments
 (0)