mirror of https://github.com/apache/cassandra
Merge branch 'cassandra-3.0' into cassandra-3.11
This commit is contained in:
commit
443088fd13
|
|
@ -13,6 +13,7 @@
|
|||
* RateBasedBackPressure unnecessarily invokes a lock on the Guava RateLimiter (CASSANDRA-14163)
|
||||
* Fix wildcard GROUP BY queries (CASSANDRA-14209)
|
||||
Merged from 3.0:
|
||||
* Cassandra not starting when using enhanced startup scripts in windows (CASSANDRA-14418)
|
||||
* Fix progress stats and units in compactionstats (CASSANDRA-12244)
|
||||
* Better handle missing partition columns in system_schema.columns (CASSANDRA-14379)
|
||||
* Delay hints store excise by write timeout to avoid race with decommission (CASSANDRA-13740)
|
||||
|
|
|
|||
|
|
@ -377,7 +377,7 @@ Function SetCassandraEnvironment
|
|||
}
|
||||
|
||||
# provides hints to the JIT compiler
|
||||
$env:JVM_OPTS = "$env:JVM_OPTS -XX:CompileCommandFile=$env:CASSANDRA_CONF\hotspot_compiler"
|
||||
$env:JVM_OPTS = "$env:JVM_OPTS -XX:CompileCommandFile=""$env:CASSANDRA_CONF\hotspot_compiler"""
|
||||
|
||||
# add the jamm javaagent
|
||||
if (($env:JVM_VENDOR -ne "OpenJDK") -or ($env:JVM_VERSION.CompareTo("1.6.0") -eq 1) -or
|
||||
|
|
@ -390,7 +390,7 @@ Function SetCassandraEnvironment
|
|||
if ($env:CASSANDRA_HEAPDUMP_DIR)
|
||||
{
|
||||
$unixTimestamp = [int64](([datetime]::UtcNow)-(get-date "1/1/1970")).TotalSeconds
|
||||
$env:JVM_OPTS="$env:JVM_OPTS -XX:HeapDumpPath=$env:CASSANDRA_HEAPDUMP_DIR\cassandra-$unixTimestamp-pid$pid.hprof"
|
||||
$env:JVM_OPTS="$env:JVM_OPTS -XX:HeapDumpPath=""$env:CASSANDRA_HEAPDUMP_DIR\cassandra-$unixTimestamp-pid$pid.hprof"""
|
||||
}
|
||||
|
||||
# stop the jvm on OutOfMemoryError as it can result in some data corruption
|
||||
|
|
|
|||
Loading…
Reference in New Issue