Commit Graph

1502 Commits

Author SHA1 Message Date
Brandon Williams 541d769042 Merge branch 'cassandra-3.0' into cassandra-3.11 2022-03-14 14:04:26 -05:00
Brandon Williams 34f59904f5 Require at least ant >= 1.10
Patch by brandonwilliams; reviewed by smiklosovic and paulo for
CASSANDRA-17428
2022-03-14 14:02:29 -05:00
Dmitry Potepalov 0e249fd15e Fix ignored streaming encryption settings in sstableloader
Patch by Dmitry Potepalov; reviewed by bereng and brandonwilliams for
CASSANDRA-17367

Encryption settings were silently lost in BulkLoadConnectionFactory.
Forced the bulk loader test to do some actual streaming besides just
handshaking on the native port, the test does not pass without the
change in BulkLoadConnectionFactory.
2022-03-02 07:45:13 -06:00
Mick Semb Wever 894d33ce40
Increment version to 4.0.4 2022-02-17 09:26:44 +01:00
Mick Semb Wever d0f4b42956
Increment version to 4.0.3 2022-02-11 11:08:24 +01:00
Mick Semb Wever 25828cb9b1
Increment version to 3.0.27 2022-02-11 11:06:48 +01:00
Mick Semb Wever 1e015ed2a2
Increment version to 3.11.13 2022-02-11 11:06:25 +01:00
Mick Semb Wever e769d0d6d6
Merge branch 'cassandra-3.11' into cassandra-4.0 2022-01-23 13:03:54 +01:00
Mick Semb Wever 9c6efe1222
Bump copyright to 2009-2022 2022-01-23 13:01:58 +01:00
Brandon Williams cf9091a12c Merge branch 'cassandra-3.11' into cassandra-4.0 2022-01-20 09:49:36 -06:00
Brandon Williams 7e68448235 Merge branch 'cassandra-3.0' into cassandra-3.11 2022-01-20 09:48:13 -06:00
Brandon Williams 28004d9c60 Upgrade logback to 1.2.9
Patch by brandonwilliams; reviewed by bereng for CASSANDRA-17204

includes backported test changes from CASSANDRA-14183
2022-01-20 09:47:11 -06:00
Mick Semb Wever 0aad2e9e86
Merge branch 'cassandra-3.11' into cassandra-4.0 2022-01-05 23:00:27 +01:00
Lorina Poland 05b0eaecad
Migrate documentation to AsciiDoc
This commit sets up a new documentation structure and format:

* The directory struture changes from a Sphinx project to an Antora module layout.
* The formatting of the content changes from reStructuredText to AsciiDoc.

The documentation must now be built and published with Antora. Initially only from the cassandra-website repository.

This change was done to make maintaining versioned website documentation easier. As Antora is designed to generate versioned documentation.

The old directory structure was:

<ROOT>
  - doc/
    - cql3/
      - CQL.css
      - CQL.textile
    - source/
      - _static/
      - _templates/
      - _theme/
      - _util/
      - <other directory sections>/
      - conf.py
      - index.rst
      - <other *.rst pages>
    - make.bat
    - Makefile
    - README.md
    - SASI.md
    - <*.spec files>
    - <generation scripts>

The new directory structure organises the documentation into modules:

<ROOT>
  - doc/
    - cql3
    - modules/
      - cassandra/
        - assets/
        - examples/
        - pages/
        - partials/
        - nav.adoc
      - ROOT/
        - pages/
        - nav.adoc
    - scripts/
    - antora.yaml
    - README.md
    - SASI.md

 patch by Lorina Poland, Anthony Grasso; reviewed by Anthony Grasso, Mick Semb Wever for CASSANDRA-16763

