mirror of https://github.com/apache/cassandra
Merge branch 'cassandra-3.11' into trunk
This commit is contained in:
commit
7337fc0ab4
|
|
@ -0,0 +1,75 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||||
|
<!--
|
||||||
|
~ Licensed to the Apache Software Foundation (ASF) under one
|
||||||
|
~ or more contributor license agreements. See the NOTICE file
|
||||||
|
~ distributed with this work for additional information
|
||||||
|
~ regarding copyright ownership. The ASF licenses this file
|
||||||
|
~ to you under the Apache License, Version 2.0 (the
|
||||||
|
~ "License"); you may not use this file except in compliance
|
||||||
|
~ with the License. You may obtain a copy of the License at
|
||||||
|
~
|
||||||
|
~ https://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
~
|
||||||
|
~ Unless required by applicable law or agreed to in writing,
|
||||||
|
~ software distributed under the License is distributed on an
|
||||||
|
~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||||
|
~ KIND, either express or implied. See the License for the
|
||||||
|
~ specific language governing permissions and limitations
|
||||||
|
~ under the License.
|
||||||
|
-->
|
||||||
|
<project basedir="." name="apache-cassandra--rat-tasks"
|
||||||
|
xmlns:rat="antlib:org.apache.rat.anttasks">
|
||||||
|
|
||||||
|
<!--
|
||||||
|
License audit tool
|
||||||
|
-->
|
||||||
|
|
||||||
|
<condition property="rat.enabled">
|
||||||
|
<available file=".gitignore" />
|
||||||
|
</condition>
|
||||||
|
|
||||||
|
<target name="_rat_init" depends="resolver-init">
|
||||||
|
<typedef uri="antlib:org.apache.rat.anttasks" classpathref="rat.classpath"/>
|
||||||
|
</target>
|
||||||
|
|
||||||
|
<target name="rat-check" depends="_rat_init" if="${rat.enabled}" description="License checks on source" >
|
||||||
|
<rat:report reportFile="${build.dir}/rat.txt">
|
||||||
|
<fileset dir="."
|
||||||
|
includes="**/*.java,**/*.py,**/*.sh,**/.xml,**/*.spec,**/*.md,**/*.iml,**/*.bat,**/*.btm,**/*.cql,**/*.css,**/*.g,**/*.hmtl,**/*.jflex,**/*.jks,**/*.mod,**/*.name,**/*.pom,**/*.textile,**/*.yml,**/*.yaml"
|
||||||
|
excludesfile=".gitignore">
|
||||||
|
<!-- Config files with not much creativity -->
|
||||||
|
<exclude name="**/metrics-reporter-config-sample.yaml"/>
|
||||||
|
<exclude name="**/cassandra.yaml"/>
|
||||||
|
<exclude name="**/cassandra-murmur.yaml"/>
|
||||||
|
<exclude name="**/cassandra-seeds.yaml"/>
|
||||||
|
<exclude name="**/test/conf/cassandra.yaml"/>
|
||||||
|
<exclude name="**/test/conf/cassandra_encryption.yaml"/>
|
||||||
|
<exclude name="**/test/conf/cdc.yaml"/>
|
||||||
|
<exclude name="**/test/conf/commitlog_compression_LZ4.yaml"/>
|
||||||
|
<exclude name="**/test/conf/commitlog_compression_Zstd.yaml"/>
|
||||||
|
<exclude name="**/test/conf/system_keyspaces_directory.yaml"/>
|
||||||
|
<exclude name="**/test/conf/unit-test-conf/test-native-port.yaml"/>
|
||||||
|
<exclude name="**/test/data/jmxdump/cassandra-3.0-jmx.yaml"/>
|
||||||
|
<exclude name="**/test/data/jmxdump/cassandra-3.11-jmx.yaml"/>
|
||||||
|
<exclude name="**/test/data/jmxdump/cassandra-4.0-jmx.yaml"/>
|
||||||
|
<exclude name="**/tools/cqlstress-counter-example.yaml"/>
|
||||||
|
<exclude name="**/tools/cqlstress-example.yaml"/>
|
||||||
|
<exclude name="**/tools/cqlstress-insanity-example.yaml"/>
|
||||||
|
<exclude name="**/tools/cqlstress-lwt-example.yaml"/>
|
||||||
|
<!-- NOTICE files -->
|
||||||
|
<exclude NAME="**/NOTICE.md"/>
|
||||||
|
<!-- LICENSE files -->
|
||||||
|
<exclude NAME="**/LICENSE.md"/>
|
||||||
|
</fileset>
|
||||||
|
</rat:report>
|
||||||
|
<fail message="Some files have missing or incorrect license information. Check RAT report in ${build.dir}/rat.txt for more details!">
|
||||||
|
<condition>
|
||||||
|
<and>
|
||||||
|
<not>
|
||||||
|
<resourcecontains resource="${build.dir}/rat.txt" substring="0 Unknown Licenses" casesensitive="false" />
|
||||||
|
</not>
|
||||||
|
</and>
|
||||||
|
</condition>
|
||||||
|
</fail>
|
||||||
|
</target>
|
||||||
|
</project>
|
||||||
|
|
@ -1,3 +1,21 @@
|
||||||
|
#
|
||||||
|
# Licensed to the Apache Software Foundation (ASF) under one
|
||||||
|
# or more contributor license agreements. See the NOTICE file
|
||||||
|
# distributed with this work for additional information
|
||||||
|
# regarding copyright ownership. The ASF licenses this file
|
||||||
|
# to you under the Apache License, Version 2.0 (the
|
||||||
|
# "License"); you may not use this file except in compliance
|
||||||
|
# with the License. You may obtain a copy of the License at
|
||||||
|
#
|
||||||
|
# http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
#
|
||||||
|
# Unless required by applicable law or agreed to in writing, software
|
||||||
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
# See the License for the specific language governing permissions and
|
||||||
|
# limitations under the License.
|
||||||
|
#
|
||||||
|
|
||||||
version: 2.1
|
version: 2.1
|
||||||
|
|
||||||
default_env_vars: &default_env_vars
|
default_env_vars: &default_env_vars
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,21 @@
|
||||||
|
#
|
||||||
|
# Licensed to the Apache Software Foundation (ASF) under one
|
||||||
|
# or more contributor license agreements. See the NOTICE file
|
||||||
|
# distributed with this work for additional information
|
||||||
|
# regarding copyright ownership. The ASF licenses this file
|
||||||
|
# to you under the Apache License, Version 2.0 (the
|
||||||
|
# "License"); you may not use this file except in compliance
|
||||||
|
# with the License. You may obtain a copy of the License at
|
||||||
|
#
|
||||||
|
# http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
#
|
||||||
|
# Unless required by applicable law or agreed to in writing, software
|
||||||
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
# See the License for the specific language governing permissions and
|
||||||
|
# limitations under the License.
|
||||||
|
#
|
||||||
|
|
||||||
version: 2
|
version: 2
|
||||||
jobs:
|
jobs:
|
||||||
j8_jvm_upgrade_dtests:
|
j8_jvm_upgrade_dtests:
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,21 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
#
|
||||||
|
# Licensed to the Apache Software Foundation (ASF) under one
|
||||||
|
# or more contributor license agreements. See the NOTICE file
|
||||||
|
# distributed with this work for additional information
|
||||||
|
# regarding copyright ownership. The ASF licenses this file
|
||||||
|
# to you under the Apache License, Version 2.0 (the
|
||||||
|
# "License"); you may not use this file except in compliance
|
||||||
|
# with the License. You may obtain a copy of the License at
|
||||||
|
#
|
||||||
|
# http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
#
|
||||||
|
# Unless required by applicable law or agreed to in writing, software
|
||||||
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
# See the License for the specific language governing permissions and
|
||||||
|
# limitations under the License.
|
||||||
|
#
|
||||||
|
|
||||||
BASEDIR=`dirname $0`
|
BASEDIR=`dirname $0`
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,23 @@
|
||||||
|
<!--
|
||||||
|
#
|
||||||
|
# Licensed to the Apache Software Foundation (ASF) under one
|
||||||
|
# or more contributor license agreements. See the NOTICE file
|
||||||
|
# distributed with this work for additional information
|
||||||
|
# regarding copyright ownership. The ASF licenses this file
|
||||||
|
# to you under the Apache License, Version 2.0 (the
|
||||||
|
# "License"); you may not use this file except in compliance
|
||||||
|
# with the License. You may obtain a copy of the License at
|
||||||
|
#
|
||||||
|
# http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
#
|
||||||
|
# Unless required by applicable law or agreed to in writing, software
|
||||||
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
# See the License for the specific language governing permissions and
|
||||||
|
# limitations under the License.
|
||||||
|
#
|
||||||
|
-->
|
||||||
|
|
||||||
# CircleCI config files
|
# CircleCI config files
|
||||||
|
|
||||||
## Switching to high resource settings
|
## Switching to high resource settings
|
||||||
|
|
|
||||||
|
|
@ -8,6 +8,7 @@ logs/
|
||||||
data/
|
data/
|
||||||
conf/hotspot_compiler
|
conf/hotspot_compiler
|
||||||
doc/cql3/CQL.html
|
doc/cql3/CQL.html
|
||||||
|
doc/build/
|
||||||
lib/
|
lib/
|
||||||
!lib/cassandra-driver-internal-only-*.zip
|
!lib/cassandra-driver-internal-only-*.zip
|
||||||
|
|
||||||
|
|
@ -72,3 +73,7 @@ doc/source/tools/nodetool
|
||||||
|
|
||||||
# Python virtual environment
|
# Python virtual environment
|
||||||
venv/
|
venv/
|
||||||
|
|
||||||
|
# build-scripts will put cassandra-builds into the directory
|
||||||
|
cassandra-builds/
|
||||||
|
cassandra-dtest/
|
||||||
|
|
|
||||||
|
|
@ -1,33 +0,0 @@
|
||||||
**/*.avpr
|
|
||||||
debian/**
|
|
||||||
.classpath
|
|
||||||
.rat-excludes
|
|
||||||
**/.project
|
|
||||||
**/.pydevproject
|
|
||||||
CHANGES.txt
|
|
||||||
README.asc
|
|
||||||
.git/**
|
|
||||||
**/*.json
|
|
||||||
**/*.patch
|
|
||||||
interface/*/gen-*/**
|
|
||||||
src/gen-java/**
|
|
||||||
build/**
|
|
||||||
lib/licenses/*.txt
|
|
||||||
.settings/**
|
|
||||||
**/cassandra.yaml
|
|
||||||
**/cassandra-topology.yaml
|
|
||||||
**/metrics-reporter-config-sample.yaml
|
|
||||||
**/*.db
|
|
||||||
.externalToolBuilders/**
|
|
||||||
test/data/serialization/*/*
|
|
||||||
**/*.wpr
|
|
||||||
doc/**
|
|
||||||
build.properties.default
|
|
||||||
test/data/**
|
|
||||||
examples/triggers/build.xml
|
|
||||||
examples/triggers/conf/*
|
|
||||||
examples/hadoop_word_count/conf/log4j.properties
|
|
||||||
pylib/cqlshlib/test/**
|
|
||||||
src/resources/org/apache/cassandra/config/version.properties
|
|
||||||
conf/hotspot_compiler
|
|
||||||
**/*-example.yaml
|
|
||||||
|
|
@ -1,3 +1,23 @@
|
||||||
|
<!--
|
||||||
|
#
|
||||||
|
# Licensed to the Apache Software Foundation (ASF) under one
|
||||||
|
# or more contributor license agreements. See the NOTICE file
|
||||||
|
# distributed with this work for additional information
|
||||||
|
# regarding copyright ownership. The ASF licenses this file
|
||||||
|
# to you under the Apache License, Version 2.0 (the
|
||||||
|
# "License"); you may not use this file except in compliance
|
||||||
|
# with the License. You may obtain a copy of the License at
|
||||||
|
#
|
||||||
|
# http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
#
|
||||||
|
# Unless required by applicable law or agreed to in writing, software
|
||||||
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
# See the License for the specific language governing permissions and
|
||||||
|
# limitations under the License.
|
||||||
|
#
|
||||||
|
-->
|
||||||
|
|
||||||
# Apache Cassandra and Pull Requests
|
# Apache Cassandra and Pull Requests
|
||||||
|
|
||||||
Apache Cassandra doesn't use GitHub pull requests as part of the development process.
|
Apache Cassandra doesn't use GitHub pull requests as part of the development process.
|
||||||
|
|
|
||||||
20
TESTING.md
20
TESTING.md
|
|
@ -1,3 +1,23 @@
|
||||||
|
<!--
|
||||||
|
#
|
||||||
|
# Licensed to the Apache Software Foundation (ASF) under one
|
||||||
|
# or more contributor license agreements. See the NOTICE file
|
||||||
|
# distributed with this work for additional information
|
||||||
|
# regarding copyright ownership. The ASF licenses this file
|
||||||
|
# to you under the Apache License, Version 2.0 (the
|
||||||
|
# "License"); you may not use this file except in compliance
|
||||||
|
# with the License. You may obtain a copy of the License at
|
||||||
|
#
|
||||||
|
# http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
#
|
||||||
|
# Unless required by applicable law or agreed to in writing, software
|
||||||
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
# See the License for the specific language governing permissions and
|
||||||
|
# limitations under the License.
|
||||||
|
#
|
||||||
|
-->
|
||||||
|
|
||||||
The goal of this document is to establish guidelines on writing tests that drive incremental improvement of the test coverage and testability of
|
The goal of this document is to establish guidelines on writing tests that drive incremental improvement of the test coverage and testability of
|
||||||
Cassandra, without overly burdening day to day work. While not every point here will be immediately practical to implement or relevant for every
|
Cassandra, without overly burdening day to day work. While not every point here will be immediately practical to implement or relevant for every
|
||||||
contribution, it errs on the side of not making rules out of potential exceptions. It provides guidelines on test scope, style, and goals, as
|
contribution, it errs on the side of not making rules out of potential exceptions. It provides guidelines on test scope, style, and goals, as
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,21 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
#
|
||||||
|
# Licensed to the Apache Software Foundation (ASF) under one
|
||||||
|
# or more contributor license agreements. See the NOTICE file
|
||||||
|
# distributed with this work for additional information
|
||||||
|
# regarding copyright ownership. The ASF licenses this file
|
||||||
|
# to you under the Apache License, Version 2.0 (the
|
||||||
|
# "License"); you may not use this file except in compliance
|
||||||
|
# with the License. You may obtain a copy of the License at
|
||||||
|
#
|
||||||
|
# http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
#
|
||||||
|
# Unless required by applicable law or agreed to in writing, software
|
||||||
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
# See the License for the specific language governing permissions and
|
||||||
|
# limitations under the License.
|
||||||
|
#
|
||||||
|
|
||||||
set -xe
|
set -xe
|
||||||
|
|
||||||
|
|
|
||||||
71
build.xml
71
build.xml
|
|
@ -887,7 +887,7 @@
|
||||||
</javac>
|
</javac>
|
||||||
</target>
|
</target>
|
||||||
|
|
||||||
<target depends="init,gen-cql3-grammar,generate-cql-html,generate-jflex-java,rat-report"
|
<target depends="init,gen-cql3-grammar,generate-cql-html,generate-jflex-java,rat-check"
|
||||||
name="build-project">
|
name="build-project">
|
||||||
<echo message="${ant.project.name}: ${ant.file}"/>
|
<echo message="${ant.project.name}: ${ant.file}"/>
|
||||||
<!-- Order matters! -->
|
<!-- Order matters! -->
|
||||||
|
|
@ -1216,43 +1216,6 @@
|
||||||
</checksum>
|
</checksum>
|
||||||
</target>
|
</target>
|
||||||
|
|
||||||
<target name="rat" depends="rat-init" description="License checks on artifacts">
|
|
||||||
<rat:report xmlns:rat="antlib:org.apache.rat.anttasks"
|
|
||||||
reportFile="${build.dir}/${final.name}-bin.rat.txt">
|
|
||||||
<tarfileset>
|
|
||||||
<gzipresource>
|
|
||||||
<file file="${build.dir}/${final.name}-bin.tar.gz" />
|
|
||||||
</gzipresource>
|
|
||||||
</tarfileset>
|
|
||||||
</rat:report>
|
|
||||||
<rat:report xmlns:rat="antlib:org.apache.rat.anttasks"
|
|
||||||
reportFile="${build.dir}/${final.name}-src.rat.txt">
|
|
||||||
<tarfileset>
|
|
||||||
<gzipresource>
|
|
||||||
<file file="${build.dir}/${final.name}-src.tar.gz" />
|
|
||||||
</gzipresource>
|
|
||||||
</tarfileset>
|
|
||||||
</rat:report>
|
|
||||||
</target>
|
|
||||||
|
|
||||||
<target name="rat-report" depends="rat-init" description="License checks on source" >
|
|
||||||
<rat:report xmlns:rat="antlib:org.apache.rat.anttasks"
|
|
||||||
reportFile="${build.dir}/src.rat.txt">
|
|
||||||
<fileset dir="src/java"/>
|
|
||||||
<fileset dir="test/unit"/>
|
|
||||||
<fileset dir="test/distributed"/>
|
|
||||||
</rat:report>
|
|
||||||
<fail message="Some files have missing or incorrect license information. Check RAT report in ${build.dir}/src.rat.txt for more details!">
|
|
||||||
<condition>
|
|
||||||
<and>
|
|
||||||
<not>
|
|
||||||
<resourcecontains resource="${build.dir}/src.rat.txt" substring="0 Unknown Licenses" casesensitive="false" />
|
|
||||||
</not>
|
|
||||||
</and>
|
|
||||||
</condition>
|
|
||||||
</fail>
|
|
||||||
</target>
|
|
||||||
|
|
||||||
<target name="build-jmh" depends="build-test, jar" description="Create JMH uber jar">
|
<target name="build-jmh" depends="build-test, jar" description="Create JMH uber jar">
|
||||||
<jar jarfile="${build.test.dir}/deps.jar">
|
<jar jarfile="${build.test.dir}/deps.jar">
|
||||||
<zipgroupfileset dir="${build.dir.lib}/jars">
|
<zipgroupfileset dir="${build.dir.lib}/jars">
|
||||||
|
|
@ -1758,37 +1721,6 @@
|
||||||
<delete dir="${jacoco.export.dir}"/>
|
<delete dir="${jacoco.export.dir}"/>
|
||||||
</target>
|
</target>
|
||||||
|
|
||||||
<!--
|
|
||||||
License audit tool
|
|
||||||
-->
|
|
||||||
<target name="rat-init" depends="resolver-init">
|
|
||||||
<typedef uri="antlib:org.apache.rat.anttasks" classpathref="rat.classpath"/>
|
|
||||||
</target>
|
|
||||||
|
|
||||||
<target name="rat-check" depends="rat-init">
|
|
||||||
<rat:report xmlns:rat="antlib:org.apache.rat.anttasks"
|
|
||||||
reportFile="${build.dir}/rat-report.log">
|
|
||||||
<fileset dir="." excludesfile=".rat-excludes" />
|
|
||||||
</rat:report>
|
|
||||||
<condition property="rat.passed">
|
|
||||||
<isfileselected file="${build.dir}/rat-report.log">
|
|
||||||
<containsregexp expression="^0 Unknown Licenses"/>
|
|
||||||
</isfileselected>
|
|
||||||
</condition>
|
|
||||||
<fail unless="rat.passed">Unknown licenses: See build/rat-report.log.</fail>
|
|
||||||
</target>
|
|
||||||
|
|
||||||
<target name="rat-write" depends="rat-init">
|
|
||||||
<echo>RAT: invoking addLicense to write missing headers</echo>
|
|
||||||
<java classname="org.apache.rat.Report" fork="true"
|
|
||||||
output="${build.dir}/rat-report.log">
|
|
||||||
<classpath refid="rat.classpath" />
|
|
||||||
<arg value="-a" />
|
|
||||||
<arg value="--force" />
|
|
||||||
<arg value="." />
|
|
||||||
</java>
|
|
||||||
</target>
|
|
||||||
|
|
||||||
<target name="javadoc" depends="build" description="Create javadoc" unless="no-javadoc">
|
<target name="javadoc" depends="build" description="Create javadoc" unless="no-javadoc">
|
||||||
<create-javadoc destdir="${javadoc.dir}">
|
<create-javadoc destdir="${javadoc.dir}">
|
||||||
<filesets>
|
<filesets>
|
||||||
|
|
@ -2208,4 +2140,5 @@
|
||||||
</target>
|
</target>
|
||||||
|
|
||||||
<import file="${basedir}/.build/build-resolver.xml"/>
|
<import file="${basedir}/.build/build-resolver.xml"/>
|
||||||
|
<import file="${basedir}/.build/build-rat.xml"/>
|
||||||
</project>
|
</project>
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,4 @@
|
||||||
|
|
||||||
# Cassandra storage config YAML
|
# Cassandra storage config YAML
|
||||||
|
|
||||||
# NOTE:
|
# NOTE:
|
||||||
|
|
|
||||||
|
|
@ -18,5 +18,5 @@ RUN wget -qO - https://adoptopenjdk.jfrog.io/adoptopenjdk/api/gpg/key/public | a
|
||||||
|
|
||||||
RUN apt-get clean
|
RUN apt-get clean
|
||||||
|
|
||||||
CMD CASSANDRA_USE_JDK11=true ant gen-doc \
|
CMD CASSANDRA_USE_JDK11=true ant realclean gen-doc \
|
||||||
&& echo "The locally built documentation can be found here:\n\n build/html/index.html\n\n"
|
&& echo "The locally built documentation can be found here:\n\n build/html/index.html\n\n"
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,23 @@
|
||||||
|
<!--
|
||||||
|
#
|
||||||
|
# Licensed to the Apache Software Foundation (ASF) under one
|
||||||
|
# or more contributor license agreements. See the NOTICE file
|
||||||
|
# distributed with this work for additional information
|
||||||
|
# regarding copyright ownership. The ASF licenses this file
|
||||||
|
# to you under the Apache License, Version 2.0 (the
|
||||||
|
# "License"); you may not use this file except in compliance
|
||||||
|
# with the License. You may obtain a copy of the License at
|
||||||
|
#
|
||||||
|
# http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
#
|
||||||
|
# Unless required by applicable law or agreed to in writing, software
|
||||||
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
# See the License for the specific language governing permissions and
|
||||||
|
# limitations under the License.
|
||||||
|
#
|
||||||
|
-->
|
||||||
|
|
||||||
Apache Cassandra documentation directory
|
Apache Cassandra documentation directory
|
||||||
========================================
|
========================================
|
||||||
|
|
||||||
|
|
|
||||||
20
doc/SASI.md
20
doc/SASI.md
|
|
@ -1,3 +1,23 @@
|
||||||
|
<!--
|
||||||
|
#
|
||||||
|
# Licensed to the Apache Software Foundation (ASF) under one
|
||||||
|
# or more contributor license agreements. See the NOTICE file
|
||||||
|
# distributed with this work for additional information
|
||||||
|
# regarding copyright ownership. The ASF licenses this file
|
||||||
|
# to you under the Apache License, Version 2.0 (the
|
||||||
|
# "License"); you may not use this file except in compliance
|
||||||
|
# with the License. You may obtain a copy of the License at
|
||||||
|
#
|
||||||
|
# http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
#
|
||||||
|
# Unless required by applicable law or agreed to in writing, software
|
||||||
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
# See the License for the specific language governing permissions and
|
||||||
|
# limitations under the License.
|
||||||
|
#
|
||||||
|
-->
|
||||||
|
|
||||||
# SASIIndex
|
# SASIIndex
|
||||||
|
|
||||||
[`SASIIndex`](https://github.com/apache/cassandra/blob/trunk/src/java/org/apache/cassandra/index/sasi/SASIIndex.java),
|
[`SASIIndex`](https://github.com/apache/cassandra/blob/trunk/src/java/org/apache/cassandra/index/sasi/SASIIndex.java),
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,22 @@
|
||||||
|
<!--
|
||||||
|
#
|
||||||
|
# Licensed to the Apache Software Foundation (ASF) under one
|
||||||
|
# or more contributor license agreements. See the NOTICE file
|
||||||
|
# distributed with this work for additional information
|
||||||
|
# regarding copyright ownership. The ASF licenses this file
|
||||||
|
# to you under the Apache License, Version 2.0 (the
|
||||||
|
# "License"); you may not use this file except in compliance
|
||||||
|
# with the License. You may obtain a copy of the License at
|
||||||
|
#
|
||||||
|
# http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
#
|
||||||
|
# Unless required by applicable law or agreed to in writing, software
|
||||||
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
# See the License for the specific language governing permissions and
|
||||||
|
# limitations under the License.
|
||||||
|
#
|
||||||
|
-->
|
||||||
|
|
||||||
h1. Cassandra Query Language (CQL) v3.4.3
|
h1. Cassandra Query Language (CQL) v3.4.3
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,21 @@
|
||||||
|
#
|
||||||
|
# Licensed to the Apache Software Foundation (ASF) under one
|
||||||
|
# or more contributor license agreements. See the NOTICE file
|
||||||
|
# distributed with this work for additional information
|
||||||
|
# regarding copyright ownership. The ASF licenses this file
|
||||||
|
# to you under the Apache License, Version 2.0 (the
|
||||||
|
# "License"); you may not use this file except in compliance
|
||||||
|
# with the License. You may obtain a copy of the License at
|
||||||
|
#
|
||||||
|
# http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
#
|
||||||
|
# Unless required by applicable law or agreed to in writing, software
|
||||||
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
# See the License for the specific language governing permissions and
|
||||||
|
# limitations under the License.
|
||||||
|
#
|
||||||
|
|
||||||
# docker-compose.yml for building the Cassandra documentation.
|
# docker-compose.yml for building the Cassandra documentation.
|
||||||
|
|
||||||
version: '2.0'
|
version: '2.0'
|
||||||
|
|
|
||||||
18
doc/make.bat
18
doc/make.bat
|
|
@ -1,5 +1,23 @@
|
||||||
@ECHO OFF
|
@ECHO OFF
|
||||||
|
|
||||||
|
REM
|
||||||
|
REM Licensed to the Apache Software Foundation (ASF) under one
|
||||||
|
REM or more contributor license agreements. See the NOTICE file
|
||||||
|
REM distributed with this work for additional information
|
||||||
|
REM regarding copyright ownership. The ASF licenses this file
|
||||||
|
REM to you under the Apache License, Version 2.0 (the
|
||||||
|
REM "License"); you may not use this file except in compliance
|
||||||
|
REM with the License. You may obtain a copy of the License at
|
||||||
|
REM
|
||||||
|
REM http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
REM
|
||||||
|
REM Unless required by applicable law or agreed to in writing, software
|
||||||
|
REM distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
REM WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
REM See the License for the specific language governing permissions and
|
||||||
|
REM limitations under the License.
|
||||||
|
REM
|
||||||
|
|
||||||
REM Command file for Sphinx documentation
|
REM Command file for Sphinx documentation
|
||||||
|
|
||||||
if "%SPHINXBUILD%" == "" (
|
if "%SPHINXBUILD%" == "" (
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,20 @@
|
||||||
|
#
|
||||||
|
# Licensed to the Apache Software Foundation (ASF) under one
|
||||||
|
# or more contributor license agreements. See the NOTICE file
|
||||||
|
# distributed with this work for additional information
|
||||||
|
# regarding copyright ownership. The ASF licenses this file
|
||||||
|
# to you under the Apache License, Version 2.0 (the
|
||||||
|
# "License"); you may not use this file except in compliance
|
||||||
|
# with the License. You may obtain a copy of the License at
|
||||||
|
#
|
||||||
|
# http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
#
|
||||||
|
# Unless required by applicable law or agreed to in writing, software
|
||||||
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
# See the License for the specific language governing permissions and
|
||||||
|
# limitations under the License.
|
||||||
|
#
|
||||||
|
|
||||||
CQL BINARY PROTOCOL v3
|
CQL BINARY PROTOCOL v3
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,20 @@
|
||||||
|
#
|
||||||
|
# Licensed to the Apache Software Foundation (ASF) under one
|
||||||
|
# or more contributor license agreements. See the NOTICE file
|
||||||
|
# distributed with this work for additional information
|
||||||
|
# regarding copyright ownership. The ASF licenses this file
|
||||||
|
# to you under the Apache License, Version 2.0 (the
|
||||||
|
# "License"); you may not use this file except in compliance
|
||||||
|
# with the License. You may obtain a copy of the License at
|
||||||
|
#
|
||||||
|
# http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
#
|
||||||
|
# Unless required by applicable law or agreed to in writing, software
|
||||||
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
# See the License for the specific language governing permissions and
|
||||||
|
# limitations under the License.
|
||||||
|
#
|
||||||
|
|
||||||
CQL BINARY PROTOCOL v4
|
CQL BINARY PROTOCOL v4
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,20 @@
|
||||||
|
#
|
||||||
|
# Licensed to the Apache Software Foundation (ASF) under one
|
||||||
|
# or more contributor license agreements. See the NOTICE file
|
||||||
|
# distributed with this work for additional information
|
||||||
|
# regarding copyright ownership. The ASF licenses this file
|
||||||
|
# to you under the Apache License, Version 2.0 (the
|
||||||
|
# "License"); you may not use this file except in compliance
|
||||||
|
# with the License. You may obtain a copy of the License at
|
||||||
|
#
|
||||||
|
# http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
#
|
||||||
|
# Unless required by applicable law or agreed to in writing, software
|
||||||
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
# See the License for the specific language governing permissions and
|
||||||
|
# limitations under the License.
|
||||||
|
#
|
||||||
|
|
||||||
CQL BINARY PROTOCOL v5
|
CQL BINARY PROTOCOL v5
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -25,6 +25,7 @@ Contributing to Cassandra
|
||||||
testing
|
testing
|
||||||
patches
|
patches
|
||||||
code_style
|
code_style
|
||||||
|
license_compliance
|
||||||
how_to_review
|
how_to_review
|
||||||
how_to_commit
|
how_to_commit
|
||||||
documentation
|
documentation
|
||||||
|
|
|
||||||
|
|
@ -0,0 +1,37 @@
|
||||||
|
.. Licensed to the Apache Software Foundation (ASF) under one
|
||||||
|
.. or more contributor license agreements. See the NOTICE file
|
||||||
|
.. distributed with this work for additional information
|
||||||
|
.. regarding copyright ownership. The ASF licenses this file
|
||||||
|
.. to you under the Apache License, Version 2.0 (the
|
||||||
|
.. "License"); you may not use this file except in compliance
|
||||||
|
.. with the License. You may obtain a copy of the License at
|
||||||
|
..
|
||||||
|
.. http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
..
|
||||||
|
.. Unless required by applicable law or agreed to in writing, software
|
||||||
|
.. distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
.. WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
.. See the License for the specific language governing permissions and
|
||||||
|
.. limitations under the License.
|
||||||
|
|
||||||
|
.. _license_compliance:
|
||||||
|
|
||||||
|
License Compliance
|
||||||
|
******************
|
||||||
|
|
||||||
|
|
||||||
|
The target of this document is to provide an overview and guidance how the Apache Cassandra project's source code and
|
||||||
|
artifacts maintain compliance with the `ASF Licensing policy <http://www.apache.org/legal/release-policy.html#licensing>`.
|
||||||
|
|
||||||
|
The repository contains a LICENSE file, and a NOTICE file.
|
||||||
|
|
||||||
|
The Apache Cassandra project enforces and verifies ASF License header conformance on all source files using the Apache RAT tool.
|
||||||
|
|
||||||
|
With a few exceptions, source files consisting of works submitted directly to the ASF by the copyright owner or owner's
|
||||||
|
agent must contain the appropriate ASF license header. Files without any degree of creativity don't require a license header.
|
||||||
|
|
||||||
|
Currently, RAT checks all .bat, .btm, .cql, .css, .g, .hmtl, .iml, .java, .jflex, .jks, .md, .mod, .name, .pom, .py, .sh, .spec, .textile, .yml, .yaml, .xml files for a LICENSE header.
|
||||||
|
|
||||||
|
If there is an incompliance, the build will fail with the following warning:
|
||||||
|
|
||||||
|
Some files have missing or incorrect license information. Check RAT report in build/rat.txt for more details!
|
||||||
|
|
@ -1,3 +1,21 @@
|
||||||
|
#
|
||||||
|
# Licensed to the Apache Software Foundation (ASF) under one
|
||||||
|
# or more contributor license agreements. See the NOTICE file
|
||||||
|
# distributed with this work for additional information
|
||||||
|
# regarding copyright ownership. The ASF licenses this file
|
||||||
|
# to you under the Apache License, Version 2.0 (the
|
||||||
|
# "License"); you may not use this file except in compliance
|
||||||
|
# with the License. You may obtain a copy of the License at
|
||||||
|
#
|
||||||
|
# http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
#
|
||||||
|
# Unless required by applicable law or agreed to in writing, software
|
||||||
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
# See the License for the specific language governing permissions and
|
||||||
|
# limitations under the License.
|
||||||
|
#
|
||||||
|
|
||||||
spacenam: example # idenitifier for this spec if running with multiple yaml files
|
spacenam: example # idenitifier for this spec if running with multiple yaml files
|
||||||
keyspace: example
|
keyspace: example
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,21 @@
|
||||||
|
#
|
||||||
|
# Licensed to the Apache Software Foundation (ASF) under one
|
||||||
|
# or more contributor license agreements. See the NOTICE file
|
||||||
|
# distributed with this work for additional information
|
||||||
|
# regarding copyright ownership. The ASF licenses this file
|
||||||
|
# to you under the Apache License, Version 2.0 (the
|
||||||
|
# "License"); you may not use this file except in compliance
|
||||||
|
# with the License. You may obtain a copy of the License at
|
||||||
|
#
|
||||||
|
# http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
#
|
||||||
|
# Unless required by applicable law or agreed to in writing, software
|
||||||
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
# See the License for the specific language governing permissions and
|
||||||
|
# limitations under the License.
|
||||||
|
#
|
||||||
|
|
||||||
# Keyspace Name
|
# Keyspace Name
|
||||||
keyspace: stresscql
|
keyspace: stresscql
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,21 @@
|
||||||
|
/*
|
||||||
|
# Licensed to the Apache Software Foundation (ASF) under one
|
||||||
|
# or more contributor license agreements. See the NOTICE file
|
||||||
|
# distributed with this work for additional information
|
||||||
|
# regarding copyright ownership. The ASF licenses this file
|
||||||
|
# to you under the Apache License, Version 2.0 (the
|
||||||
|
# "License"); you may not use this file except in compliance
|
||||||
|
# with the License. You may obtain a copy of the License at
|
||||||
|
#
|
||||||
|
# http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
#
|
||||||
|
# Unless required by applicable law or agreed to in writing, software
|
||||||
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
# See the License for the specific language governing permissions and
|
||||||
|
# limitations under the License.
|
||||||
|
*/
|
||||||
|
|
||||||
CREATE TABLE has_all_types (
|
CREATE TABLE has_all_types (
|
||||||
num int PRIMARY KEY,
|
num int PRIMARY KEY,
|
||||||
intcol int,
|
intcol int,
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,23 @@
|
||||||
|
<!--
|
||||||
|
#
|
||||||
|
# Licensed to the Apache Software Foundation (ASF) under one
|
||||||
|
# or more contributor license agreements. See the NOTICE file
|
||||||
|
# distributed with this work for additional information
|
||||||
|
# regarding copyright ownership. The ASF licenses this file
|
||||||
|
# to you under the Apache License, Version 2.0 (the
|
||||||
|
# "License"); you may not use this file except in compliance
|
||||||
|
# with the License. You may obtain a copy of the License at
|
||||||
|
#
|
||||||
|
# http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
#
|
||||||
|
# Unless required by applicable law or agreed to in writing, software
|
||||||
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
# See the License for the specific language governing permissions and
|
||||||
|
# limitations under the License.
|
||||||
|
#
|
||||||
|
-->
|
||||||
|
|
||||||
# Apache Cassandra rpmbuild
|
# Apache Cassandra rpmbuild
|
||||||
|
|
||||||
### Requirements:
|
### Requirements:
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,20 @@
|
||||||
|
#
|
||||||
|
# Licensed to the Apache Software Foundation (ASF) under one
|
||||||
|
# or more contributor license agreements. See the NOTICE file
|
||||||
|
# distributed with this work for additional information
|
||||||
|
# regarding copyright ownership. The ASF licenses this file
|
||||||
|
# to you under the Apache License, Version 2.0 (the
|
||||||
|
# "License"); you may not use this file except in compliance
|
||||||
|
# with the License. You may obtain a copy of the License at
|
||||||
|
#
|
||||||
|
# http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
#
|
||||||
|
# Unless required by applicable law or agreed to in writing, software
|
||||||
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
# See the License for the specific language governing permissions and
|
||||||
|
# limitations under the License.
|
||||||
|
#
|
||||||
|
|
||||||
# The directory where Cassandra's configs live (required)
|
# The directory where Cassandra's configs live (required)
|
||||||
CASSANDRA_CONF=/etc/cassandra/conf
|
CASSANDRA_CONF=/etc/cassandra/conf
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,21 @@
|
||||||
|
#
|
||||||
|
# Licensed to the Apache Software Foundation (ASF) under one
|
||||||
|
# or more contributor license agreements. See the NOTICE file
|
||||||
|
# distributed with this work for additional information
|
||||||
|
# regarding copyright ownership. The ASF licenses this file
|
||||||
|
# to you under the Apache License, Version 2.0 (the
|
||||||
|
# "License"); you may not use this file except in compliance
|
||||||
|
# with the License. You may obtain a copy of the License at
|
||||||
|
#
|
||||||
|
# http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
#
|
||||||
|
# Unless required by applicable law or agreed to in writing, software
|
||||||
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
# See the License for the specific language governing permissions and
|
||||||
|
# limitations under the License.
|
||||||
|
#
|
||||||
|
|
||||||
%define __jar_repack %{nil}
|
%define __jar_repack %{nil}
|
||||||
# Turn off the brp-python-bytecompile script
|
# Turn off the brp-python-bytecompile script
|
||||||
%global __os_install_post %(echo '%{__os_install_post}' | sed -e 's!/usr/lib[^[:space:]]*/brp-python-bytecompile[[:space:]].*$!!g')
|
%global __os_install_post %(echo '%{__os_install_post}' | sed -e 's!/usr/lib[^[:space:]]*/brp-python-bytecompile[[:space:]].*$!!g')
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,23 @@
|
||||||
|
<!--
|
||||||
|
#
|
||||||
|
# Licensed to the Apache Software Foundation (ASF) under one
|
||||||
|
# or more contributor license agreements. See the NOTICE file
|
||||||
|
# distributed with this work for additional information
|
||||||
|
# regarding copyright ownership. The ASF licenses this file
|
||||||
|
# to you under the Apache License, Version 2.0 (the
|
||||||
|
# "License"); you may not use this file except in compliance
|
||||||
|
# with the License. You may obtain a copy of the License at
|
||||||
|
#
|
||||||
|
# http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
#
|
||||||
|
# Unless required by applicable law or agreed to in writing, software
|
||||||
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
# See the License for the specific language governing permissions and
|
||||||
|
# limitations under the License.
|
||||||
|
#
|
||||||
|
-->
|
||||||
|
|
||||||
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
|
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
|
||||||
<modelVersion>4.0.0</modelVersion>
|
<modelVersion>4.0.0</modelVersion>
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,21 @@
|
||||||
|
/*
|
||||||
|
# Licensed to the Apache Software Foundation (ASF) under one
|
||||||
|
# or more contributor license agreements. See the NOTICE file
|
||||||
|
# distributed with this work for additional information
|
||||||
|
# regarding copyright ownership. The ASF licenses this file
|
||||||
|
# to you under the Apache License, Version 2.0 (the
|
||||||
|
# "License"); you may not use this file except in compliance
|
||||||
|
# with the License. You may obtain a copy of the License at
|
||||||
|
#
|
||||||
|
# http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
#
|
||||||
|
# Unless required by applicable law or agreed to in writing, software
|
||||||
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
# See the License for the specific language governing permissions and
|
||||||
|
# limitations under the License.
|
||||||
|
*/
|
||||||
|
|
||||||
create keyspace foo with replication = {'class':'SimpleStrategy', 'replication_factor':1};
|
create keyspace foo with replication = {'class':'SimpleStrategy', 'replication_factor':1};
|
||||||
use foo ;
|
use foo ;
|
||||||
create table atable ( pk int primary key, val int);
|
create table atable ( pk int primary key, val int);
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,21 @@
|
||||||
|
#
|
||||||
|
# Licensed to the Apache Software Foundation (ASF) under one
|
||||||
|
# or more contributor license agreements. See the NOTICE file
|
||||||
|
# distributed with this work for additional information
|
||||||
|
# regarding copyright ownership. The ASF licenses this file
|
||||||
|
# to you under the Apache License, Version 2.0 (the
|
||||||
|
# "License"); you may not use this file except in compliance
|
||||||
|
# with the License. You may obtain a copy of the License at
|
||||||
|
#
|
||||||
|
# http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
#
|
||||||
|
# Unless required by applicable law or agreed to in writing, software
|
||||||
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
# See the License for the specific language governing permissions and
|
||||||
|
# limitations under the License.
|
||||||
|
#
|
||||||
|
|
||||||
# Copied from https://gist.github.com/tjake/8995058fed11d9921e31
|
# Copied from https://gist.github.com/tjake/8995058fed11d9921e31
|
||||||
### DML ###
|
### DML ###
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,21 @@
|
||||||
|
#
|
||||||
|
# Licensed to the Apache Software Foundation (ASF) under one
|
||||||
|
# or more contributor license agreements. See the NOTICE file
|
||||||
|
# distributed with this work for additional information
|
||||||
|
# regarding copyright ownership. The ASF licenses this file
|
||||||
|
# to you under the Apache License, Version 2.0 (the
|
||||||
|
# "License"); you may not use this file except in compliance
|
||||||
|
# with the License. You may obtain a copy of the License at
|
||||||
|
#
|
||||||
|
# http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
#
|
||||||
|
# Unless required by applicable law or agreed to in writing, software
|
||||||
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
# See the License for the specific language governing permissions and
|
||||||
|
# limitations under the License.
|
||||||
|
#
|
||||||
|
|
||||||
RULE mutation_limiter
|
RULE mutation_limiter
|
||||||
CLASS org.apache.cassandra.db.MutationVerbHandler
|
CLASS org.apache.cassandra.db.MutationVerbHandler
|
||||||
METHOD doVerb
|
METHOD doVerb
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,21 @@
|
||||||
#
|
#
|
||||||
|
# Licensed to the Apache Software Foundation (ASF) under one
|
||||||
|
# or more contributor license agreements. See the NOTICE file
|
||||||
|
# distributed with this work for additional information
|
||||||
|
# regarding copyright ownership. The ASF licenses this file
|
||||||
|
# to you under the Apache License, Version 2.0 (the
|
||||||
|
# "License"); you may not use this file except in compliance
|
||||||
|
# with the License. You may obtain a copy of the License at
|
||||||
|
#
|
||||||
|
# http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
#
|
||||||
|
# Unless required by applicable law or agreed to in writing, software
|
||||||
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
# See the License for the specific language governing permissions and
|
||||||
|
# limitations under the License.
|
||||||
|
#
|
||||||
|
#
|
||||||
# Inject streaming failure
|
# Inject streaming failure
|
||||||
#
|
#
|
||||||
# Before start streaming files in `StreamSession#prepare()` method,
|
# Before start streaming files in `StreamSession#prepare()` method,
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue