Commit Graph

691 Commits

Author SHA1 Message Date
Stefan Miklosovic 4ea7bb25b4
Add support for AWS Ec2 IMDSv2
patch by Stefan Miklosovic; reviewed by Jacek Lewandowski and Brandon Williams for CASSANDRA-16555

Co-authored-by: Jacek Lewandowski <lewandowski.jacek@gmail.com>
Co-authored-by: Paul Rütter <paul@blueconic.com>
2023-06-28 16:08:39 +02: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
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
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 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 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
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
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
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
Michael Shuler 899a4fd663 Bump version to 3.0.21 2020-02-14 18:44:09 -06:00
Aleksey Yeshchenko 01b52de41e Make note of replicate_on_write and populate_io_cache_on_flush table options removal in NEWS.txt
patch by Leon Zaruvinsky for CASSANDRA-15408
2019-11-13 16:49:27 +00:00
Michael Shuler ae366ba615 Increment version to 3.0.20 2019-10-29 16:11:57 -05:00
Michael Shuler 98f56c1208 Prepare for release, set version build date, fix whitespace 2019-10-24 08:57:29 -05:00
Sam Tunnicliffe 0388d89e29 Allow max protocol version to be capped
Patch by Sam Tunnicliffe; reviewed by Alex Petrov and Aleksey
Yeschenko for CASSANDRA-15193
2019-10-08 18:09:52 +01:00
Joseph Lynch b30c8c98a5 Improve merkle tree size and time on heap
Patch by Joseph Lynch; Reviewed by Blake Eggleston for CASSANDRA-14096
2019-02-14 13:19:30 -08:00
Michael Shuler 229f8b3a44 Update version to 3.0.19 2019-02-11 21:09:23 -06:00
Aleksey Yeshchenko 236c47e65c Fix static column order for SELECT * wildcard queries
patch by Aleksey Yeschenko; reviewed by Benedict Elliott Smith for
CASSANDRA-14638
2018-08-16 15:43:51 +01:00
Aleksey Yeshchenko eaf9bf18b2 Deprecate background repair and probablistic read_repair_chance table options
patch by Aleksey Yeschenko; reviewed by Blake Eggleston for
CASSANDRA-13910
2018-04-18 11:26:13 +01:00
kurt 58e6c55e17
Don't regenerate bloomfilter and summaries on startup
Patch by Kurt Greaves; Reviewed by Chris Lohfink for CASSANDRA-11163, CASSANDRA-14166
2018-03-12 19:17:36 +11:00
Paulo Motta c67338989f Write to pending endpoint when view replica is also base replica
Patch by Paulo Motta; Reviewed by Zhao Yang for CASSANDRA-14251
2018-03-06 11:14:18 -03:00
Ariel Weisberg 2461187c0e Merge branch 'cassandra-2.2' into cassandra-3.0 2018-02-14 13:32:59 -05:00
Ariel Weisberg 08ebe8297b Merge branch 'cassandra-2.1' into cassandra-2.2 2018-02-14 13:23:41 -05:00
Ariel Weisberg 4bbd28a043 CVE-2017-5929 Security vulnerability in Logback warning in NEWS.txt
Patch by Ariel Weisberg; Reviewed by Jason Brown for CASSANDRA-14183
2018-02-14 11:55:00 -05:00
Paulo Motta c231ed5be0 Merge branch 'cassandra-2.2' into cassandra-3.0 2018-02-10 14:57:53 -02:00
Paulo Motta 1602e60634 Merge branch 'cassandra-2.1' into cassandra-2.2 2018-02-10 14:54:56 -02:00
Paulo Motta b2949439ec Protect against overflow of local expiration time
Patch by Paulo Motta; Reviewed by Sam Tunnicliffe for CASSANDRA-14092
2018-02-10 14:33:50 -02:00
Benjamin Lerer dd187d105b Merge branch cassandra-2.2 into cassandra-3.0 2017-12-12 10:32:36 +01:00
Benjamin Lerer 02aba7343c Rely on the JVM to handle OutOfMemoryErrors
patch by Benjamin Lerer; reviewed by Joshua McKenzie for CASSANDRA-13006
2017-12-12 10:21:05 +01:00
Alex Petrov 6c29ee84a2 Allow dropping COMPACT STORAGE flag
Patch by Alex Petrov; reviewed by Sylvain Lebresne for CASSANDRA-10857.
2017-11-06 15:44:51 +01:00
Blake Eggleston b8697441d7 Add flag to disable materialized views, and warnings on creation
Patch by Blake Eggleston; Reviewed by Aleksey Yeschenko for CASSANDRA-13959
2017-10-26 13:54:37 -07:00
Michael Shuler a04d627140 Update version to 3.0.16 2017-10-10 17:14:47 -05:00
Michael Shuler 797de4ae3c Update version to 2.2.12 2017-10-05 10:22:46 -05:00
Michael Shuler d4fd82be5d Update version to 2.1.20 2017-10-05 10:19:50 -05:00
Zhao Yang 1b36740ebe Fix outstanding MV timestamp issues and add documentation about unsupported cases (see CASSANDRA-11500 for a summary of fixes)
This patch introduces the following changes to fix MV timestamp issues:
 - Add strict liveness for view with non-key base column in pk
 - Deprecated shadowable tombstone and use expired livenessInfo instead
 - Include partition deletion for existing base row
 - Disallow dropping base column with MV

