You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by ad...@apache.org on 2021/10/01 14:28:31 UTC

[cassandra] branch cassandra-4.0 updated (339e8b7 -> 36266ce)

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

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


    from 339e8b7  Merge branch 'cassandra-3.11' into cassandra-4.0
     new 0c46531  Make -Dtest.methods consistently optional in all Ant test targets
     new 2614f7e  Merge branch 'cassandra-3.0' into cassandra-3.11
     new 36266ce  Merge branch 'cassandra-3.11' into cassandra-4.0

The 3 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:
 CHANGES.txt |  1 +
 build.xml   | 25 ++++++++++++++++++-------
 2 files changed, 19 insertions(+), 7 deletions(-)

---------------------------------------------------------------------
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-3.11' into cassandra-4.0

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

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

commit 36266ce257e62b74a1e68aadba637b2dc75b32fc
Merge: 339e8b7 2614f7e
Author: Andrés de la Peña <a....@gmail.com>
AuthorDate: Fri Oct 1 15:19:35 2021 +0100

    Merge branch 'cassandra-3.11' into cassandra-4.0

 CHANGES.txt |  1 +
 build.xml   | 25 ++++++++++++++++++-------
 2 files changed, 19 insertions(+), 7 deletions(-)

diff --cc CHANGES.txt
index 2bc99b4,a40b226..f6d3610
--- a/CHANGES.txt
+++ b/CHANGES.txt
@@@ -1,22 -1,16 +1,23 @@@
 -3.11.12
 +4.0.2
 + * Correct the internode message timestamp if sending node has wrapped (CASSANDRA-16997)
 + * Avoid race causing us to return null in RangesAtEndpoint (CASSANDRA-16965)
 + * Avoid rewriting all sstables during cleanup when transient replication is enabled (CASSANDRA-16966)
 + * Prevent CQLSH from failure on Python 3.10 (CASSANDRA-16987)
 + * Avoid trying to acquire 0 permits from the rate limiter when taking snapshot (CASSANDRA-16872)
 + * Upgrade Caffeine to 2.5.6 (CASSANDRA-15153)
 + * Include SASI components to snapshots (CASSANDRA-15134)
 + * Fix missed wait latencies in the output of `nodetool tpstats -F` (CASSANDRA-16938)
 + * Remove all the state pollution between tests in SSTableReaderTest (CASSANDRA-16888)
 + * Delay auth setup until after gossip has settled to avoid unavailables on startup (CASSANDRA-16783)
 + * Fix clustering order logic in CREATE MATERIALIZED VIEW (CASSANDRA-16898)
 + * org.apache.cassandra.db.rows.ArrayCell#unsharedHeapSizeExcludingData includes data twice (CASSANDRA-16900)
 + * Exclude Jackson 1.x transitive dependency of hadoop* provided dependencies (CASSANDRA-16854)
 +Merged from 3.11:
   * Add key validation to ssstablescrub (CASSANDRA-16969)
   * Update Jackson from 2.9.10 to 2.12.5 (CASSANDRA-16851)
 - * Include SASI components to snapshots (CASSANDRA-15134)
   * Make assassinate more resilient to missing tokens (CASSANDRA-16847)
 - * Exclude Jackson 1.x transitive dependency of hadoop* provided dependencies (CASSANDRA-16854)
 - * Validate SASI tokenizer options before adding index to schema (CASSANDRA-15135)
 - * Fixup scrub output when no data post-scrub and clear up old use of row, which really means partition (CASSANDRA-16835)
 - * Fix ant-junit dependency issue (CASSANDRA-16827)
 - * Reduce thread contention in CommitLogSegment and HintsBuffer (CASSANDRA-16072)
 - * Avoid sending CDC column if not enabled (CASSANDRA-16770)
  Merged from 3.0:
+  * Make -Dtest.methods consistently optional in all Ant test targets (CASSANDRA-17014)
   * Immediately apply stream throughput, considering negative values as unthrottled (CASSANDRA-16959)
   * Do not release new SSTables in offline transactions (CASSANDRA-16975)
   * ArrayIndexOutOfBoundsException in FunctionResource#fromName (CASSANDRA-16977, CASSANDRA-16995)
diff --cc build.xml
index 58487fa,fe77098..405ab89
--- a/build.xml
+++ b/build.xml
@@@ -940,59 -776,9 +940,63 @@@
          </testmacro>
      </target>
  
