Commit Graph

495 Commits

Author SHA1 Message Date
Sam Tunnicliffe ae0842372f Implementation of Transactional Cluster Metadata as described in CEP-21
An overview of the core components can be found in the included
TransactionalClusterMetadata.md

patch by Alex Petrov, Marcus Eriksson and Sam Tunnicliffe; reviewed by
Alex Petrov, Marcus Eriksson and Sam Tunnicliffe for CASSANDRA-18330

Co-authored-by: Marcus Eriksson <marcuse@apache.org>
Co-authored-by: Alex Petrov <oleksandr.petrov@gmail.com>
Co-authored-by: Sam Tunnicliffe <samt@apache.org>
2023-11-24 10:26:08 +00:00
Andrés de la Peña f41ecf586c Upgrade Python driver to 3.28.0
patch by Andrés de la Peña and Jeremiah Jordan; reviewed by Brandon Williams for CASSANDRA-18960

Co-authored-by: Jeremiah Jordan <jeremiah@datastax.com>
Co-authored-by: Andrés de la Peña <a.penya.garcia@gmail.com>
2023-11-02 17:08:38 +00:00
Stefan Miklosovic a61edad15f remove pure_sasl from the repository
This is follow-up for CASSANDRA-16456. The dependency
should be downloaded and put into the lib/ folder.

patch by Stefan Miklosovic; reviewed by Mick Semb Wever for CASSANDRA-16456
2022-09-02 15:21:52 +02:00
Bhouse99 381c2a4fa8 add plugin support for CQLSH
patch by Brian Houser; reviewed by Stefan Miklosovic and Brandon Williams for CASSANDRA-16456
2022-04-27 12:35:04 +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 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
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 2bcba44533 Merge branch 'cassandra-3.11' into trunk 2021-03-04 14:49:59 +00: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
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
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
Mick Semb Wever 53357dadfb
Merge branch 'cassandra-3.11' into trunk 2021-01-20 16:40:15 +01:00
Mick Semb Wever ae58620aae
Update lib/jflex-1.6.0.jar to match upstream
patch by Mick Semb Wever; reviewed by Sam Tunnicliffe for CASSANDRA-16393
2021-01-20 16:37:55 +01: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
Aleksey Yeshchenko cefe43b06b Upgrade netty to 5.1.54 and netty-tcnative to 2.0.34 2020-11-18 14:13:44 +00:00
Mick Semb Wever b73f034da1
Upgrade JNA to 5.6.0
Also remove remaining comments/doc referencing `-Dcassandra.boot_without_jna`

 patch by Adrain Cole, Mick Semb Wever; reviewed by Benjamin Lerer, Joey Lynch for CASSANDRA-16212

Co-authored-by: Adrian Cole <adrian.f.cole@gmail.com>
2020-11-16 09:36:45 +01:00
Rahul Nandi e37f766403 Upgrade to snakeyaml >= 1.26 version for CVE-2017-18640 fix
patch by Rahul Nandi; reviewed by Alex Petrov, David Capwell for CASSANDRA-16150
2020-10-09 13:02:38 -07:00
Alex Petrov 0dc5bd51f5 Changes required for Harry build
Patch by Alex Petrov; reviewed by Marcus Eriksson for CASSANDRA-16102
2020-09-18 23:39:10 +03:00
David Capwell 0697489f74 Add test which validates that Message serializedSize(version) == serialize(out, version).length
patch by David Capwell; reviewed by Caleb Rackliffe, Jon Meredith for CASSANDRA-16064
2020-08-26 15:25:34 -07:00
bryn 02a80ef94f Update driver version to prevent issues with extra events being received when a node is decommissioned.
Patch by Bryn Cooke, reviewed by brandonwilliams for CASSANDRA-15677
2020-06-22 09:18:22 -05:00
Stefan Miklosovic d31ea25f42 Update Netty dependencies to latest
patch by Stefan Miklosovic; reviewed by Aleksey Yeschenko for
CASSANDRA-15868
2020-06-18 14:43:41 +01:00
Stefan Miklosovic 576cb2b8a4 update Jackson to 2.9.10
Patch by Stefan Miklosovic, reviewed by brandonwilliams for
CASSANDRA-15867
2020-06-17 11:21:35 -05:00
Stefan Miklosovic 259c63f18e update version of Jackson to 2.9.10
Patch by Stefan Milosovic, reviewed by brandonwilliams for
CASSANDRA-15867
2020-06-11 15:12:01 -05:00
Dinesh A. Joshi 036750083d Update Python driver for cqlsh to 3.23
Patch by Dinesh Joshi; Reviewed by Ekaterina Dimitrova for CASSANDRA-15793
2020-05-07 09:35:10 -07:00
Dinesh A. Joshi f7b3317379 Update to Python driver 3.21 for cqlsh
Patch by Dinesh Joshi; reviewed by Jon Haddad, Andy Tolbert and David Capwell for CASSANDRA-14872
2020-02-20 15:38:44 -08:00
Patrick Bannister bf9a1d487b Make cqlsh and cqlshlib Python 2 & 3 compatible
Patch by Patrick Bannister; reviewed by Dinesh Joshi, Andy Tolbert and David Capwell for CASSANDRA-10190
2020-02-14 10:33:57 -08:00
Ekaterina Dimitrova 3f2a248da1 Update hppc library to version 0.8.1
Patch by Ekaterina Dimitrova, reviewed by brandonwilliams for CASSANDRA-12995
2020-02-12 11:21:05 -06:00
David Capwell f80a2ce10c Prevent the JVM from crashing due to corrupt LZ4 streams
Patch by David Capwell; reviewed by Jordan West and brandonwilliams for
CASSANDRA-15556
2020-02-11 11:00:24 -06:00
Boris Tsirkin 2dbae87c78 Remove joda time dependency.
Patch by Boris Tsikin, reviewed by brandonwilliams for CASSANDRA-15257
2020-01-23 11:19:36 -06:00
Ekaterina Dimitrova 82dc72088f Integrate SJK into nodetool
Patch by Ekaterina Dimotrova, reviewed by brandonwilliams for
CASSANDRA-12197
2020-01-10 11:41:12 -06:00
Sumanth Pasupuleti 38b49904dd
Upgrading Guava to 27, and to java-driver 3.6.0 (from 3.4.0-SNAPSHOT), plus refactoring to remove nativePort argument for NativeSSTableLoaderClient constructor
Patch by Sumanth Pasupuleti; reviewed by Michael Semb Wever for CASSANDRA-14655
2019-10-07 21:19:42 +02:00
Marvin Froeder bc5fc8bc2d
Move chronicle-core version from SNAPSHOT to STABLE, and include carrotsearch on pom.xml dependency list
Closes #358

 patch by Marvin Froeder; reviewed by Mick Semb Wever for CASSANDRA-15321
