Commit Graph

922 Commits

Author SHA1 Message Date
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
Ekaterina Dimitrova e5e13c02cc Fix default value for compaction_throughput_mb_per_sec in Config class to match the one in cassandra.yaml
patch by Ekaterina Dimimtrova; reviewed by Francisco Guerrero, Michael Semb Wever for CASSANDRA-17790
2022-08-08 12:45:36 -04:00
Ekaterina Dimitrova 22a4ae16e4 Deprecate JavaScript user-defined functions
patch by Ekaterina Dimitrova; reviewed by Berenguer Blasi and Marcus Eriksson for CASSANDRA-17280
2022-02-25 11:32:25 -05:00
Mick Semb Wever 85fd49f2cf
Merge branch 'cassandra-3.11' into cassandra-4.0 2022-02-18 11:16:02 +01:00
Mick Semb Wever 593872cb28
Merge branch 'cassandra-3.0' into cassandra-3.11 2022-02-18 11:14:29 +01:00
Erick Ramirez 679740ff48
Added CVE-2021-44521 to CHANGES.txt, NEWS.txt
patch by Erick Ramirez; reviewed by Marcus Eriksson, Mick Semb Wever for CASSANDRA-17388
2022-02-18 11:11:07 +01:00
Ekaterina Dimitrova 537ad9e17b Deprecate otc_coalescing_strategy, otc_coalescing_window_us, otc_coalescing_enough_coalesced_messages,
otc_backlog_expiration_interval_ms (CASSANDRA-17377)
patch by Ekaterina Dimitrova; reviewed by Brandon Williams for CASSANDRA-17377
2022-02-12 20:17:30 -05:00
Andrés de la Peña 67f913a706 Merge branch 'cassandra-3.11' into cassandra-4.0 2022-01-26 11:43:14 +00:00
Andrés de la Peña bfab1fda88 Merge branch 'cassandra-3.0' into cassandra-3.11 2022-01-26 11:38:48 +00:00
Andrés de la Peña 40bf53359c Fix conversion from megabits to bytes in streaming rate limiter
patch by Andrés de la Peña; reviewed by Berenguer Blasi for CASSANDRA-17243
2022-01-26 11:34:51 +00:00
Bereng 85248da628 PasswordObfuscator should not assume PASSWORD is the last item in the WITH clause
patch by Berenguer Blasi; reviewed by Benjamin Lerer, Ekaterina Dimitrova for CASSANDRA-16801
2022-01-25 07:08:48 +01:00
Ekaterina Dimitrova 2b63dc7044 Full support for Java 11; it is not experimental anymore
patch by Ekaterina Dimitrova; reviewed by Michael Semb Wever for CASSANDRA-16894
2022-01-24 12:11:12 -05:00
Ekaterina Dimitrova 44ace88585 internode_send_buff_size_in_bytes and internode_recv_buff_size_in_bytes have new names. Backward compatibility with the old names added
patch by Ekaterina Dimitrova; reviewed by David Capwell for CASSANDRA-17141
2021-11-16 14:34:04 -05:00
Alex Petrov 32a15f0e9b Merge branch 'cassandra-3.0' into cassandra-3.11 2021-10-01 18:05:52 +02:00
Alex Petrov 13632e9a99 Avoid re-prepare storm on qualified statements after `use`
Patch by Alex Petrov; reviewed by Marcus Eriksson for CASSANDRA-15252
2021-10-01 18:02:18 +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
Benjamin Lerer bdb7c3b377 Merge branch cassandra-3.11 into cassandra-4.0.0 2021-06-18 15:11:27 +02:00
Benjamin Lerer 91c12bd750 Merge branch cassandra-3.0 into cassandra-3.11 2021-06-18 14:53:54 +02:00
Benjamin Lerer 9b6dd382bd Add flag to disable ALTER...DROP COMPACT STORAGE statements
patch by Benjamin Lerer; review by Andres de la Pena and Brandon Williams for CASSANDRA-16733
2021-06-18 14:42:48 +02:00
Ekaterina Dimitrova 77a370c424 Add a warning to cqlsh 6.0.0 that DESCRIBE does not work with a Cassandra 3.x servers
patch by Ekaterina Dimitrova; reviewed by Adam Holmberg and Benjamin Lerer for CASSANDRA-16652
2021-05-18 11:51:57 -04:00
Benjamin Lerer 28e8632c97
Mark StreamingMetrics.ActiveOutboundStreams as deprecated
patch by Benjamin Lerer; reviewed by Mick Semb Wever for CASSANDRA-11174
2021-03-17 14:49:18 +01:00
Adam Holmberg 72ca73fbc6 deprecate python2.7 for cqlsh
Patch by Adam Holmberg; reviewed by brandonwilliams for CASSANDRA-16414
2021-02-26 14:52:38 -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
Ekaterina Dimitrova 2330545827 Metrics backward compatibility restored after CASSANDRA-15066
Authored by Ekaterina Dimitrova, reviewed by Benjamin Lerer for CASSANDRA-16083
2021-02-12 10:19:39 -05: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
Sam Tunnicliffe f87e0eacad Update native protocol v5 spec with new framing format
Also include a note in the Upgrading section of NEWS.txt

