Repository: cassandra
Updated Branches:
  refs/heads/trunk 12f5ca36f -> b80ef9b25


Ninja fix for invocation order of core and max pool size.

Fixes 979af884 for CASSANDRA-12248


Project: http://git-wip-us.apache.org/repos/asf/cassandra/repo
Commit: http://git-wip-us.apache.org/repos/asf/cassandra/commit/b80ef9b2
Tree: http://git-wip-us.apache.org/repos/asf/cassandra/tree/b80ef9b2
Diff: http://git-wip-us.apache.org/repos/asf/cassandra/diff/b80ef9b2

Branch: refs/heads/trunk
Commit: b80ef9b2580c123da90879b4456606ef5b01b6f2
Parents: 12f5ca3
Author: Nate McCall <zznat...@gmail.com>
Authored: Wed Sep 28 12:51:51 2016 +1300
Committer: Nate McCall <zznat...@gmail.com>
Committed: Wed Sep 28 12:51:51 2016 +1300

----------------------------------------------------------------------
 src/java/org/apache/cassandra/db/compaction/CompactionManager.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cassandra/blob/b80ef9b2/src/java/org/apache/cassandra/db/compaction/CompactionManager.java
----------------------------------------------------------------------
diff --git a/src/java/org/apache/cassandra/db/compaction/CompactionManager.java 
b/src/java/org/apache/cassandra/db/compaction/CompactionManager.java
index bad0bdf..148a4fb 100644
--- a/src/java/org/apache/cassandra/db/compaction/CompactionManager.java
+++ b/src/java/org/apache/cassandra/db/compaction/CompactionManager.java
@@ -1865,8 +1865,8 @@ public class CompactionManager implements 
CompactionManagerMBean
 
     public void setConcurrentCompactors(int value)
     {
-        executor.setCorePoolSize(value);
         executor.setMaximumPoolSize(value);
+        executor.setCorePoolSize(value);
     }
 
     public int getCoreCompactorThreads()

Reply via email to