Commit Graph

7537 Commits

Author SHA1 Message Date
Paulo Motta 158875858c Merge branch 'cassandra-4.1' into trunk 2023-01-23 17:43:18 -05:00
Paulo Motta da2dd2bfbc Merge branch 'cassandra-4.0' into cassandra-4.1 2023-01-23 17:27:58 -05:00
lzurovchak1 8bb9c72f58 Add safeguard so cleanup fails when node has pending ranges
Patch by Lindsey Zurovchak; Reviewed by Paulo Motta, Stefan Miklosovic for CASSANDRA-16418

Closes #2061
2023-01-23 17:26:47 -05:00
williamvietnguyen 035705f494 Print friendly error when nodetool attempts to connect to uninitialized server
Patch by William Nguyen; Reviewed by Paulo Motta, Brandon Williams for CASSANDRA-11537
2023-01-23 17:18:33 -05:00
Andrés de la Peña cab864a631 Merge branch 'cassandra-4.1' into trunk 2023-01-23 11:43:39 +00:00
Andrés de la Peña 6c96e2fd41 Merge branch 'cassandra-4.0' into cassandra-4.1 2023-01-23 11:42:24 +00:00
Andrés de la Peña 9a0af4112e Fix legacy clustering serialization for paging with compact storage
patch by Andrés de la Peña; reviewed by Berenguer Blasi and Piotr Kołaczkowski for CASSANDRA-17507
2023-01-23 11:40:45 +00:00
Stefan Miklosovic 92fca2531f Merge branch 'cassandra-4.1' into trunk 2023-01-18 15:08:32 +01:00
Stefan Miklosovic 590d629302 Merge branch 'cassandra-4.0' into cassandra-4.1 2023-01-18 15:05:33 +01:00
Stefan Miklosovic 815f7de346 Merge branch 'cassandra-3.11' into cassandra-4.0 2023-01-18 15:02:40 +01:00
Stefan Miklosovic fc3ad6525f Merge branch 'cassandra-3.0' into cassandra-3.11 2023-01-18 14:58:38 +01:00
German Eichberger 8ecd7616fe Default role is created with zero timestamp
patch by German Eichberger; reviewed by Stefan Miklosovic and Brandon Williams for CASSANDRA-12525

Co-authored-by: Stefan Miklosovic <smiklosovic@apache.org>
2023-01-18 14:56:22 +01:00
ben b07c3127cc SimpleSeedProvider can resolve multiple IP addresses per DNS record
patch by Ben Bromhead; reviewed by Stefan Miklosovic and Andrés de la Peña for CASSANDRA-14361

Co-authored-by: Stefan Miklosovic <smiklosovic@apache.org>
2023-01-18 10:43:45 +01:00
yziadeh 1528798a5b Add tests for CQL and cqlsh quote escaping
Patch by Yaman Ziadeh; Reviewed by Paulo Motta and Brandom Williams for CASSANDRA-15458
2023-01-17 15:27:51 -05:00
Stefan Miklosovic 36a99bcdcc Remove mocking in InternalNodeProbe spying on StorageServiceMBean
patch by Stefan Miklosovic; reviewed by Andrés de la Peña for CASSANDRA-18152
2023-01-17 08:56:07 +01:00
maxwellguo 49dfb805e9 Add compaction_properties column to system.compaction_history table and nodetool compactionhistory command
patch by Maxwell Guo; reviewed by Stefan Miklosovic and Jacek Lewandowski for CASSANDRA-18061
2023-01-17 08:56:07 +01:00
Paulo Motta 6501f576e7 Merge branch 'cassandra-4.1' into trunk 2023-01-16 21:50:55 -05:00
Paulo Motta c9968a8e95 Merge branch 'cassandra-4.0' into cassandra-4.1 2023-01-16 21:47:46 -05:00
Stefan Miklosovic 6e6846892a Fix sstable loading of keyspaces named snapshots or backups
Patch by Stefan Miklosovic; Reviewed by Paulo Motta for CASSANDRA-14013

