mirror of
https://git.freebsd.org/ports.git
synced 2025-05-03 12:06:39 -04:00
- Add pre-fetch target to download Maven dependencies to avoid network access during build PR: 265478 Approved by: Angelo Polo <language.devel@gmail.com> (maintainer)
71 lines
3.4 KiB
YAML
71 lines
3.4 KiB
YAML
--- conf/cassandra.yaml.orig 2022-05-06 16:40:06 UTC
|
|
+++ conf/cassandra.yaml
|
|
@@ -77,7 +77,7 @@ max_hints_delivery_threads: 2
|
|
|
|
# Directory where Cassandra should store hints.
|
|
# If not set, the default directory is $CASSANDRA_HOME/data/hints.
|
|
-# hints_directory: /var/lib/cassandra/hints
|
|
+hints_directory: /var/db/cassandra/hints
|
|
|
|
# How often hints should be flushed from the internal buffers to disk.
|
|
# Will *not* trigger fsync.
|
|
@@ -204,8 +204,8 @@ partitioner: org.apache.cassandra.dht.Murmur3Partition
|
|
# directories are specified, Cassandra will spread data evenly across
|
|
# them by partitioning the token ranges.
|
|
# If not set, the default directory is $CASSANDRA_HOME/data/data.
|
|
-# data_file_directories:
|
|
-# - /var/lib/cassandra/data
|
|
+data_file_directories:
|
|
+ - /var/db/cassandra/data
|
|
|
|
# Directory were Cassandra should store the data of the local system keyspaces.
|
|
# By default Cassandra will store the data of the local system keyspaces in the first of the data directories specified
|
|
@@ -217,7 +217,7 @@ partitioner: org.apache.cassandra.dht.Murmur3Partition
|
|
# commit log. when running on magnetic HDD, this should be a
|
|
# separate spindle than the data directories.
|
|
# If not set, the default directory is $CASSANDRA_HOME/data/commitlog.
|
|
-# commitlog_directory: /var/lib/cassandra/commitlog
|
|
+commitlog_directory: /var/db/cassandra/commitlog
|
|
|
|
# Enable / disable CDC functionality on a per-node basis. This modifies the logic used
|
|
# for write path allocation rejection (standard: never reject. cdc: reject Mutation
|
|
@@ -228,7 +228,7 @@ cdc_enabled: false
|
|
# segment contains mutations for a CDC-enabled table. This should be placed on a
|
|
# separate spindle than the data directories. If not set, the default directory is
|
|
# $CASSANDRA_HOME/data/cdc_raw.
|
|
-# cdc_raw_directory: /var/lib/cassandra/cdc_raw
|
|
+cdc_raw_directory: /var/db/cassandra/cdc_raw
|
|
|
|
# Policy for data disk failures:
|
|
#
|
|
@@ -320,20 +320,12 @@ key_cache_save_period: 14400
|
|
|
|
# Row cache implementation class name. Available implementations:
|
|
#
|
|
-# org.apache.cassandra.cache.OHCProvider
|
|
-# Fully off-heap row cache implementation (default).
|
|
-#
|
|
# org.apache.cassandra.cache.SerializingCacheProvider
|
|
# This is the row cache implementation availabile
|
|
# in previous releases of Cassandra.
|
|
-# row_cache_class_name: org.apache.cassandra.cache.OHCProvider
|
|
+# row_cache_class_name: org.apache.cassandra.cache.SerializingCacheProvider
|
|
|
|
# Maximum size of the row cache in memory.
|
|
-# Please note that OHC cache implementation requires some additional off-heap memory to manage
|
|
-# the map structures and some in-flight memory during operations before/after cache entries can be
|
|
-# accounted against the cache capacity. This overhead is usually small compared to the whole capacity.
|
|
-# Do not specify more memory that the system can afford in the worst usual situation and leave some
|
|
-# headroom for OS block level cache. Do never allow your system to swap.
|
|
#
|
|
# Default value is 0, to disable row caching.
|
|
row_cache_size_in_mb: 0
|
|
@@ -380,7 +372,7 @@ counter_cache_save_period: 7200
|
|
|
|
# saved caches
|
|
# If not set, the default directory is $CASSANDRA_HOME/data/saved_caches.
|
|
-# saved_caches_directory: /var/lib/cassandra/saved_caches
|
|
+saved_caches_directory: /var/db/cassandra/saved_caches
|
|
|
|
# Number of seconds the server will wait for each cache (row, key, etc ...) to load while starting
|
|
# the Cassandra process. Setting this to a negative value is equivalent to disabling all cache loading on startup
|