Delete config.toml
This commit is contained in:
parent
ff79e0ad3d
commit
6217df3f54
42
config.toml
42
config.toml
@ -1,42 +0,0 @@
|
|||||||
# /futriis/config.toml
|
|
||||||
# Конфигурационный файл СУБД futriis
|
|
||||||
|
|
||||||
[cluster]
|
|
||||||
name = "futriis-cluster"
|
|
||||||
coordinator_address = "127.0.0.1:7379"
|
|
||||||
replication_factor = 2
|
|
||||||
sync_replication = true
|
|
||||||
auto_rebalance = true
|
|
||||||
|
|
||||||
# Настройки шардинга
|
|
||||||
sharding_enabled = true
|
|
||||||
sharding_strategy = "consistent" # consistent, range, hash
|
|
||||||
initial_shards = 10
|
|
||||||
|
|
||||||
[node]
|
|
||||||
id = "node-1"
|
|
||||||
address = "127.0.0.1:7380"
|
|
||||||
data_dir = "./data"
|
|
||||||
aof_enabled = true
|
|
||||||
aof_file = "./data/futriis.aof"
|
|
||||||
|
|
||||||
[storage]
|
|
||||||
page_size = 4096
|
|
||||||
max_memory = "1GB"
|
|
||||||
eviction_policy = "noeviction"
|
|
||||||
|
|
||||||
# Включение сжатия для колонок (wide-column)
|
|
||||||
compression_enabled = true
|
|
||||||
compression_algorithm = "auto" # auto, rle, delta, dictionary
|
|
||||||
|
|
||||||
[replication]
|
|
||||||
enabled = true
|
|
||||||
sync_mode = "full" # full, async
|
|
||||||
heartbeat_interval = 5
|
|
||||||
timeout = 30
|
|
||||||
master_master = true # Включение мастер-мастер репликации
|
|
||||||
|
|
||||||
[lua]
|
|
||||||
enabled = true
|
|
||||||
plugins_dir = "./plugins"
|
|
||||||
max_memory = "128MB"
|
|
||||||
Loading…
x
Reference in New Issue
Block a user