This is an automated email from the ASF dual-hosted git repository.

bereng 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 8d3fd3a  utests_system_keyspace_directory - more than 500 tests 
failing on trunk
8d3fd3a is described below

commit 8d3fd3a97c5e277c80c846d3aa7b679018e8fab5
Author: Bereng <berenguerbl...@gmail.com>
AuthorDate: Fri Nov 19 08:32:32 2021 +0100

    utests_system_keyspace_directory - more than 500 tests failing on trunk
    
    patch by Berenguer Blasi; reviewed by Sam Tunnicliffe for CASSANDRA-17137
---
 src/java/org/apache/cassandra/db/ColumnFamilyStore.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/java/org/apache/cassandra/db/ColumnFamilyStore.java 
b/src/java/org/apache/cassandra/db/ColumnFamilyStore.java
index 72af4c5..a9bcdaa 100644
--- a/src/java/org/apache/cassandra/db/ColumnFamilyStore.java
+++ b/src/java/org/apache/cassandra/db/ColumnFamilyStore.java
@@ -2941,7 +2941,7 @@ public class ColumnFamilyStore implements 
ColumnFamilyStoreMBean
         private static ExecutorPlus[] createPerDiskFlushWriters(int 
numberOfExecutors, int flushWriters)
         {
             ExecutorPlus[] flushExecutors = new 
ExecutorPlus[numberOfExecutors];
-            for (int i = 0; i < 
DatabaseDescriptor.getAllDataFileLocations().length; i++)
+            for (int i = 0; i < numberOfExecutors; i++)
             {
                 flushExecutors[i] = 
newThreadPool("PerDiskMemtableFlushWriter_"+i, flushWriters);
             }

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org
For additional commands, e-mail: commits-h...@cassandra.apache.org

Reply via email to