This is an automated email from the ASF dual-hosted git repository.
mck pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/cassandra.git
The following commit(s) were added to refs/heads/trunk by this push:
new b04429b ninja-fix debian cassandra.yaml patch for CASSANDRA-14793
b04429b is described below
commit b04429b57ca8e48f00d0e58e9c76887d4776cd9c
Author: Mick Semb Wever <[email protected]>
AuthorDate: Thu Feb 4 15:55:15 2021 +0100
ninja-fix debian cassandra.yaml patch for CASSANDRA-14793
---
debian/patches/cassandra_yaml_dirs.diff | 21 ++++++++++++---------
1 file changed, 12 insertions(+), 9 deletions(-)
diff --git a/debian/patches/cassandra_yaml_dirs.diff
b/debian/patches/cassandra_yaml_dirs.diff
index 84219d0..249f508 100644
--- a/debian/patches/cassandra_yaml_dirs.diff
+++ b/debian/patches/cassandra_yaml_dirs.diff
@@ -1,28 +1,31 @@
--- a/conf/cassandra.yaml
+++ b/conf/cassandra.yaml
-@@ -197,13 +197,13 @@
- # directories are specified, Cassandra will spread data evenly across
+@@ -203,8 +203,8 @@ partitioner: org.apache.cassandra.dht.Murmur3Partitioner
+ # 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/lib/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
+@@ -216,7 +216,7 @@ partitioner: org.apache.cassandra.dht.Murmur3Partitioner
# 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/lib/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
-@@ -366,7 +366,7 @@
-
+@@ -379,7 +379,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/lib/cassandra/saved_caches
-
- # commitlog_sync may be either "periodic", "group", or "batch."
- #
+
+ # commitlog_sync may be either "periodic", "group", or "batch."
+ #
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]