mirror of https://github.com/apache/cassandra
Merge branch 'cassandra-2.0' into cassandra-2.1
This commit is contained in:
commit
1b1f0b0790
|
|
@ -10,8 +10,9 @@ Merged from 2.0:
|
|||
* Correctly delete scheduled range xfers (CASSANDRA-7143)
|
||||
* Make batchlog replica selection rack-aware (CASSANDRA-6551)
|
||||
* Suggest CTRL-C or semicolon after three blank lines in cqlsh (CASSANDRA-7142)
|
||||
* return all cpu values from BackgroundActivityMonitor.readAndCompute (CASSANDRA-7183)
|
||||
* return all cpu values from BackgroundActivityMonitor.readAndCompute (CASSANDRA-7183)
|
||||
* reduce garbage creation in calculatePendingRanges (CASSANDRA-7191)
|
||||
* fix c* launch issues on Russian os's due to output of linux 'free' cmd (CASSANDRA-6162)
|
||||
Merged from 1.2:
|
||||
* Add Cloudstack snitch (CASSANDRA-7147)
|
||||
* Update system.peers correctly when relocating tokens (CASSANDRA-7126)
|
||||
|
|
|
|||
|
|
@ -18,7 +18,7 @@ calculate_heap_sizes()
|
|||
{
|
||||
case "`uname`" in
|
||||
Linux)
|
||||
system_memory_in_mb=`free -m | awk '/Mem:/ {print $2}'`
|
||||
system_memory_in_mb=`free -m | awk '/:/ {print $2;exit}'`
|
||||
system_cpu_cores=`egrep -c 'processor([[:space:]]+):.*' /proc/cpuinfo`
|
||||
;;
|
||||
FreeBSD)
|
||||
|
|
|
|||
Loading…
Reference in New Issue