Co-authored-by: Anthony Grasso <anthony@thelastpickle.com>
2022-01-05 22:03:02 +01:00
Ekaterina Dimitrova 3ceaed125c Update ant-junit to version 1.10.12
patch by Ekaterina Dimitrova; reviewed by Michael Semb Wever for CASSANDRA-17218
2022-01-03 20:26:52 -05:00
Venkata Harikrishna Nukala 1911a887e8 Fix slow keycache load which blocks startup for tables with many sstables.
Patch by Venkata Harikrishna Nukala; reviewed by Marcus Eriksson and Joseph Lynch for CASSANDRA-14898
2021-12-09 10:14:16 -05:00
Mick Semb Wever 3f2066d150
Merge branch 'cassandra-3.11' into cassandra-4.0 2021-11-17 10:42:16 +01:00
Mick Semb Wever cd73c14cec
Merge branch 'cassandra-3.0' into cassandra-3.11 2021-11-17 10:31:18 +01:00
Sumanth Pasupuleti 44d81b5d09
Create property for local repository
patch by Sumanth Pasupuleti; reviewed by Mick Semb Wever for CASSANDRA-16917
2021-11-15 16:20:28 +01:00
Benedict Elliott Smith 07b908c78c Merge branch 'cassandra-3.11' into cassandra-4.0 2021-11-10 11:12:29 +00:00
Benedict Elliott Smith bfe4a90852 Merge branch 'cassandra-3.0' into cassandra-3.11 2021-11-10 11:11:43 +00:00
Benedict Elliott Smith e4d96721bf Merge branch 'cassandra-2.2' into cassandra-3.0 2021-11-10 11:10:04 +00:00
Brandon Williams 5c7603c2ae Upgrade to snakeyaml 1.26
Patch by brandonwilliams; reviewed by bereng for CASSANDRA-17028
2021-10-15 10:06:57 -05:00
Andrés de la Peña 36266ce257 Merge branch 'cassandra-3.11' into cassandra-4.0 2021-10-01 15:19:35 +01:00
Andrés de la Peña 2614f7eeb4 Merge branch 'cassandra-3.0' into cassandra-3.11 2021-10-01 15:18:40 +01:00
Andrés de la Peña 0c4653110d Make -Dtest.methods consistently optional in all Ant test targets
patch by Andrés de la Peña; reviewed by Berenguer Blasi for CASSANDRA-17014
2021-10-01 15:17:07 +01:00
Stefan Miklosovic 59f5e57faf Merge branch 'cassandra-3.11' into cassandra-4.0 2021-09-30 21:34:16 +02:00
Stefan Miklosovic 9bf14a6011 Merge branch 'cassandra-3.0' into cassandra-3.11 2021-09-30 21:32:45 +02:00
Stefan Miklosovic 225a4c8faf add OWASP dependency check to Ant build
patch by Stefan Miklosovic; reviewed by Brandon Williams for CASSANDRA-14612
2021-09-30 21:30:36 +02:00
Stefan Miklosovic e365908ee4 Merge branch 'cassandra-3.11' into cassandra-4.0 2021-09-29 07:57:05 +02:00
Stefan Miklosovic 095475b9cc Merge branch 'cassandra-3.0' into cassandra-3.11 2021-09-29 07:49:10 +02:00
Stefan Miklosovic 6b16b67cd4 update jBCrypt dependency to version 0.4
patch by Stefan Miklosovic; reviewed by Dinesh Joshi for CASSANDRA-9384
2021-09-29 07:39:29 +02:00
Ekaterina Dimitrova 14af149ed5 Merge branch 'cassandra-3.11' into cassandra-4.0 2021-09-17 17:26:41 -04:00
Tatu Saloranta e4d2802276 Update Jackson from 2.9.10 to 2.12.5
patch by Tatu Saloranta; reviewed by Ekaterina Dimitrova, Brandon Williams, Michael Semb Wever for CASSANDRA-16851
2021-09-17 17:25:25 -04:00
Aleksei Zotov dd3d83a819 Upgrade Caffeine to 2.5.6
Patch by Aleksei Zotov; reviewed by brandonwilliams and mck for
CASSANDRA-15153
2021-09-17 08:48:35 -05:00
Mick Semb Wever 05e7cc1553
Merge branch 'cassandra-3.11' into cassandra-4.0 2021-09-11 00:31:25 +02:00
Mick Semb Wever 32194ec8d0
Merge branch 'cassandra-3.0' into cassandra-3.11 2021-09-11 00:20:42 +02:00
Mick Semb Wever b6f0864982
Add semver4j to the default shared packages in the jvm dtests
(Upgrade to dtest-api-0.0.9)

 patch by Mick Semb Wever; reviewed by Alex Petrov for CASSANDRA-16803