Patch by Zhao Yang and Paulo Motta; reviewed by Paulo Motta for CASSANDRA-11500
2017-09-05 01:03:24 -05:00
Joel Knighton 77aba07daf Increment version to 2.1.19 2017-07-24 13:21:16 -05:00
Michael Shuler 000381ab12 Increment to version 3.0.15 2017-06-26 18:50:40 -05:00
Michael Shuler 0163b97449 Increment to version 2.2.11 2017-06-26 18:46:28 -05:00
Alex Petrov 1f54aa424f Ensure consistent view of partition columns between coordinator and replica in ColumnFilter
Patch by Alex Petrov; reviewed by Aleksey Yeschenko for CASSANDRA-13004
2017-06-15 19:03:58 +02:00
Stefania Alborghetti 6b36d9f050 Ninja: update NEWS.txt for CASSANDRA-13559 2017-06-05 08:48:30 +08:00
Michael Shuler 71d4f66d72 Add 3.0.14 NEWS and CHANGES 2017-04-14 20:06:18 -05:00
Benjamin Lerer 9b8692c6a4 Use the Kernel32 library to retrieve the PID on Windows and fix startup checks
patch by Benjamin Lerer; reviewed by Michael Kjellman for CASSANDRA-13333
2017-03-28 16:17:10 +02:00
Jeff Jirsa e11f750817 Address message coalescing regression
Patch by Jeff Jirsa; Reviewed by T Jake Luciani for CASSANDRA-12676
2017-03-02 21:23:59 -08:00
Michael Shuler 0eae9084e6 Increment to version 3.0.12 2017-02-21 14:07:09 -06:00
Michael Shuler 7841908c3c Increment to version 2.2.10 2017-02-21 14:03:53 -06:00
Michael Shuler de1f24d70f Increment to version 2.1.18 2017-02-21 14:00:54 -06:00
Michael Shuler 943db2488c Add 2.1.17 NEWS entry and bump debian/changelog timestamp 2017-02-15 18:10:51 -06:00
Chris Lohfink af7b20bd0e Use keyspace replication settings on system.size_estimates table
Patch by Chris Lohfink; Reviewed by Paulo Motta for CASSANDRA-9639
2017-02-15 10:27:25 -02:00
Michael Shuler 6caf3c4f13 Remove 'no upgrades' note from NEWS.txt 2017-02-01 14:39:35 -06:00
Carl Yeksigian 5f66d48b38 Remove alter type support
patch by Carl Yeksigian; reviewed by Benjamin Lerer for CASSANDRA-12443
2017-01-18 15:59:10 +01:00
Jon Haddad d8eec1cd6d Fixed checkAvailableDiskSpace to properly recalculate expected disk usage of compaction task before reducing scope
patch by Jon Haddad; reviewed by Nate McCall for CASSANDRA-12979
2017-01-10 15:24:36 +13:00