Commit Graph

506 Commits

Author SHA1 Message Date
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
Sam Tunnicliffe 07167c95e3 Ninja: fix fqltool tests (CASSANDRA-16384 follow up) 2021-01-22 11:41:42 +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
Jon Meredith 7637acc3d7 SSLFactory should initialize SSLContext before setting protocols
patch by Jon Meredith; reviewed by David Capwell, Dinesh Joshi for CASSANDRA-16362
2021-01-07 14:42:10 -08:00
Mick Semb Wever 2346ed8241
Offline token allocation strategy generator tool
Provides the tools/bin/generate-tokens script that can be used to pregenerate allocation strategy tokens.
Refactors TokenAllocation for extensibility (and better re-use between strategies), and adds OfflineTokenAllocator.
TokenMetadata now has a configurable snitch (instead of hardcoded to DatabaseDescriptor.getEndpointSnitch()) for testability.
Adds logging of growth and stddev changes to allocate_tokens_for_local_replication_factor usages.

 patch by Mick Semb Wever; reviewed by Paul Motta, Ekaterina Dimitrova for CASSANDRA-16205
2020-12-03 19:20:59 +01:00
Jon Meredith 919a8964a8 Bring back the accepted encryption protocols list as configurable option
patch by Jon Meredith; reviewed by Berenguer Blasi, David Capwell, Dinesh Joshi for CASSANDRA-13325
2020-12-02 16:44:54 -08: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
David Capwell 001767de2d Merge branch 'cassandra-3.11' into trunk 2020-11-05 14:47:17 -08:00
David Capwell 7c407c4380 Merge branch 'cassandra-3.0' into cassandra-3.11 2020-10-19 12:31:15 -07:00
Yifan Cai 83e1e9e451 in-jvm dtest now exposes stdout and stderr for nodetool
patch by Yifan Cai; reviewed by Alex Petrov, David Capwell for CASSANDRA-16057
2020-10-06 13:46:05 -07:00
David Capwell 91bcbb2873 Add a new jmxtool which can dump what JMX objects exist and diff
patch by David Capwell, Stephen Mallette; reviewed by Berenguer Blasi, Jon Meredith for CASSANDRA-16082
2020-09-15 17:01:01 -07:00
Blake Eggleston ccab496d2d Add byte array backed cells
Patch by Blake Eggleston; reviewed by Caleb Rackliffe and Marcus Eriksson for CASSANDRA-15393
2020-09-14 08:32:44 -07:00
Stefan Miklosovic 00c22232d9 FQL replay should have options to ignore DDL statements
Patch by Stefan Miklosovic; reviewed by David Capwell and Marcus Eriksson
for CASSANDRA-16039
2020-08-19 09:40:45 +02:00
Ekaterina Dimitrova cba0c27ce9 Remove COMPACT STORAGE internals
Patch by Ekaterina Dimitrova, reviewed by Sylvain Lebresne for
CASSANDRA-13994
2020-08-17 11:51:23 +02:00
Alex Ott 6d9465a00d Improve cassandra-stress logging when using a profile file that doesn't
exist.

Patch by Alex Ott, reviewed by brandonwilliams for CASSANDRA-14425
2020-08-05 11:52:36 -05:00
Joseph Lynch 674b6cc1a5 Update defaults for server and client TLS settings
This fixes backwards compatibility with the 3.11 server_encryption_options
while exposing the correct defaults after the 4.0 Netty refactor.

Patch by Joseph Lynch; Reviewed by Ekaterina Dimitrova for CASSANDRA-15262
2020-06-20 18:59:41 -07:00
Robert Stupp ec07cd7e76 Fix tools/bin/fqltool for all shells
patch by Robert Stupp; reviewed by Mick Semb Wever and Eduard Tudenhöfner for CASSANDRA-15820
2020-05-19 16:36:09 +02:00
Marcus Eriksson 5242f7d430 Fix issues in audit / full query log interactions
Patch by marcuse; reviewed by Aleksey Yeschenko and Per Otterström for CASSANDRA-14772
2020-04-16 14:19:54 +02:00
Robert Stupp f14507190b Remove Java Driver dependency for UDFs and UDAs / Limit the dependencies used by UDFs/UDAs
patch by Robert Stupp; reviewed by Jason Brown, Jonathan Ellis, Ryan Svihla for CASSANDRA-14737
2020-02-12 09:58:43 +01:00
yifan-c 1fbd3297a9 Release session from cache when closing QueryReplayer
Patch by Yifan Cai; reviewed by marcuse for CASSANDRA-15514
2020-01-20 15:00:25 +01:00
nvharikrishna e27810efcc [CASSANDRA-12993] Added license text. 2020-01-10 16:05:38 +00:00
Zephyr Guo 3a8300e0b8 Avoid deadlock during CommitLog initialization
patch by Zephyr Guo, Dinesh Joshi; reviewed by Jordan West and Dinesh Joshi for CASSANDRA-15295