2021-09-10 23:55:30 +02:00
Sam Tunnicliffe 9a34ecd4ad Increment version to 4.0.2 2021-09-07 16:50:51 +01:00
Mick Semb Wever a6ea52118c
Merge branch 'cassandra-3.11' into cassandra-4.0 2021-08-30 21:20:57 +02:00
Mick Semb Wever b0cdaec5ae
Exclude Jackson 1.x transitive dependency of hadoop* provided dependencies
patch by Tatu Saloranta; reviewed by Mick Semb Wever for CASSANDRA-16854
2021-08-30 21:09:17 +02:00
Yifan Cai 42025fd73a Bump zstd-jni version to 1.5.0-4
patch by Yifan Cai; reviewed by Dinesh Joshi for CASSANDRA-16884
2021-08-26 15:07:53 -07:00
Ekaterina Dimitrova ca6bb2af02 Resolve ant-junit dependency issue CASSANDRA-16827
patch by Ekaterina Dimitrova; reviewed by Michael Semb Wever for CASSANDRA-16827
2021-08-10 10:49:09 -04:00
Brandon Williams 760c7e88b8 Merge branch 'cassandra-3.0' into cassandra-3.11 2021-07-28 14:39:46 -05:00
Brandon Williams 8e9e4aed99 Incrememnt version 2021-07-28 14:39:11 -05:00
Mick Semb Wever 3e54ed76b2 Don't put apidocs (javadoc) into the binary artifact
patch by Mick Semb Wever; reviewed by Brandon Williams for CASSANDRA-15561
2021-07-25 11:37:33 -05:00
Mick Semb Wever 7fafda8e90 Don't fork jvms in the build
On build machines with less than 1GB ram, use ANT_OPTS="-Xmx512m"

 patch by Mick Semb Wever; reviewed by Brandon Williams for CASSANDRA-16583
2021-07-25 11:37:33 -05:00
Ekaterina Dimitrova b2cfe2e5d7 Fix warning about multiple versions of ant detected when running ant test patch by Ekaterina Dimitrova; reviewed by Brandon Williams and Mick Semb Wever for CASSANDRA-16571 2021-07-25 11:37:33 -05:00
Mick Semb Wever fd7732389a Update IDE, Eclipse and NetBeans, classpaths for tests
patch by Mick Semb Wever, Berenguer Blasi; reviewd by Ekaterina Dimitrova, Benjamin Lerer for CASSANDRA-16560
2021-07-25 11:37:33 -05:00
Marcus Eriksson c44dfab9b5 Add JStackJUnitTask to avoid downloading the jar
Patch by marcuse; reviewed by Brandon Williams, David Capwell, Michael Semb Wever for CASSANDRA-16570
2021-07-25 11:37:32 -05:00
Mick Semb Wever e6950518d1 Offline build mode
When all dependencies are already in the local `~/.m2/repository/` we should not be needing an internet connection. ("Offline" mode should be automatic)

 patch by Mick Semb Wever; reviewed by Brandon Williams for CASSANDRA-16559
2021-07-25 11:37:32 -05:00
Mick Semb Wever 2fdf1d2762 Migrate dependency handling from maven-ant-tasks to resolver-ant-tasks
- This removes lib/ from version control.
- The generated pom files are now the source of truth to the project's depdendencies, and the lib/ folder re-created during the build from compile scope dependencies excluding provided and system scopes. Project dependencies are first downloaded to the maven local repository at `~/.m2/repository`.
- Maven is now required to be installed to build, that is the `mvn` command needs to be found in the path.
- The new resolver-ant-tasks targets have been encapsulated into the `build/build-resolver.xml` ant file.
- Most classpaths in build.xml are replaced with resolver:resolve definitions.
- The build-deps-pom generated pom file is now only used for declaring test dependencies.

 patch by Mick Semb Wever; reviewed by Brandon Williams for CASSANDRA-16557
2021-07-25 11:37:32 -05:00
Mick Semb Wever e243026c85 Don't put apidocs (javadoc) into the binary artifact
patch by Mick Semb Wever; reviewed by Brandon Williams for CASSANDRA-15561
2021-07-25 11:35:45 -05:00
Mick Semb Wever 3259d6de37 Migrate dependency handling from maven-ant-tasks to resolver-ant-tasks
- This removes lib/ from version control.
- The generated pom files are now the source of truth to the project's depdendencies, and the lib/ folder re-created during the build from compile scope dependencies excluding provided and system scopes. Project dependencies are first downloaded to the maven local repository at `~/.m2/repository`.
- Maven is now required to be installed to build, that is the `mvn` command needs to be found in the path.
- The new resolver-ant-tasks targets have been encapsulated into the `build/build-resolver.xml` ant file.
- Most classpaths in build.xml are replaced with resolver:resolve definitions.
- The build-deps-pom generated pom file is now only used for declaring test dependencies.

 patch by Mick Semb Wever; reviewed by Brandon Williams for CASSANDRA-16557
