You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by mc...@apache.org on 2020/01/08 07:28:05 UTC

[cassandra] branch cassandra-3.0 updated (577a9e3 -> fccbfba)

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

mck pushed a change to branch cassandra-3.0
in repository https://gitbox.apache.org/repos/asf/cassandra.git.


    from 577a9e3  Check static column timestamp during point-in-time recovery
     new ca8469e  Reduce burn length by reducing iteration count
     new fccbfba  Merge branch 'cassandra-2.2' into cassandra-3.0

The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 test/burn/org/apache/cassandra/utils/LongBTreeTest.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)


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


[cassandra] 01/01: Merge branch 'cassandra-2.2' into cassandra-3.0

Posted by mc...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

mck pushed a commit to branch cassandra-3.0
in repository https://gitbox.apache.org/repos/asf/cassandra.git

commit fccbfbaa4f9d09b2ea18997ea0f13323d74234fa
Merge: 577a9e3 ca8469e
Author: Mick Semb Wever <mc...@apache.org>
AuthorDate: Wed Jan 8 08:22:35 2020 +0100

    Merge branch 'cassandra-2.2' into cassandra-3.0

 test/burn/org/apache/cassandra/utils/LongBTreeTest.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --cc test/burn/org/apache/cassandra/utils/LongBTreeTest.java
index 5044290,5b91a5e..c052015
--- a/test/burn/org/apache/cassandra/utils/LongBTreeTest.java
+++ b/test/burn/org/apache/cassandra/utils/LongBTreeTest.java
@@@ -44,24 -51,16 +44,24 @@@ import com.codahale.metrics.MetricRegis
  import com.codahale.metrics.Snapshot;
  import com.codahale.metrics.Timer;
  import org.apache.cassandra.concurrent.NamedThreadFactory;
 -import org.apache.cassandra.utils.btree.BTree;
 -import org.apache.cassandra.utils.btree.BTreeSearchIterator;
 -import org.apache.cassandra.utils.btree.BTreeSet;
 -import org.apache.cassandra.utils.btree.UpdateFunction;
 +import org.apache.cassandra.utils.btree.*;
 +
 +import static com.google.common.base.Predicates.notNull;
 +import static com.google.common.collect.Iterables.filter;
 +import static com.google.common.collect.Iterables.transform;
 +import static java.util.Comparator.naturalOrder;
 +import static java.util.Comparator.reverseOrder;
 +import static org.apache.cassandra.utils.btree.BTree.iterable;
 +import static org.junit.Assert.assertTrue;
  
 -// TODO : should probably lower fan-factor for tests to make them more intensive
  public class LongBTreeTest
  {
 -    private static final int ITERATIONS = 10000;
  
 +    private static final boolean DEBUG = false;
-     private static int perThreadTrees = 10000;
++    private static int perThreadTrees = 100;
 +    private static int minTreeSize = 4;
 +    private static int maxTreeSize = 10000;
 +    private static int threads = DEBUG ? 1 : Runtime.getRuntime().availableProcessors() * 8;
      private static final MetricRegistry metrics = new MetricRegistry();
      private static final Timer BTREE_TIMER = metrics.timer(MetricRegistry.name(BTree.class, "BTREE"));
      private static final Timer TREE_TIMER = metrics.timer(MetricRegistry.name(BTree.class, "TREE"));


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