Co-authored-by: Paulo Motta <paulo@apache.org>
2023-01-16 21:45:17 -05:00
Caleb Rackliffe 530bc10bd0 Remove ProtocolVersion entirely from the CollectionSerializer ecosystem
patch by Caleb Rackliffe; reviewed by David Capwell for CASSANDRA-18114
2023-01-12 15:56:56 -06:00
David Capwell 7df4530882 Merge branch 'cassandra-4.1' into trunk 2023-01-12 09:48:04 -08:00
David Capwell 5be1038c5d Streaming progress virtual table lock contention can trigger TCP_USER_TIMEOUT and fail streaming
patch by David Capwell; reviewed by Abe Ratnofsky, Jon Meredith for CASSANDRA-18110
2023-01-12 09:46:54 -08:00
Bereng 995c3abc42 Merge branch 'cassandra-4.1' into trunk 2023-01-12 08:21:48 +01:00
Bereng 438346aaa6 Merge branch 'cassandra-4.0' into cassandra-4.1 2023-01-12 08:19:48 +01:00
Bereng a83de9bcd2 Merge branch 'cassandra-3.11' into cassandra-4.0 2023-01-12 08:18:13 +01:00
Bereng b8a87abba4 Do not leak 2015 synthetic memtable Epoch
patch by Berenguer Blasi; reviewed by Caleb Rackliffe for CASSANDRA-18118
2023-01-12 08:15:19 +01:00
Ariel Weisberg d7c5c547f0 Use checked casts when reading vints as ints
patch by Ariel Weisberg; reviewed by David Capwell and Caleb Rackliffe for CASSANDRA-18099
2023-01-04 15:58:50 -05:00
Marcus Eriksson 69982767e5 Merge branch 'cassandra-4.1' into trunk 2022-12-23 14:45:48 +01:00
Marcus Eriksson 203c61abaf Merge branch 'cassandra-4.0' into cassandra-4.1 2022-12-23 14:44:19 +01:00
Marcus Eriksson 95e26ad1ab Merge branch 'cassandra-3.11' into cassandra-4.0 2022-12-23 14:43:01 +01:00
Marcus Eriksson 0767c83416 Merge branch 'cassandra-3.0' into cassandra-3.11 2022-12-23 14:41:50 +01:00
Marcus Eriksson 730b898b74 Don't group TWCS sstables for anticompaction
Patch by marcuse; reviewed by Aleksey Yeschenko for CASSANDRA-17970
2022-12-23 13:38:53 +01:00
Jake Luciani 227409d920 Add Mutation Serialization Caching
Patch by T Jake Luciani; Reviewed by Josh McKenzie for CASSANDRA-17998

Co-authored-by: T Jake Luciani (jake@apache.org)
Co-authored-by: Mike Adamson (mikeatdot@gmail.com)
Co-authored-by: Robert Stupp (snazy@apache.org)
2022-12-19 16:05:12 -05:00
Mick Semb Wever b87299debe
Merge branch 'cassandra-4.1' into trunk
* cassandra-4.1:
  Restore custom param types over messaging system
2022-12-17 15:51:11 -08:00
Mick Semb Wever f869a2bb59
Merge branch 'cassandra-4.0' into cassandra-4.1
* cassandra-4.0:
  Restore custom param types over messaging system
2022-12-17 15:50:19 -08:00
Mick Semb Wever f01d2b4a3c
Restore custom param types over messaging system
patch by Mick Semb Wever; reviewed by Aleksey Yeschenko for CASSANDRA-17981
2022-12-17 15:48:26 -08:00
Marcus Eriksson 94bcb4e5ec Only reload compaction strategies if disk boundaries change
Patch by Aleksey Yeschenko and marcuse; reviewed by Aleksey Yeschenko for CASSANDRA-17874