2021-07-25 11:35:45 -05:00
Mick Semb Wever 4dcf7d9ebd
Merge branch 'cassandra-3.11' into cassandra-4.0 2021-07-12 22:34:46 +02:00
Mick Semb Wever 0c1e1ccfad
Merge branch 'cassandra-3.0' into cassandra-3.11 2021-07-12 22:22:42 +02:00
Mick Semb Wever 0a84dda36a
Merge branch 'cassandra-2.2' into cassandra-3.0 2021-07-12 22:16:36 +02:00
Mick Semb Wever b3f9921881
Introduce SemVer4j for version representation, parsing and handling. And correct supported upgrade paths. Add v4X to Java DTests (after cassandra-4.0 branch was created)
Change upgrades from testing only a single path, to testing all upgrade paths that are defined as supported within the specified from-to range.
Change all upgrades to v40 and v4X to be open ended (i.e. implicit CURRENT version).

 patch by Mick Semb Wever; reviewed by Alex Petrov for CASSANDRA-16649
2021-07-12 22:09:40 +02:00
Mick Semb Wever 80fd439be1
Merge branch 'cassandra-4.0.0' into cassandra-4.0 2021-07-08 23:44:06 +02:00
Mick Semb Wever 09a387bd3d
Change version from 4.0-rc3 to 4.0.0 2021-07-08 23:28:37 +02:00
Mick Semb Wever 65b42304f5
ninja-fix: return cassandra-4.0's version to 4.0-rc2 (4.0.x version numbers are not yet supported: CASSANDRA-16781 and CASSANDRA-16649) 2021-07-02 14:57:41 +02:00
Mick Semb Wever c79124d5e6
Merge branch 'cassandra-4.0.0' into cassandra-4.0 2021-06-30 21:55:25 +02:00
Mick Semb Wever d13bef96fd
Increment version to 4.0-rc3 2021-06-30 21:53:31 +02:00
David Capwell 26e21bb576 Upgrade lz4-java to 1.8.0 to add RH6 support back
patch by David Capwell; reviewed by Brandon Williams for CASSANDRA-16753
2021-06-23 13:04:26 -07:00
Mick Semb Wever bd1ffa7617
Merge branch 'cassandra-3.11' into cassandra-4.0 2021-06-17 12:11:01 +02:00
Mick Semb Wever b857aa12bf
Merge branch 'cassandra-3.0' into cassandra-3.11 2021-06-17 11:42:18 +02:00
Jacek Lewandowski d54eff3a4a
Remove full project building from the generate-idea-files ant target
- that target was unnecessarily building the whole project which made it problematic to update the project while merging/rebasing if conflicts in the code were failing the compilation
 - updated system properties for default run test task in Intellij to match those when running tests from Ant
 - fix test-memory target

 patch by Jacek Lewandowski; reviewed by Mick Semb Wever for CASSANDRA-16697
2021-06-17 11:25:58 +02:00
Mick Semb Wever d93e43ed9b
Cleanup dependencies scopes
patch by Angelo Polo; reviewed by Mick Semb Wever for CASSANDRA-16704

Co-authored-by: Angelo Polo <language.devel@gmail.com>
2021-06-12 11:51:11 +02:00
Brandon Williams f4ab8cce1e Keep python driver in artifacts.
Patch by brandonwilliams; approved by mck for CASSANDRA-16700
2021-05-26 13:56:48 -05:00
Andrés de la Peña 98b449f38a Merge branch 'cassandra-3.11' into cassandra-4.0 2021-05-12 11:28:55 +01:00
Andrés de la Peña 1e42c105ce Merge branch 'cassandra-3.0' into cassandra-3.11 2021-05-12 11:25:57 +01:00
Andrés de la Peña a01cbfdce5 Add CircleCI jobs to repeat specific tests n times
patch by Andrés de la Peña; reviewed by Ekaterina Dimitrova and Berenguer Blasi for CASSANDRA-16625
2021-05-12 11:21:41 +01:00
Aleksei Zotov 438a9c835a Add a microbenchmark for checksums
Patch by Alexey Zotov; reviewed by brandonwilliams for CASSANDRA-16360
2021-04-30 09:05:41 -05:00
jacek-lewandowski 10a1d65eb0
Fix compression test runs
Ensure the specified commitlog_compression_xxx.yaml file is appended to the used cassandra.compressed.yaml, according to the selected algorithm as defined by `test.compression.algo` the property. By default we use the default LZ4. An unknown compression algo with fail.

 patch by Jacek Lewandowski; reviewed by Mick Semb Wever for CASSANDRA-16575
