Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
freebsd
GitHub Repository: freebsd/freebsd-ports-kde
Path: blob/main/databases/cassandra3/files/patch-conf_cassandra.yaml
16461 views
1
--- conf/cassandra.yaml.orig 2022-10-28 19:54:09 UTC
2
+++ conf/cassandra.yaml
3
@@ -71,7 +71,7 @@ max_hints_delivery_threads: 2
4
5
# Directory where Cassandra should store hints.
6
# If not set, the default directory is $CASSANDRA_HOME/data/hints.
7
-# hints_directory: /var/lib/cassandra/hints
8
+hints_directory: /var/db/cassandra/hints
9
10
# How often hints should be flushed from the internal buffers to disk.
11
# Will *not* trigger fsync.
12
@@ -188,13 +188,13 @@ partitioner: org.apache.cassandra.dht.Murmur3Partition
13
# will spread data evenly across them, subject to the granularity of
14
# the configured compaction strategy.
15
# If not set, the default directory is $CASSANDRA_HOME/data/data.
16
-# data_file_directories:
17
-# - /var/lib/cassandra/data
18
+data_file_directories:
19
+ - /var/db/cassandra/data
20
21
# commit log. when running on magnetic HDD, this should be a
22
# separate spindle than the data directories.
23
# If not set, the default directory is $CASSANDRA_HOME/data/commitlog.
24
-# commitlog_directory: /var/lib/cassandra/commitlog
25
+commitlog_directory: /var/db/cassandra/commitlog
26
27
# Enable / disable CDC functionality on a per-node basis. This modifies the logic used
28
# for write path allocation rejection (standard: never reject. cdc: reject Mutation
29
@@ -205,7 +205,7 @@ cdc_enabled: false
30
# segment contains mutations for a CDC-enabled table. This should be placed on a
31
# separate spindle than the data directories. If not set, the default directory is
32
# $CASSANDRA_HOME/data/cdc_raw.
33
-# cdc_raw_directory: /var/lib/cassandra/cdc_raw
34
+cdc_raw_directory: /var/db/cassandra/cdc_raw
35
36
# Policy for data disk failures:
37
#
38
@@ -306,20 +306,12 @@ key_cache_save_period: 14400
39
40
# Row cache implementation class name. Available implementations:
41
#
42
-# org.apache.cassandra.cache.OHCProvider
43
-# Fully off-heap row cache implementation (default).
44
-#
45
# org.apache.cassandra.cache.SerializingCacheProvider
46
# This is the row cache implementation availabile
47
# in previous releases of Cassandra.
48
-# row_cache_class_name: org.apache.cassandra.cache.OHCProvider
49
+# row_cache_class_name: org.apache.cassandra.cache.SerializingCacheProvider
50
51
# Maximum size of the row cache in memory.
52
-# Please note that OHC cache implementation requires some additional off-heap memory to manage
53
-# the map structures and some in-flight memory during operations before/after cache entries can be
54
-# accounted against the cache capacity. This overhead is usually small compared to the whole capacity.
55
-# Do not specify more memory that the system can afford in the worst usual situation and leave some
56
-# headroom for OS block level cache. Do never allow your system to swap.
57
#
58
# Default value is 0, to disable row caching.
59
row_cache_size_in_mb: 0
60
@@ -366,7 +358,7 @@ counter_cache_save_period: 7200
61
62
# saved caches
63
# If not set, the default directory is $CASSANDRA_HOME/data/saved_caches.
64
-# saved_caches_directory: /var/lib/cassandra/saved_caches
65
+saved_caches_directory: /var/db/cassandra/saved_caches
66
67
# Number of seconds the server will wait for each cache (row, key, etc ...) to load while starting
68
# the Cassandra process. Setting this to a negative value is equivalent to disabling all cache loading on startup
69
70