Path: blob/main/databases/cassandra4/files/patch-conf_cassandra.yaml
16462 views
--- conf/cassandra.yaml.orig 2022-05-06 16:40:06 UTC1+++ conf/cassandra.yaml2@@ -77,7 +77,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@@ -204,8 +204,8 @@ partitioner: org.apache.cassandra.dht.Murmur3Partition12# directories are specified, Cassandra will spread data evenly across13# them by partitioning the token ranges.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# Directory were Cassandra should store the data of the local system keyspaces.21# By default Cassandra will store the data of the local system keyspaces in the first of the data directories specified22@@ -217,7 +217,7 @@ partitioner: org.apache.cassandra.dht.Murmur3Partition23# commit log. when running on magnetic HDD, this should be a24# separate spindle than the data directories.25# If not set, the default directory is $CASSANDRA_HOME/data/commitlog.26-# commitlog_directory: /var/lib/cassandra/commitlog27+commitlog_directory: /var/db/cassandra/commitlog2829# Enable / disable CDC functionality on a per-node basis. This modifies the logic used30# for write path allocation rejection (standard: never reject. cdc: reject Mutation31@@ -228,7 +228,7 @@ cdc_enabled: false32# segment contains mutations for a CDC-enabled table. This should be placed on a33# separate spindle than the data directories. If not set, the default directory is34# $CASSANDRA_HOME/data/cdc_raw.35-# cdc_raw_directory: /var/lib/cassandra/cdc_raw36+cdc_raw_directory: /var/db/cassandra/cdc_raw3738# Policy for data disk failures:39#40@@ -320,20 +320,12 @@ key_cache_save_period: 144004142# Row cache implementation class name. Available implementations:43#44-# org.apache.cassandra.cache.OHCProvider45-# Fully off-heap row cache implementation (default).46-#47# org.apache.cassandra.cache.SerializingCacheProvider48# This is the row cache implementation availabile49# in previous releases of Cassandra.50-# row_cache_class_name: org.apache.cassandra.cache.OHCProvider51+# row_cache_class_name: org.apache.cassandra.cache.SerializingCacheProvider5253# Maximum size of the row cache in memory.54-# Please note that OHC cache implementation requires some additional off-heap memory to manage55-# the map structures and some in-flight memory during operations before/after cache entries can be56-# accounted against the cache capacity. This overhead is usually small compared to the whole capacity.57-# Do not specify more memory that the system can afford in the worst usual situation and leave some58-# headroom for OS block level cache. Do never allow your system to swap.59#60# Default value is 0, to disable row caching.61row_cache_size_in_mb: 062@@ -380,7 +372,7 @@ counter_cache_save_period: 72006364# saved caches65# If not set, the default directory is $CASSANDRA_HOME/data/saved_caches.66-# saved_caches_directory: /var/lib/cassandra/saved_caches67+saved_caches_directory: /var/db/cassandra/saved_caches6869# Number of seconds the server will wait for each cache (row, key, etc ...) to load while starting70# the Cassandra process. Setting this to a negative value is equivalent to disabling all cache loading on startup717273