2021-04-28 10:43:46 +02:00
Sam Tunnicliffe 36a0f11221 Merge branch 'cassandra-3.11' into trunk 2021-04-27 12:01:30 +01:00
Sam Tunnicliffe 9449cd3d6e Merge branch 'cassandra-3.0' into cassandra-3.11 2021-04-27 11:57:00 +01:00
Sam Tunnicliffe 4763d5625a Merge branch 'cassandra-2.2' into cassandra-3.0 2021-04-27 11:56:07 +01:00
Sam Tunnicliffe 26163bb12a Follow up fixes to CASSANDRA-16633
* Don't run rat check if git fails or not available
* Check for presence of rat.txt before running eclipse-warnings task
  (to ensure that the report is always generated by CI runs)

Patch by Sam Tunnicliffe; reviewed by Mick Semb Wever for CASSANDRA-16633
2021-04-27 11:12:07 +01:00
Sam Tunnicliffe 9cda055faa Merge branch 'cassandra-3.11' into trunk 2021-04-27 09:31:45 +01:00
Sam Tunnicliffe 87a46c36f0 Merge branch 'cassandra-3.0' into cassandra-3.11 2021-04-27 09:20:25 +01:00
Sam Tunnicliffe ad2f41ef88 Merge branch 'cassandra-2.2' into cassandra-3.0 2021-04-27 09:18:50 +01:00
Sam Tunnicliffe bd270260c8 Only include versioned files in rat-report
Patch by Sam Tunnicliffe; reviewed by Benedict Elliott Smith
and Mick Semb Wever for CASSANDRA-16633
2021-04-27 09:17:56 +01:00
Sam Tunnicliffe 5be6d7e6b1 Only include versioned files in rat-report
Patch by Sam Tunnicliffe; reviewed by Benedict Elliott Smith
and Mick Semb Wever for CASSANDRA-16633
2021-04-27 08:57:50 +01:00
Mick Semb Wever bd488e49f2
Increment version to 4.0-rc2 2021-04-25 13:56:07 +02:00
Mick Semb Wever 7337fc0ab4
Merge branch 'cassandra-3.11' into trunk 2021-04-19 17:39:10 +02:00
Mick Semb Wever 2ec96ae669
Merge branch 'cassandra-3.0' into cassandra-3.11 2021-04-19 17:34:05 +02:00
Mick Semb Wever 50a97a0d76
Merge branch 'cassandra-2.2' into cassandra-3.0 2021-04-19 17:29:00 +02:00
Mick Semb Wever 53b0661cbb
Fix rat checking for files with missing license headers
patch by Mick Semb Wever; reviewed by Brandon Williams, Ekaterina Dimitrova for CASSANDRA-16558
2021-04-19 17:18:26 +02:00
David Capwell 038271cc6f Use source release of python driver from pip rather than GitHub
patch by David Capwell; reviewed by Adam Holmberg, Michael Semb Wever for CASSANDRA-16599
2021-04-15 18:03:51 -07:00
Mick Semb Wever 65b6dfa822
Merge branch 'cassandra-3.11' into trunk 2021-04-16 00:44:26 +02:00
Mick Semb Wever cca5ce56ac
Merge branch 'cassandra-3.0' into cassandra-3.11 2021-04-16 00:43:03 +02:00
Mick Semb Wever 5f1b538ef5
Merge branch 'cassandra-2.2' into cassandra-3.0 2021-04-16 00:41:27 +02:00
Mick Semb Wever c52f50f046
Restore running each test class in its own separate jvm and cassandra directory
(Remove test parallelism from ant build.xml)

 patch by Mick Semb Wever; reviewed by Yifan Cai, David Capwell for CASSANDRA-16595