Patch by Sam Tunnicliffe; reviewed by Mick Semb Wever, Alex Petrov
and Martin Sucha for CASSANDRA-14688
2021-01-22 14:43:48 +00:00
Jeremy Hanna 3cfc8502b8
Updated default num_tokens from 256 to 16 with associated allocate_tokens_for_local_replication_factor set to 3
patch by Jeremy Hanna; reviewed by Alexander Dejanovski, Paulo Motta, Brandon Williams, Michael Semb Wever for CASSANDRA-13701
2020-12-17 22:18:17 +01: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
Sylvain Lebresne 9a3ca008ba Merge commit '080280dc0177da6176dd4ba970e5a35aa7e2a729' into trunk 2020-11-27 17:07:31 +01:00
Sylvain Lebresne 080280dc01 Merge commit '2d0b16804785660e8515aca9944784fb3733c619' into cassandra-3.11 2020-11-27 17:06:51 +01:00
Sylvain Lebresne 2d0b168047 Fix serial read/non-applying CAS linearizability
Before this patch, a SERIAL read or a non-applying CAS replay any
in-progress commit by calling `beginAndRepairPaxos`, but only a quorum
of nodes is contacted, so a minority of nodes could have an unfinished
in-progress proposal in their Paxos state. If such in-progress proposal
is not replayed by a SERIAL read/non-applying CAS, it should never be
replayed by any following operation as that would break serializability,
but nothing was done to avoid this.

This patch ensures that both a SERIAL read or a non-applying CAS commit
an empty update before succeeding. This ensures that no prior incomplete
in-progress proposal can be replayed (such proposal will be discarded as
older than the last committed ballot).

As this fix has a performance impact on SERIAL reads, a flag is provided
to disable the new code (even if this is discouraged by a warning).

Patch by Sylvain Lebresne, reviewed by Benjamin Lerer for CASSANDRA-12126
2020-11-27 17:04:56 +01:00
Benjamin Lerer 47278ae376 Use a more informative message when rejecting OldNetworkTopologyStrategy
patch by Benjamin Lerer; reviewed by Erick Ramirez for CASSANDRA-16301

The patch also add an entry to NEWS.txt in the upgrade section to warn
people using the OldNetworkTopologyStrategy
2020-11-26 13:55:45 +01:00
Alex Petrov 79ea1e3736 Fix NEWS.txt entry
Patch by Alex Petrov; reviewed by Ekaterina Dimitrova for CASSANDRA-16217
2020-11-20 18:30:38 +01:00
Mick Semb Wever fcf293a61a
Merge branch 'cassandra-3.11' into trunk 2020-11-18 13:28:14 +01:00
Mick Semb Wever ad9b7156bd
Protect against max_compaction_flush_memory_in_mb configurations configured still in bytes
patch by Mick Semb Wever; reviewed by Zhao Yang for CASSANDRA-16071
2020-11-18 13:25:32 +01:00
Mick Semb Wever 8bcd6ab9bb
Merge branch 'cassandra-3.11' into trunk 2020-11-18 13:03:52 +01:00
Mick Semb Wever e8c1af26c5
Merge branch 'cassandra-3.0' into cassandra-3.11 2020-11-18 12:58:56 +01:00
Stefan Miklosovic bfd5d20a13
Check between num_tokens and initial_token only applies to vnodes usage
patch by Stefan Miklosovic; reviewed by Mick Semb Wever for CASSANDRA-14477
2020-11-18 12:52:17 +01:00
Mick Semb Wever 1122fcfeaa
Merge branch 'cassandra-3.11' into trunk 2020-11-17 22:48:19 +01:00
Mick Semb Wever d9e1af8824
Merge branch 'cassandra-3.0' into cassandra-3.11 2020-11-17 22:45:26 +01:00
Stefan Miklosovic 8ef5a88631
Improved check of num_tokens against initial_token in the cassandra.yaml
patch by Stefan Miklosovic; reviewed by Mick Semb Wever for CASSANDRA-14477
2020-11-17 21:47:21 +01: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
Jeff Jirsa 85f69cf394 Add a ratelimiter to snapshot creation and deletion
Patch by Jeff Jirsa; Reviewed by Aleksey Yeschenko, Chris Lohfink,
maxwellguo for CASSANDRA-13019
2020-11-09 15:03:10 +01:00
Marcus Eriksson fa7659253f Merge branch 'cassandra-3.11' into trunk 2020-09-16 11:11:15 +02:00
Marcus Eriksson f41ea9fb14 Make sure LCS handles duplicate sstable added/removed notifications correctly.
Patch by marcuse; reviewed by Blake Eggleston for CASSANDRA-14103
2020-09-16 11:04:09 +02:00
Mick Semb Wever 40d0df40f1
ninja-fix: remove outdated java11 compiling instructions 2020-08-24 10:45:17 +02:00
Jeremy Hanna 8599f93d9a
Update compaction_throughput_mb_per_sec default from 16 to 64
patch by Jeremy Hanna; reviewed by Mick Semb Wever for CASSANDRA-14902
2020-07-08 12:10:32 +02:00
Robert Stupp 4e47bfb3a1 Add support for server side DESCRIBE statements
patch by Robert Stupp; reviewed by Dinesh Joshi and Benjamin Lerer for CASSANDRA-14825
2020-06-29 18:01:02 +02:00