# /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" aof_recovery = "enable" # enable или disable - определяет, восстанавливать ли данные из 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 = false plugins_dir = "./plugins" max_memory = "128MB"