2021-04-16 00:38:22 +02:00
Mick Semb Wever 94603c656e
Merge branch 'cassandra-3.11' into trunk 2021-04-15 13:13:09 +02:00
Mick Semb Wever 5b93a87a6f
Merge branch 'cassandra-3.0' into cassandra-3.11 2021-04-15 13:07:39 +02:00
Mick Semb Wever 2a6059ef4a
Merge branch 'cassandra-2.2' into cassandra-3.0 2021-04-15 13:04:17 +02:00
Mick Semb Wever 1185593907
Remove test parallelism from ant build.xml
patch by Mick Semb Wever; reviewed by Berenguer Blasi, Yifan Cai for CASSANDRA-16595
2021-04-15 12:55:31 +02:00
Mick Semb Wever e848d47ed1
Upgrade jflex to 1.8.2
patch by Mick Semb Wever; reviewed by Brandon Williams for CASSANDRA-16576
2021-04-11 21:22:12 +02:00
Mick Semb Wever b80dd92251
Don't put apidocs (javadoc) into the binary artifact
patch by Mick Semb Wever; reviewed by Brandon Williams for CASSANDRA-15561
2021-04-09 17:32:46 +02:00
Mick Semb Wever 6cc730d689
Don't fork jvms in the build
On build machines with less than 1GB ram, use ANT_OPTS="-Xmx512m"

 patch by Mick Semb Wever; reviewed by Brandon Williams for CASSANDRA-16583
2021-04-09 17:26:38 +02:00
Ekaterina Dimitrova 29e4612e88 Fix warning about multiple versions of ant detected when running ant test
patch by Ekaterina Dimitrova; reviewed by Brandon Williams and Mick Semb Wever for CASSANDRA-16571
2021-04-08 17:42:48 -04:00
Mick Semb Wever c65500e8a1
Update IDE, Eclipse and NetBeans, classpaths for tests
patch by Mick Semb Wever, Berenguer Blasi; reviewd by Ekaterina Dimitrova, Benjamin Lerer for CASSANDRA-16560
2021-04-08 11:10:19 +02:00
Marcus Eriksson 6a45728b08 Add JStackJUnitTask to avoid downloading the jar
Patch by marcuse; reviewed by Brandon Williams, David Capwell, Michael Semb Wever for CASSANDRA-16570
2021-04-08 09:47:50 +02:00
Mick Semb Wever 17d379ca1b
Offline build mode
When all dependencies are already in the local `~/.m2/repository/` we should not be needing an internet connection. ("Offline" mode should be automatic)

 patch by Mick Semb Wever; reviewed by Brandon Williams for CASSANDRA-16559
2021-04-06 19:09:08 +02:00
Mick Semb Wever cf39d03127
Migrate dependency handling from maven-ant-tasks to resolver-ant-tasks
- This removes lib/ from version control.
- The generated pom files are now the source of truth to the project's depdendencies, and the lib/ folder re-created during the build from compile scope dependencies excluding provided and system scopes. Project dependencies are first downloaded to the maven local repository at `~/.m2/repository`.
- Maven is now required to be installed to build, that is the `mvn` command needs to be found in the path.
- The new resolver-ant-tasks targets have been encapsulated into the `build/build-resolver.xml` ant file.
- Most classpaths in build.xml are replaced with resolver:resolve definitions.
- The build-deps-pom generated pom file is now only used for declaring test dependencies.

 patch by Mick Semb Wever; reviewed by Brandon Williams for CASSANDRA-16391
2021-04-02 10:17:08 +02:00
Mick Semb Wever 8f5b7fec71
Change version 4.0-beta5 to 4.0-rc1 2021-03-26 20:45:34 +01:00
Sam Tunnicliffe 1371883db3 Update bundled driver dependencies
This commit updates that bundled java and python drivers
to their latest released versions, 3.11.0 and 3.25.0
respectively.

Patch by Sam Tunnicliffe and Adam Holmberg; reviewed by
Brandon Williams for CASSANDRA-13951