++    <!-- Use this with an FQDN for test class, and an optional csv list of methods like this:
++      ant stress-test-some -Dtest.name=org.apache.cassandra.stress.generate.DistributionGaussianTest
++      ant stress-test-some -Dtest.name=org.apache.cassandra.stress.generate.DistributionGaussianTest -Dtest.methods=simpleGaussian
++    -->
 +    <target name="stress-test-some" depends="stress-build-test, build-test" description="Runs stress tests">
 +        <testmacro inputdir="${stress.test.src}"
 +                       timeout="${test.timeout}">
 +          <test unless:blank="${test.methods}" name="${test.name}" methods="${test.methods}" outfile="build/test/output/TEST-${test.name}-${test.methods}"/>
 +          <test if:blank="${test.methods}" name="${test.name}" outfile="build/test/output/TEST-${test.name}"/>
 +        </testmacro>
 +    </target>
 +
 +    <!--
 +        fqltool build file
 +        -->
 +    <property name="fqltool.build.src" value="${basedir}/tools/fqltool/src" />
 +    <property name="fqltool.test.src" value="${basedir}/tools/fqltool/test/unit" />
 +    <property name="fqltool.build.classes" value="${build.classes}/fqltool" />
 +    <property name="fqltool.test.classes" value="${build.dir}/test/fqltool-classes" />
 +    <property name="fqltool.manifest" value="${fqltool.build.classes}/MANIFEST.MF" />
 +
 +    <target name="fqltool-build-test" depends="fqltool-build" description="Compile fqltool tests">
 +        <javac debug="true" debuglevel="${debuglevel}" destdir="${fqltool.test.classes}"
 +               source="${source.version}" target="${target.version}"
 +               includeantruntime="false" encoding="utf-8">
 +            <classpath>
 +                <path refid="cassandra.classpath.test"/>
 +                <pathelement location="${fqltool.build.classes}" />
 +            </classpath>
 +            <src path="${fqltool.test.src}"/>
 +        </javac>
 +    </target>
 +
 +    <target name="fqltool-build" depends="build" description="build fqltool">
 +        <antcall target="_fqltool_build"/>
 +    </target>
 +
 +    <target name="_fqltool_build">
 +    	<mkdir dir="${fqltool.build.classes}" />
 +        <javac compiler="modern" debug="true" debuglevel="${debuglevel}"
 +               source="${source.version}" target="${target.version}"
 +               encoding="utf-8" destdir="${fqltool.build.classes}" includeantruntime="true">
 +            <src path="${fqltool.build.src}" />
 +            <classpath>
 +                <path refid="cassandra.classpath" />
 +            </classpath>
 +        </javac>
 +    </target>
 +
 +    <target name="fqltool-test" depends="fqltool-build-test, build-test" description="Runs fqltool tests">
 +        <testmacro inputdir="${fqltool.test.src}"
 +                       timeout="${test.timeout}">
 +        </testmacro>
 +    </target>
 +
  	<target name="_write-poms" depends="maven-declare-dependencies">
  	    <artifact:writepom pomRefId="parent-pom" file="${build.dir}/${final.name}-parent.pom"/>
 -	    <artifact:writepom pomRefId="thrift-pom" file="${build.dir}/${ant.project.name}-thrift-${version}.pom"/>
  	    <artifact:writepom pomRefId="all-pom" file="${build.dir}/${final.name}.pom"/>
  	    <artifact:writepom pomRefId="build-deps-pom" file="${build.dir}/tmp-${final.name}-deps.pom"/>
  	</target>
@@@ -1504,7 -1296,8 +1508,7 @@@
      </antcall>
    </target>
  
-   <!-- Use this with an FQDN for test class, and a csv list of methods like this:
+   <!-- Use this with an FQDN for test class, and an optional csv list of methods like this:
 -    ant testsome -Dtest.name=org.apache.cassandra.service.StorageServiceServerTest
      ant testsome -Dtest.name=org.apache.cassandra.service.StorageServiceServerTest -Dtest.methods=testRegularMode,testGetAllRangesEmpty
    -->
    <target name="testsome" depends="build-test" description="Execute specific unit tests" >
@@@ -1519,20 -1313,9 +1523,22 @@@
      </testmacro>
    </target>
  
-   <!-- Use this with an FQDN for test class, and a csv list of methods like this:
-     ant long-testsome -Dtest.name=org.apache.cassandra.cql3.ViewLongTest -Dtest.methods=testConflictResolution
+   <!-- Use this with an FQDN for test class, and an optional csv list of methods like this:
++    ant long-testsome -Dtest.name=org.apache.cassandra.cql3.ManyRowsTest
++    ant long-testsome -Dtest.name=org.apache.cassandra.cql3.ManyRowsTest -Dtest.methods=testLargeCount
 +  -->
 +  <target name="long-testsome" depends="build-test" description="Execute specific long unit tests" >
 +    <testmacro inputdir="${test.long.src}" timeout="${test.long.timeout}">
 +      <test unless:blank="${test.methods}" name="${test.name}" methods="${test.methods}"/>
 +      <test if:blank="${test.methods}" name="${test.name}"/>
 +      <jvmarg value="-Dcassandra.ring_delay_ms=1000"/>
 +      <jvmarg value="-Dcassandra.tolerate_sstable_size=true"/>
 +    </testmacro>
 +  </target>
 +
-   <!-- Use this with an FQDN for test class, and a csv list of methods like this:
-     ant burn-testsome -Dtest.name=org.apache.cassandra.utils.memory.LongBufferPoolTest -Dtest.methods=testAllocate
++  <!-- Use this with an FQDN for test class, and an optional csv list of methods like this:
+     ant burn-testsome -Dtest.name=org.apache.cassandra.utils.memory.LongBufferPoolTest
 -    ant burn-testsome -Dtest.name=org.apache.cassandra.utils.memory.LongBufferPoolTest -Dtest.methods=testAllocate
++    ant burn-testsome -Dtest.name=org.apache.cassandra.utils.memory.LongBufferPoolTest -Dtest.methods=testPoolAllocateWithRecyclePartially
    -->
    <target name="burn-testsome" depends="build-test" description="Execute specific burn unit tests" >
      <testmacro inputdir="${test.burn.src}" timeout="${test.burn.timeout}">
@@@ -1858,7 -1613,9 +1869,7 @@@
      </testmacro>
    </target>
  
-   <!-- Use this with an FQDN for test class, and a csv list of methods like this:
+   <!-- Use this with an FQDN for test class, and an optional csv list of methods like this:
 -      ant test-jvm-dtest-some -Dtest.name=org.apache.cassandra.distributed.test.ResourceLeakTest
        ant test-jvm-dtest-some -Dtest.name=org.apache.cassandra.distributed.test.ResourceLeakTest -Dtest.methods=looperTest
      -->
    <target name="test-jvm-dtest-some" depends="build-test" description="Execute some in-jvm dtests">

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