Co-authored-by: Aleksey Yeschenko <aleksey@apache.org>
2022-12-15 13:52:43 +01:00
David Capwell 4941b279bc CEP-10: Simulator Java11 Support
patch by David Capwell; reviewed by Benedict Elliott Smith, Ekaterina Dimitrova for CASSANDRA-17178
2022-12-13 15:04:31 -08:00
Ariel Weisberg f0ad7eadbe Merge branch 'cassandra-4.1' into trunk 2022-12-07 15:23:00 -05:00
Marianne Lyne Manaog 81c616826a Fix ContentionStrategy backoff and Clock.waitUntil
Also for CASSANDRA-18087

patch by Matt Fleming, Marianne Lyne Manaog, Benedict Elliott Smith; reviewed by Joshua Mckenzie, Ariel Weisberg for CASSANDRA-18086

Co-authored-by: Marianne Lyne Manaog <marianne.manaog@datastax.com>
Co-authored-by: Matt Fleming <matt@codeblueprint.co.uk>
Co-authored-by: Benedict Elliott Smith <benedict@apple.com>
2022-12-07 15:20:48 -05:00
maxwellguo 3f83396b76 Set the major compaction type correctly for compactionstats
Patch by Maxwell Guo; reviewed by brandonwilliams and blambov for CASSANDRA-18055
2022-12-07 05:25:52 -06:00
Stefan Miklosovic ccada788c4 Print exception message without stacktrace when nodetool commands fail on probe.getOwnershipWithPort()
Consequently, there is also alignement of nodetool ring command returning
exit code 1 in case there is unrecoverable exception thrown,
same as was already done for status and describecluster commands.

patch by Stefan Miklosovic; reviewed by Brandon Williams and Yifan Cai for CASSANDRA-18079
2022-12-06 12:27:58 +01:00
Yifan Cai 235d2df0ee Merge branch 'cassandra-4.1' into trunk 2022-12-05 19:00:18 -08:00
Yifan Cai 27fff06bb7 Merge branch 'cassandra-4.0' into cassandra-4.1 2022-12-05 18:57:01 -08:00
Yifan Cai f22263cd8a Merge branch 'cassandra-3.11' into cassandra-4.0 2022-12-05 18:52:22 -08:00
Yifan Cai eb91e2c354 Merge branch 'cassandra-3.0' into cassandra-3.11 2022-12-05 18:50:28 -08:00
Yifan Cai 473656c1d5 Fix incorrect resource name in LIST PERMISSION output
patch by Yifan Cai; reviewed by Berenguer Blasi, Sam Tunnicliffe for CASSANDRA-17848
2022-12-05 18:48:36 -08:00
Stefan Miklosovic 797b96958a Implement a guardrail for not having zero default_time_to_live on tables with TWCS
patch by Stefan Miklosovic; reviewed by Andrés de la Peña, Josh McKenzie, Brandon Williams and Brad Schoening for CASSANDRA-18042

Co-authored-by: Andrés de la Peña <a.penya.garcia@gmail.com>
2022-12-02 09:45:02 +01:00
Andrés de la Peña b7c7972a51 Add CQL scalar functions for collection aggregation
patch by Andrés de la Peña; reviewed by Benjamin Lerer and Berenguer Blasi for CASSANDRA-18060
2022-11-25 14:08:00 +00:00
Stefan Miklosovic 3775c8f11d Make cassandra.replayList property for CommitLogReplayer possible to react on keyspaces only
Property is meant to contain comma-separated entities which are either
names of keyspaces or keyspaces and tables or their mix.

Examples:
- just keyspaces: -Dcassandra.replayList=ks1,ks2,ks3
- specific tables: -Dcassandra.replayList=ks1.tb1,ks2.tb2
- mix of tables and keyspaces: -Dcassandra.replayList=ks1.tb1,ks2

If only keyspaces are specified, mutations for all tables in such keyspace will be replayed.

patch by Stefan Miklosovic; reviewed by Branimir Lambov for CASSANDRA-18044
2022-11-23 19:57:31 +01:00