Co-authored-by: Adam Holmberg <adam.holmberg@datastax.com>
2021-03-22 17:13:53 +00:00
Sam Tunnicliffe dd6c261119 Add io.netty.tryReflectionSetAccessible=true to j11 server options in order to enable netty to use Unsafe direct byte buffer construction
Patch by Sam Tunnicliffe; reviewed by Brandon Williams, Ekaterina Dimitrova and Berenguer Blasi for CASSANDRA-16493
2021-03-19 17:36:13 -04:00
Mick Semb Wever f8b79ce932
Merge branch 'cassandra-3.11' into trunk 2021-03-19 18:11:14 +01:00
Mick Semb Wever e9209527f2
Merge branch 'cassandra-3.0' into cassandra-3.11 2021-03-19 18:02:01 +01:00
Mick Semb Wever 1ee18ac22d
Merge branch 'cassandra-2.2' into cassandra-3.0 2021-03-19 17:57:34 +01:00
Mick Semb Wever 730e89e229
Remove ant targets list-jvm-dtests and ant list-jvm-upgrade-dtests
patch by Mick Semb Wever; reviewed by Alex Petrov for CASSANDRA-16519
2021-03-19 17:36:19 +01:00
jacek-lewandowski 2ff456953f Make driver timeouts configurable and increase them for CqlTester
Patch by Jacek Lewandowski; reviewed by brandonwilliams for
CASSANDRA-16514
2021-03-14 12:49:25 -05:00
jacek-lewandowski 11d069a766
Fix probable collision when running unit tests in parallel, and use runners on testclasslist* targets
patch by Jacek Lewandowski; reviewed by Mick Semb Wever, Brandon Williams for CASSANDRA-16511
2021-03-12 15:48:33 +01:00
Ekaterina Dimitrova c7432e98a3 Merge branch 'cassandra-3.11' into trunk 2021-03-10 20:55:06 -05:00
Ekaterina Dimitrova b654000936 Merge branch 'cassandra-3.0' into cassandra-3.11 2021-03-10 20:53:06 -05:00
Sylvain Lebresne efde6a76f9 Refuse DROP COMPACT STORAGE if some 2.x sstables are in use
patch by Sylvain Lebresne; review changes and tests by Ekaterina Dimitrova; reviewed by Benjamin Lerer and Brandon Williams for CASSANDRA-15897
2021-03-10 20:33:54 -05:00
Brandon Williams 995ce0ee21 Merge branch 'cassandra-3.11' into trunk 2021-03-04 08:14:57 -06:00
Brandon Williams a66246f9e8 Upgrade jackson-databind to 2.9.10.8
Patch by brandonwilliams, reviewed by adelapena for CASSANDRA-16462
2021-03-04 08:14:16 -06:00
Bereng 2d9d17894d Fix cassandra-stress JMX connection
Patch by Berenguer Blasi; reviewed by brandonwilliams for CASSANDRA-16473
2021-03-03 09:34:41 -06:00
Andrés de la Peña 0541c51996 Merge branch 'cassandra-3.0' into cassandra-3.11 2021-03-01 12:33:02 +00:00
Sam Tunnicliffe c9d6c725dd Promote protocol v5 from beta
Patch by Sam Tunnicliffe; reviewed by Alex Petrov and Eduard Tudenhoefner
for CASSANDRA-14973
2021-02-23 16:46:39 +00:00
Mick Semb Wever 637b242840
Merge branch 'cassandra-3.11' into trunk 2021-02-08 11:28:47 +01:00
Mick Semb Wever b0a5a7cfc7
Merge branch 'cassandra-3.0' into cassandra-3.11 2021-02-08 11:28:00 +01:00
Mick Semb Wever 4333b5c7d5
Merge branch 'cassandra-2.2' into cassandra-3.0 2021-02-08 11:05:14 +01:00
Mick Semb Wever d19f352437
Generate JMH json report with `ant microbench`
patch by Mick Semb Wever; reviewed by Tomek Łasica for CASSANDRA-16371
2021-02-08 10:55:58 +01:00
Benjamin Lerer f69b11eee9 Improve system tables handling in case of disk failures
patch by Benjamin Lerer; reviewed by Andrés de la Peña and  Marcus
Eriksson for CASSANDRA-14793
2021-02-04 15:04:22 +01:00
Alex Petrov ed51d02f7c Increment version to 3.11.11 2021-02-01 16:02:21 +01:00
Alex Petrov f35ab19dbe Increment version to 3.0.25 2021-02-01 15:59:15 +01:00
Ekaterina Dimitrova 0a9e129e10 Upgrade Jacoco to 0.8.6 (for Java 11 support)
Patch by Jacek Lewandowski; reviewed by Michael Semb Wever for CASSANDRA-16365
2021-01-28 17:36:59 -05:00
zhaorenhai 7f1659cd1d
Upgrade netty and chronicle-queue dependencies to get Auditing and native library loading working on arm64 architectures
CASSANDRA-16384 test case AuditLoggerTest fail on aarch64 platform
 CASSANDRA-16392 Unable to load the library netty_tcnative_linux_aarch_64

 patch by Zhao Renhai (赵 仁海); reviewed by Mick Semb Wever for CASSANDRA-16384,CASSANDRA-16392
