Path: blob/main/databases/cassandra3/files/patch-conf_cassandra.yaml
16461 views
--- conf/cassandra.yaml.orig 2022-10-28 19:54:09 UTC1+++ conf/cassandra.yaml2@@ -71,7 +71,7 @@ max_hints_delivery_threads: 234# Directory where Cassandra should store hints.5# If not set, the default directory is $CASSANDRA_HOME/data/hints.6-# hints_directory: /var/lib/cassandra/hints7+hints_directory: /var/db/cassandra/hints89# How often hints should be flushed from the internal buffers to disk.10# Will *not* trigger fsync.11@@ -188,13 +188,13 @@ partitioner: org.apache.cassandra.dht.Murmur3Partition12# will spread data evenly across them, subject to the granularity of13# the configured compaction strategy.14# If not set, the default directory is $CASSANDRA_HOME/data/data.15-# data_file_directories:16-# - /var/lib/cassandra/data17+data_file_directories:18+ - /var/db/cassandra/data1920# commit log. when running on magnetic HDD, this should be a21# separate spindle than the data directories.22# If not set, the default directory is $CASSANDRA_HOME/data/commitlog.23-# commitlog_directory: /var/lib/cassandra/commitlog24+commitlog_directory: /var/db/cassandra/commitlog2526# Enable / disable CDC functionality on a per-node basis. This modifies the logic used27# for write path allocation rejection (standard: never reject. cdc: reject Mutation28@@ -205,7 +205,7 @@ cdc_enabled: false29# segment contains mutations for a CDC-enabled table. This should be placed on a30# separate spindle than the data directories. If not set, the default directory is31# $CASSANDRA_HOME/data/cdc_raw.32-# cdc_raw_directory: /var/lib/cassandra/cdc_raw33+cdc_raw_directory: /var/db/cassandra/cdc_raw3435# Policy for data disk failures:36#37@@ -306,20 +306,12 @@ key_cache_save_period: 144003839# Row cache implementation class name. Available implementations:40#41-# org.apache.cassandra.cache.OHCProvider42-# Fully off-heap row cache implementation (default).43-#44# org.apache.cassandra.cache.SerializingCacheProvider45# This is the row cache implementation availabile46# in previous releases of Cassandra.47-# row_cache_class_name: org.apache.cassandra.cache.OHCProvider48+# row_cache_class_name: org.apache.cassandra.cache.SerializingCacheProvider4950# Maximum size of the row cache in memory.51-# Please note that OHC cache implementation requires some additional off-heap memory to manage52-# the map structures and some in-flight memory during operations before/after cache entries can be53-# accounted against the cache capacity. This overhead is usually small compared to the whole capacity.54-# Do not specify more memory that the system can afford in the worst usual situation and leave some55-# headroom for OS block level cache. Do never allow your system to swap.56#57# Default value is 0, to disable row caching.58row_cache_size_in_mb: 059@@ -366,7 +358,7 @@ counter_cache_save_period: 72006061# saved caches62# If not set, the default directory is $CASSANDRA_HOME/data/saved_caches.63-# saved_caches_directory: /var/lib/cassandra/saved_caches64+saved_caches_directory: /var/db/cassandra/saved_caches6566# Number of seconds the server will wait for each cache (row, key, etc ...) to load while starting67# the Cassandra process. Setting this to a negative value is equivalent to disabling all cache loading on startup686970