mirror of https://github.com/apache/cassandra
Merge branch 'cassandra-3.0' into cassandra-3.11
This commit is contained in:
commit
1381c875e8
|
|
@ -3,6 +3,7 @@
|
|||
* Fix SELECT JSON formatting for the "duration" type (CASSANDRA-15075)
|
||||
* Fix LegacyLayout to have same behavior as 2.x when handling unknown column names (CASSANDRA-15081)
|
||||
Merged from 3.0:
|
||||
* GC logs are also put under $CASSANDRA_LOG_DIR (CASSANDRA-14306)
|
||||
* Fix sstabledump's position key value when partitions have multiple rows (CASSANDRA-14721)
|
||||
* Avoid over-scanning data directories in LogFile.verify() (CASSANDRA-15364)
|
||||
* Bump generations and document changes to system_distributed and system_traces in 3.0, 3.11
|
||||
|
|
|
|||
|
|
@ -121,8 +121,13 @@ case "$jvm" in
|
|||
;;
|
||||
esac
|
||||
|
||||
# Sets the path where logback and GC logs are written.
|
||||
if [ "x$CASSANDRA_LOG_DIR" = "x" ] ; then
|
||||
CASSANDRA_LOG_DIR="$CASSANDRA_HOME/logs"
|
||||
fi
|
||||
|
||||
#GC log path has to be defined here because it needs to access CASSANDRA_HOME
|
||||
JVM_OPTS="$JVM_OPTS -Xloggc:${CASSANDRA_HOME}/logs/gc.log"
|
||||
JVM_OPTS="$JVM_OPTS -Xloggc:${CASSANDRA_LOG_DIR}/gc.log"
|
||||
|
||||
# Here we create the arguments that will get passed to the jvm when
|
||||
# starting cassandra.
|
||||
|
|
|
|||
Loading…
Reference in New Issue