2021-01-22 10:02:20 +01:00
Ekaterina Dimitrova 9fc0b75a65 Merge branch 'cassandra-3.11' into trunk 2021-01-19 10:30:12 -05:00
Ekaterina Dimitrova c1f60ae48a Merge branch 'cassandra-3.0' into cassandra-3.11 2021-01-19 10:24:51 -05:00
Ekaterina Dimitrova f42a4ebb8d Merge branch 'cassandra-2.2' into cassandra-3.0 2021-01-19 09:33:34 -05:00
Ekaterina Dimitrova 92182bcc23 build.xml first test commit 2021-01-17 14:29:28 -05:00
Mick Semb Wever 2ef0ac6ae9
Bump copyright to 2009-2021 2021-01-07 22:47:22 +01:00
Mick Semb Wever 401e933b73
Restore sasi dependencies jflex, snowball-stemmer, and concurrent-trees, in the cassandra-all pom
patch by Mick Semb Wever; reviewed by Adrian Cole for CASSANDRA-16303
2021-01-02 10:14:41 +01:00
Mick Semb Wever 200615ded5
Increment version to 4.0-beta5 2020-12-30 12:47:53 +01:00
jacek-lewandowski 1102687d06 Fix the missing bb position in ByteBufferAccessor.getUnsignedShort
patch by Jacek Lewandowski; reviewed by Berenguer Blasi and Benjamin Lerer
for CASSANDRA-16249

The patch also update tests to show the failure and to check that the code
does not assume a zero position for the ByteBuffers.
2020-12-15 14:51:22 +01:00
Alex Petrov d41fe2aa8e Merge branch 'cassandra-3.11' into trunk 2020-12-14 14:34:35 +01:00
Alex Petrov 850157e7cf Merge branch 'cassandra-3.0' into cassandra-3.11 2020-12-14 14:23:00 +01:00
Alex Petrov 07c469ca13 Merge branch 'cassandra-2.2' into cassandra-3.0 2020-12-14 14:06:55 +01:00
Alex Petrov 033e099f9a Add Metrics to instance API
Patch by Alex Petrov; reviewed by Benedict Elliott Smith for CASSANDRA-16136
2020-12-14 14:05:12 +01:00
Brandon Williams acf8de28ce Mck's mvn fix 2020-12-04 15:34:49 -06:00
Aleksey Yeshchenko ecbb970aec Update build.xml for the newly pulled Netty version 2020-12-04 14:55:27 +00:00
Yuki Morishita d9e2ed00af Remove windows scripts and their references
patch by Yuki Morishita; reviewed by Berenguer Blasi and Andrés de la Peña for CASSANDRA-16171
2020-12-02 16:43:45 +00:00
Sam Tunnicliffe a7c4ba9eee Improve checksumming and compression in protocol V5
This reverts the changes made to the native protocol V5 wire format in
CASSANDRA-13304 and subsequent follow up JIRAs (CASSANDRA-15556 &
CASSANDRA-14716). The framing format has been re-implemented based on the
internode messaging format developed in CASSANDRA-15066.

OPTIONS and STARTUP messages are unframed (i.e. identical to the V4 format).
After sending its response to a STARTUP message, the server modifies the
pipeline and all further messages are sent (and should be expected by the
client to be received) in the format determined by the protocol version of
the STARTUP message.

Patch by Sam Tunnicliffe; reviewed by Alex Petrov and Caleb Rackliffe
for CASSANDRA-15299
2020-12-01 18:49:06 +00:00
Bereng 0bb1c51162
Update jctools from 1.2.1 to 3.1.0
patch by Berenguer Blasi; reviewed by Mick Semb Wever for CASSANDRA-16255
2020-11-20 08:51:54 +01:00
Alex Petrov 2a135cad6d Include test jars in dtest uber jar
patch by Alex Petrov; reviewed by David Capwell for CASSANDRA-16288
2020-11-19 14:04:38 -08:00
David Capwell e3cf77c730 ninja: CASSANDRA-16212 caused jvm-dtests to OOM constantly, so disable metaspace limits until the issue is resolved 2020-11-19 10:42:46 -08:00