Co-Authored-By: Zephyr Guo <gzh1992n@gmail.com>
Co-Authored-By: Dinesh Joshi <dinesh.joshi@apple.com>
2019-12-12 10:13:44 -08:00
Per Otterström d5e5c459f5 Align record header of FQL and audit binary log
Patch by Per Otterström; reviewed by Vinay Chella and marcuse for CASSANDRA-15076
2019-11-28 09:43:07 +01: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
Benedict Elliott Smith 310a48efcf Rewrite the internode messaging subsystem
patch by Aleksey Yeschenko and Benedict Elliott Smith; reviewed by Alex
Petrov, Aleksey Yeschenko, and Benedict Elliott Smith for CASSANDRA-15066

Co-authored-by: Aleksey Yeschenko <aleksey@apache.org>
Co-authored-by: Benedict Elliott Smith <benedict@apache.org>
2019-06-12 16:26:54 +01:00
Mick Semb Wever 7d6c3cd2bd
Merge branch 'cassandra-3.11' into trunk 2019-04-10 21:40:21 +10:00
Mick Semb Wever 8c38b20343
Merge branch 'cassandra-3.0' into cassandra-3.11 2019-04-10 21:14:31 +10:00
Zhao Yang 4a70a9a982
support frozen collections: list, set in cassandra-stress
patch by ZhaoYang ; reviewed by Mick Semb Wever for CASSANDRA-14907
2019-04-10 21:12:53 +10:00
Marcus Eriksson 73ff199df3 FQLTool replay improvements
Patch by marcuse; reviewed by Sam Tunnicliffe for CASSANDRA-14850
2019-02-25 15:17:47 +01:00
Vinay Chella 7d138e20ea Add a new tool to dump audit logs
Patch by Vinay Chella; reviewed by marcuse for CASSANDRA-14885
2019-01-23 14:36:56 +01:00
Jay Zhuang 4dd7faa752 Merge branch 'cassandra-3.11' into trunk 2018-12-06 16:48:25 -08:00
Jay Zhuang 6a449b88d9 Merge branch 'cassandra-3.0' into cassandra-3.11 2018-12-06 16:42:41 -08:00
Jay Zhuang bbf7dac87c Fix cassandra-stress hang with default options
patch by Jay Zhuang; reviewed by Stefania Alborghetti for CASSANDRA-14616
2018-12-06 16:34:55 -08:00
Marcus Eriksson bd0cef9a36 Avoid using DatabaseDescriptor in ProtocolVersion
Patch by marcuse; reviewed by Sam Tunnicliffe for CASSANDRA-14800
2018-10-04 08:23:49 +02:00
Marcus Eriksson a0636881f4 ninja-add missing .hashCode() in new fqltool classes 2018-09-28 08:39:12 +02:00
Sam Tunnicliffe 65fb17a88b Add checksumming to the native protocol
Patch my Michael Kjellman and Sam Tunnicliffe; reviewed by Dinesh Joshi
and Jordan West for CASSANDRA-13304
2018-09-01 22:41:37 +01:00
Marcus Eriksson f83bd5ac2b Add fqltool compare
Patch by marcuse; reviewed by Jason Brown and Dinesh Joshi for CASSANDRA-14619
2018-09-01 09:59:21 +02:00
Aleksey Yeshchenko aed682513c Use consistent nowInSeconds and timestamps values within a request
patch by Aleksey Yeschenko; reviewed by Chris Lohfink for
CASSANDRA-14671
2018-08-31 18:29:33 +01: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
Aleksey Yeschenko 207c80c1fd Make all DDL statements idempotent and not dependent on global state
patch by Aleksey Yeschenko; reviewed by Sam Tunnicliffe for
CASSANDRA-13426
2018-07-17 16:39:41 +01:00
Jaydeepkumar Chovatia 2aeed037e0 Support light-weight transactions in cassandra-stress
patch by Jaydeepkumar Chovatia; reviewed by Dinesh Joshi and jasobrown for CASSANDRA-13529
2018-06-13 05:46:20 -07:00
Alex Ott 71a27ee2b9 This commit fixes NPE when the 'insert' section is missing from user-defined profile
Fixes #221

Patch by Alex Ott; Reviewed by Jeff Jirsa for CASSANDRA-14426
2018-04-28 14:02:43 -07:00
Stefan Podkowinski bb9aa09881 Use JRE default key store algorithm instead of SunX509
patch by Stefan Podkowinski; reviewed by Jason Brown for CASSANRA-13259
2018-02-14 11:29:59 +01: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
Jay Zhuang 1db54a1266 Fix cassandra-stress startup failure
patch by Jay Zhuang; reviewed by Blake Eggleston for CASSANDRA-14106
2017-12-19 16:23:07 -08:00
Blake Eggleston d8f0361228 Fix Distribution.average in cassandra-stress
Patch by Blake Eggleston; Reviewed by Jon Haddad for CASSANDRA-14090
2017-12-05 15:58:59 -08:00
Alex Petrov 07fbd8ee60 Disallow COMPACT STORAGE syntax, avoid starting when compact tables are present
Patch by Alex Petrov; reviewed by Sylvain Lebresne for CASSANDRA-10857
2017-11-06 16:44:50 +01:00
Alex Petrov 6d429cd031 Merge branch 'cassandra-3.0' into cassandra-3.11 2017-11-06 15:52:31 +01:00
Jason Brown 260846685b Node to Node encryption transitional mode
patch by jasobrown; reviewed by Stefan Podkowinski for CASSANDRA-10404
2017-11-03 05:06:38 -07:00