2019-09-22 19:22:20 +02:00
Aleksey Yeshchenko a339aa9e98 Update Netty dependencies to latest, clean up SocketFactory
patch by Aleksey Yeschenko; reviewed by Benedict Elliott Smith for
CASSANDRA-15195
2019-07-02 19:39:34 +01:00
Blake Eggleston aa762c6d52 Support building Cassandra with JDK 11
Patch by Blake Eggleston; Reviewed by Dinesh Joshi and Sam Tunnicliffe for CASSANDRA-15108
2019-05-10 13:46:27 -07:00
Dinesh Joshi dccf53061a Add Zstd compressor
Patch by Dinesh Joshi; Reviewed by Blake Eggleston for CASSANDRA-14482
2019-02-22 15:06:06 -08:00
Stefan Podkowinski 2886cac382 Ninja cleanup: remove obsoleted python drivers 2018-09-11 14:00:17 +02:00
Ariel Weisberg f7431b4328 Transient Replication and Cheap Quorums
Patch by Blake Eggleston, Benedict Elliott Smith, Marcus Eriksson, Alex Petrov, Ariel Weisberg; Reviewed by Blake Eggleston, Marcus Eriksson, Benedict Elliott Smith, Alex Petrov, Ariel Weisberg for CASSANDRA-14404

Co-authored-by: Blake Eggleston <bdeggleston@gmail.com>
Co-authored-by: Benedict Elliott Smith <benedict@apache.org>
Co-authored-by: Marcus Eriksson <marcuse@apache.org>
Co-authored-by: Alex Petrov <oleksandr.petrov@gmail.com>
2018-08-31 21:34:22 -04:00
Jason Brown a4053682e8 Update netty to 4.1.128
patch by jasobrown; reviewed by Dinesh Joshi for CASSANDRA-14633
2018-08-10 05:13:35 -07:00
Robert Stupp 6ba2fb9395 Make C* compile and run on Java 11 and Java 8
patch by Robert Stupp; reviewed by Jason Brown for CASSANDRA-9608
2018-07-26 18:20:00 +02:00
Lerh Chuan Low 76ef78b7d7 Bump jackson version to >= 2.9.5
patch by Lerh Chuan Low; reviewed by jasobrown for CASSANDRA-14427
2018-05-17 22:26:54 -07:00
dr3s 14bfc94937
Upgrade metrics to fix reconnect when reporting metrics. (backported)
Patch by dr3s and Jeff Jirsa; Reviewed by Mick Semb Wever for CASSANDRA-12924
2018-05-11 12:54:24 +10:00
Michael Shuler 81ac654ff8 Add logback-1.2.3 licenses for CASSANDRA-14183 commit
CVE-2017-5929 Security vulnerability and redefine default log rotation policy.

Patch by Michael Shuler; Reviewed by Ariel Weisberg for CASSANDRA-14183
2018-02-14 18:18:09 -06:00
Michael Shuler c0aa79e545 CVE-2017-5929 Security vulnerability and redefine default log rotation policy.
Patch by Michael Shuler; Reviewed by Ariel Weisberg for CASSANDRA-14183
2018-02-14 16:30:43 -05:00
Ariel Weisberg da58565ebc Revert ProtocolVersion changes from CASSANDRA-7544
Patch by Ariel Weisberg; Reviewd by Jason Brown for CASSANDRA-14211
2018-02-01 17:20:00 -05:00
Ariel Weisberg 59b5b6bef0 Allow storage port to be configurable per node
Patch by Ariel Weisberg; Reviewed by Jason Brown for CASSANDRA-7544
2018-01-25 14:32:24 -05:00
Ariel Weisberg ae837806bd Support a means of logging all queries as they were invoked.
Patch by Ariel Weisberg; Reviewed by Blake Eggleston
2017-12-04 18:06:30 -05:00
Alex Petrov 7eb915097d Make LWTs send resultset metadata on every request
Patch by Alex Petrov; reviewed by Robert Stupp for CASSANDRA-13992
2017-11-21 13:14:51 +01:00
Marcus Eriksson ec6282242b Upgrade Guava to 23.3 and Airline to 0.8
Patch by marcuse; reviewed by Stefan Podkowinski for CASSANDRA-13997
2017-11-09 09:51:05 +01:00