Commit Graph

1085 Commits

Author SHA1 Message Date
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 ff4d63d392 Merge branch 'cassandra-4.0' into trunk 2022-01-25 07:11:04 +01: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 8ace479455 Merge branch 'cassandra-4.0' into trunk 2022-01-24 12:50:39 -05: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
Aleksei Zotov bc20bddceb Make capacity/validity/updateinterval/activeupdate for Auth Caches configurable via nodetool
patch by Aleksei Zotov; reviewed by Josh McKenzie for CASSANDRA-17063
2022-01-10 13:19:22 +04:00
Yuqi Gu 2043cb9fb6 Upgrade Snappy and JNA version to support Apple M1
Patch-By Yuqi Gu; Reviewed by Dinesh Joshi and Yifan Cai for CASSANDRA-17040
2022-01-07 11:02:48 -08:00
Andrés de la Peña bae92ee139 Migrate thresholds for number of keyspaces and tables to guardrails
This adds a new guardrail for limiting the number of keyspaces. It also  marks the previous not-guardrail thresholds
for keyspaces and tables as deprecated in favour of the equivalent guardrails. GuardrailsOptions is modified to always
log updates on guardrails config. A small refactor decouples guardrails from their configuration interfaces.

patch by Andrés de la Peña; reviewed by Ekaterina Dimitrova for CASSANDRA-17195
2021-12-17 16:33:00 +00:00
Yifan Cai d9460a04da Add non-blocking mode for CDC writes
patch by Yifan Cai; reviewed by Josh McKenzie for CASSANDRA-17001
2021-12-05 21:16:41 -08:00
Ekaterina Dimitrova 670bcff596 Merge branch 'cassandra-4.0' into trunk 2021-11-16 15:08:54 -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
Aleksei Zotov 63292292b8 Implement Virtual Tables for Auth Caches
Patch by Aleksei Zotov; reviewed by Sam Tunnicliffe, and Benjamin Lerer for CASSANDRA-16914
2021-11-10 12:04:04 +04:00
Kanthi Subramanian 8ddcd43b0c Add unix time conversion functions
Patch by Kanthi Subramanian; reviewed by Benjamin Lerer and Brandon
Williams for CASSANDRA-17029
2021-11-09 14:17:41 +01:00
Josh McKenzie c4b443ab90 Ninja-fix: CHANGES.txt and NEWS.txt for denylisting (CASSANDRA-12106) 2021-11-02 10:51:53 -04:00
kurt b2ccd0f3f5 ensure hint window is persistent across restarts of a node
patch by Kurt Greaves; reviewed by Brandon Williams, Mick Semb Wever and Stefan Miklosovic for CASSANDRA-14309
2021-10-22 17:23:06 +02:00
Francisco Guerrero 185893256f Allow GRANT/REVOKE multiple permissions in a single statement
patch by Francisco Guerrero; reviewed by Benjamin Lerer and Yifan Cai for CASSANDRA-17030

This commit allows GRANT/REVOKE statement to support multiple permissions with a single
statement. For example,

```
GRANT MODIFY, SELECT ON KEYSPACE field TO manager;
GRANT ALTER, DROP ON ROLE role1 TO role2;
```
2021-10-22 14:34:04 +02:00
Benjamin Lerer df6ecaae1c Allow to grant permission for all tables in a keyspace
Patch by Benjamin Lerer; Review by Andres de la Peña and Ekaterina Dimitrova for CASSANDRA-17027

In some cases it is useful to prevent users to alter or drop a keyspace
while allowing them to create new tables.
This patch add support for a new DataResource below KEYSPACE but above
TABLE. The syntax to grant permission at this level in ALL TABLES IN
KEYSPACE.
2021-10-20 14:09:02 +02:00
Aleksandr Sorokoumov fc27042f61 Expose information about stored hints via a nodetool command and a virtual table
Patch by Aleksandr Sorokoumov; reviewed by Ekaterina Dimitrova, Stefan Miklosovic and Aleksei Zotov for CASSANDRA-14795
2021-10-13 07:23:46 +04:00
Andrés de la Peña 0d4cc2ef0d Add support for type casting in WHERE clause components and in the values of INSERT/UPDATE statements
patch by Andrés de la Peña; reviewed by Benjamin Lerer for CASSANDRA-14337
2021-10-12 11:55:31 +01: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 e0777ff5ab Merge branch 'cassandra-4.0' into trunk 2021-09-29 08:07:32 +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
David Capwell c7526f943f Add soft/hard limits to local reads to protect against reading too much data in a single query
patch by David Capwell; reviewed by Caleb Rackliffe and Marcus Eriksson for CASSANDRA-16896
2021-09-28 12:49:12 -05:00
Josh McKenzie 9f15ec6de1 Evaluate consistency levels of auth reads
Patch by Jason Brown; reviewed by Matthew Byrd, Sankalp Kohli, and Benjamin Lerer for CASSANDRA-12988

Co-authored by Jason Brown (jasedbrown@gmail.com)
Co-authored by Josh McKenzie (jmckenzie@apache.org)
2021-09-24 11:15:59 -04:00
David Capwell 4ec4ab992f Add client warnings and abort to tombstone and coordinator reads which go past a low/high watermark
patch by David Capwell; reviewed by Blake Eggleston, Marcus Eriksson for CASSANDRA-16850
2021-08-26 13:41:31 -07:00
Benjamin Lerer c9130d454c Merge branch cassandra-4.0 into trunk 2021-06-18 15:17:52 +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 2e9ce1b88f Merge branch 'cassandra-4.0' into trunk 2021-05-18 12:00:33 -04: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
Mick Semb Wever d2b57fe463
Create release branch cassandra-4.0, increment trunk version to 4.1 2021-05-01 12:13:59 +02: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
Sam Tunnicliffe be572f2741 Merge branch 'cassandra-3.11' into trunk 2020-06-12 11:36:59 +01:00
Dinesh A. Joshi ffa05ef240 Fix CQLSH UTF-8 encoding issue for Python 2/3 compatibility
This fix also addresses test failures due to cqlsh return code behavior change

Patch by Dinesh Joshi; Reviewed by Jordan West and Mick Semb Wever for CASSANDRA-15739
2020-04-22 12:44:47 -07:00
Erick Ramirez b18900a1f2 Update NEWS.txt with Python 3 support for CQLSH
Patch by Erick Ramirez; Reviewed by David Capwell and Dinesh Joshi for CASSANDRA-15710
2020-04-17 22:48:54 -07:00
Erick Ramirez 45911cba75 Republished 3.11.6 NEWS.txt, CHANGES.txt
Patch by Erick Ramirez; Reviewed by Jon Haddad for CASSANDRA-15678
2020-04-01 12:29:03 -07:00
Michael Shuler 8f958195cd Bump version to 3.11.7 2020-02-14 18:49:22 -06:00
Michael Shuler 899a4fd663 Bump version to 3.0.21 2020-02-14 18:44:09 -06:00
Robert Stupp 4f27a37d7d C* 3.0 sstables w/ UDTs are corrupted in C* 3.11 and 4.0
patch by Robert Stupp; reviewed by Brandon Williams for CASSANDRA-15035
2020-01-31 10:08:30 +01:00
Robert Stupp ffab2b8dde C* 3.0 sstables w/ UDTs are corrupted in C* 3.11 and 4.0
patch by Robert Stupp; reviewed by Brandon Williams for CASSANDRA-15035
2020-01-31 10:07:29 +01:00
Brandon Williams 6449f400ce Update NEWS for CASSANDRA-15257 2020-01-27 20:27:21 -06:00
Ekaterina Dimitrova 9d2ffad6b6 Set cross_node_timeout to true by default.
Patch by Ekaterina Dimitrova, reviewed by brandonwilliams for
CASSANDRA-15216
2020-01-15 16:35:44 -06:00
Aleksey Yeshchenko 26a913f1ed Merge branch 'cassandra-3.11' into trunk 2019-11-13 16:51:39 +00:00
Aleksey Yeshchenko 91b8a89699 Merge branch 'cassandra-3.0' into cassandra-3.11 2019-11-13 16:51:14 +00: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
Aleksey Yeshchenko 5d6b1c7efb Merge branch 'cassandra-3.11' into trunk 2019-11-04 18:01:27 +00:00
Michael Shuler fb50d823b6 Increment version to 3.11.6 2019-10-29 16:15:49 -05:00
Michael Shuler ae366ba615 Increment version to 3.0.20 2019-10-29 16:11:57 -05:00
Michael Shuler 53bdc64a0e Prepare for release, set version build date, fix whitespace 2019-10-24 09:14:05 -05:00
Michael Shuler 94577bc4dc Prepare for release, set version build date, fix whitespace/typo 2019-10-24 09:00:41 -05:00
Michael Shuler 98f56c1208 Prepare for release, set version build date, fix whitespace 2019-10-24 08:57:29 -05:00
Sam Tunnicliffe 3040965668 Merge branch 'cassandra-3.0' into cassandra-3.11 2019-10-08 18:44:48 +01: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
Andrés de la Peña 094689acf1 Merge branch 'cassandra-3.11' into trunk
# Conflicts:
#	CHANGES.txt
#	conf/cassandra.yaml
#	src/java/org/apache/cassandra/config/Config.java
#	src/java/org/apache/cassandra/config/DatabaseDescriptor.java
#	src/java/org/apache/cassandra/cql3/statements/CreateIndexStatement.java
#	src/java/org/apache/cassandra/cql3/statements/CreateViewStatement.java
#	src/java/org/apache/cassandra/db/view/View.java
#	test/unit/org/apache/cassandra/cql3/ViewTest.java
#	test/unit/org/apache/cassandra/index/sasi/SASICQLTest.java
2019-02-19 15:08:10 +00:00
Andrés de la Peña e6a61be8c8 Add flag to disable SASI indexes, and warning on creation
patch by Andres de la Peña; reviewed by Robert Stupp for CASSANDRA-14866
2019-02-19 14:20:06 +00:00
Blake Eggleston 70e6f2952f Merge branch 'cassandra-3.11' into trunk 2019-02-14 13:25:09 -08:00
Blake Eggleston 126853068d Merge branch 'cassandra-3.0' into cassandra-3.11 2019-02-14 13:21:38 -08: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 123113f7b8 Update version to 3.11.5 2019-02-11 21:16:03 -06:00
Michael Shuler 229f8b3a44 Update version to 3.0.19 2019-02-11 21:09:23 -06:00
Joseph Lynch 1f19d5f7a2 Auto-expand replication_factor for NetworkTopologyStrategy
This re-defines the 'replication_factor' configuration option for
NetworkTopologyStrategy to auto-expand out to the datacenters that the
cluster knows about. This allows users to not worry about their cluster
layout when creating keyspaces. On ALTER this keyword will only ever add
datacenters (it keeps all previous datacenters unless explicitly overridden)

Patch by Joseph Lynch; reviewed by Jon Haddad for CASSANDRA-14303
2018-12-05 11:30:55 -08:00
Ariel Weisberg 1c8d0ad333 In mixed 3.x/4 version clusters write tracing and repair history information without new columns
Patch by Ariel Weisberg; Reviewed by Jason Brown for CASSANDRA-14897
2018-11-29 13:16:36 -05:00
Ariel Weisberg caf50de31b Lower default chunk_length_in_kb from 64kb to 16kb
Patch by Ariel Weisberg; Reviewed by Jon Haddad for CASSANDRA-13241
2018-11-12 16:03:16 -05:00
Joseph Lynch 801cb70ee8 Startup checker should wait for count rather than percentage
This improves on the wait for healthy work from CASSANDRA-13993 to
solve CASSANDRA-14297. In particular now the connectivity checker waits
for all but a single node in either the local datacenter or every
datacenter (defaults to just local, but the user can configure it to
wait for every datacenter). This way users can use this feature to ensure
availability of their application during restarts of Cassandra. The default
behavior waits for all but a single local datacenter node.

Patch by Joseph Lynch; Reviewed by Ariel Weisberg for CASSANDRA-14297
2018-11-12 12:41:17 -05:00
Joseph Lynch bfbc5274f2 Partitioned outbound internode TCP connections can occur when nodes restart
Patch by Joseph Lynch; Reviewed by Ariel Weisberg for CASSANDRA-14358
2018-11-01 17:35:23 -04:00
Ariel Weisberg 877b08eaf0 Don't write to system_distributed.repair_history, system_traces.sessions, system_traces.events in mixed version 3.X/4.0 clusters
Patch by Ariel Weisberg; Reviewed by Dinesh Joshi for CASSANDRA-14841
2018-11-01 12:12:34 -04: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
Benedict Elliott Smith e225c88a65 Cell reconciliation should not depend on nowInSec
patch by Benedict; reviewed by Aleksey for CASSANDRA-14592
2018-08-23 14:14:07 +01:00
Aleksey Yeshchenko 76c1b55570 Merge branch 'cassandra-3.11' into trunk 2018-08-16 15:47:09 +01:00
Aleksey Yeshchenko 65a46820bb Merge branch 'cassandra-3.0' into cassandra-3.11 2018-08-16 15:44:12 +01: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
Dinesh A. Joshi 47a12c52a3 Stream entire SSTables when possible
patch by Dinesh Joshi; reviewed by Aleksey Yeschenko and Ariel Weisberg
for CASSANDRA-14566
2018-07-27 17:50:25 +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
Michael Shuler aed1b5fdf1 Update version to 3.11.3 2018-07-02 13:37:32 -05:00
Marcus Eriksson d52bdaefda Make it possible to set the max/min compaction thresholds
Patch by Marcus Eriksson, reviewed by Alex Petrov for CASSANDRA-14388
2018-06-19 17:36:54 +02:00
Vinay Chella f56871b88b Audit logging for database activity
patch by Vinay Chella; reviewed by jasobrown for CASSANDRA-12151
2018-05-11 05:44:16 -07:00
Marcus Eriksson d14a9266c7 Automatic sstable upgrades
Patch by marcuse; reviewed by Ariel Weisberg for CASSANDRA-14197
2018-05-09 08:17:33 +02:00
Blake Eggleston 54de771e64 Add network authz
Patch by Blake Eggleston; Reviewed by Sam Tunnicliffe for CASSANDRA-13985
2018-04-23 09:55:31 -07:00
Marcus Eriksson 127cfff26b Add ability to load new SSTables from a separate directory
Patch by marcuse; reviewed by Jordan West for CASSANDRA-6719
2018-04-18 14:59:00 +02:00
Aleksey Yeshchenko 2fcd29b830 Eliminate background repair and probablistic read_repair_chance table options
patch by Aleksey Yeschenko; reviewed by Blake Eggleston for
CASSANDRA-13910
2018-04-18 11:41:17 +01:00
Aleksey Yeshchenko 35823fcefd Merge branch 'cassandra-3.0' into cassandra-3.11 2018-04-18 11:31: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
Gregory Ramsperger fd44a69fce Use standard Amazon naming for datacenter and rack in Ec2Snitch.
patch by Gregory Ramsperger and jasobrown; reviewed by Joey Lynch for CASSANDRA-7839
2018-04-16 17:59:06 -07:00
Patrick Bannister c90b0d62bc sort and limit output with nodetool tablestats
Patch by Patrick Bannister, reviewed by Jon Haddad for CASSANDRA-13889
2018-04-10 17:44:15 -07:00
Sumanth Pasupuleti d38694afe2 Add coordinator write metric per CF
patch by Sumanth Pasupuleti; reviewed by Jay Zhuang and jasobrown for CASSANDRA-14232
2018-03-28 12:55:49 -07:00
Mick Semb Wever 171222ce05
Merge branch 'cassandra-3.0' into cassandra-3.11 2018-03-12 19:34:22 +11:00
Mick Semb Wever c8718d4974
Merge branch 'cassandra-3.11' into trunk 2018-03-12 19:33:47 +11:00
Mick Semb Wever 9b022b8b55
Merge branch 'cassandra-3.0' into cassandra-3.11 2018-03-12 19:25:35 +11: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 4b4c05e0de Merge branch 'cassandra-3.11' into trunk 2018-03-06 11:24:14 -03:00
Paulo Motta a060698c55 Merge branch 'cassandra-3.0' into cassandra-3.11 2018-03-06 11:15:15 -03: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 630c18eb38 Merge branch 'cassandra-3.0' into cassandra-3.11 2018-02-14 13:36:30 -05: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 6034c268c3 Merge branch 'cassandra-3.11' into trunk 2018-02-10 15:03:59 -02:00
Paulo Motta 0a6b6f506b Merge branch 'cassandra-3.0' into cassandra-3.11 2018-02-10 14:59:28 -02: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
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
Jon Haddad 45c7c45616 Updated NEWS.txt with details on change to nodetool snapshot. 2018-01-08 15:19:37 -08:00
Robert Stupp e646e5032b Prevent continuous schema exchange between 3.0 to 3.11 nodes
patch by Robert Stupp; reviewed by Andrés de la Peña for CASSANDRA-14109
2017-12-13 13:58:53 +01:00
Benjamin Lerer 17e602b7d2 Merge branch cassandra-3.11 into trunk 2017-12-12 10:52:23 +01:00
Benjamin Lerer a7c45be936 Merge branch cassandra-3.0 into cassandra-3.11 2017-12-12 10:42:50 +01: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
Kevin Wern 9110c08f47 Allow sstabledump to do a json object per partition
Patch by Kevin Wern; Reviewed by Jeff Jirsa for CASSANDRA-13848
2017-12-07 16:18:53 -08:00
Marcus Eriksson cb56d9fc3c Add option to optimize Merkle tree comparison across replicas
Patch by marcuse; reviewed by Blake Eggleston for CASSANDRA-3200
2017-12-07 13:55:56 +01: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
Yuji Ito f3f90c1896 Add GroupCommitLogService
patch by Yuji Ito and jasobrown; reviewed by Ariel Weisberg for CASSANDRA-13530
2017-12-01 13:12:20 -08:00
Andrés de la Peña 4c80eeece3 Parallelize initial materialized view build
patch by Andres de la Peña; reviewed by Paulo Motta for CASSANDRA-12245
2017-12-01 14:58:12 +01: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 38bd20e051 Merge branch 'cassandra-3.11' into trunk 2017-11-06 16:38:30 +01:00
Alex Petrov 6d429cd031 Merge branch 'cassandra-3.0' into cassandra-3.11 2017-11-06 15:52:31 +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
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
Blake Eggleston 569c6abcfa Merge branch 'cassandra-3.11' into trunk 2017-10-26 14:06:24 -07:00
Blake Eggleston ea443dfe3e Merge branch 'cassandra-3.0' into cassandra-3.11 2017-10-26 14:03:33 -07: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 aee02e4854 Update version to 3.11.2 2017-10-10 17:19:20 -05: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
Paulo Motta 65f7216c64 Merge branch 'cassandra-3.11' into trunk 2017-09-05 02:47:36 -05:00
Paulo Motta 2b29f8a785 ninja: fix NEWS.txt for CASSANDRA-11500 2017-09-05 02:45:02 -05:00
Paulo Motta e6fb830284 Merge branch 'cassandra-3.11' into trunk 2017-09-05 01:06:24 -05:00
Paulo Motta e624c66382 Merge branch 'cassandra-3.0' into cassandra-3.11 2017-09-05 01:05:06 -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
Paulo Motta adf025bd46 Merge branch 'cassandra-3.11' into trunk 2017-08-31 05:18:46 -05:00
Zhao Yang 425880ffb2 Revert CASSANDRA-10368 of support non-pk base column filtering on MV due to correctness
Patch by Zhao Yang; Reviewed by Paulo Motta for CASSANDRA-13798
2017-08-31 05:14:05 -05:00
Josh McKenzie e9da85723a Make CDC availability more deterministic via hard-linking
Patch by jmckenzie; reviewed by blambov for CASSANDRA-12148
2017-08-24 13:24:00 -04:00
Jason Brown d2dcd7f884 force minumum timeout value
patch by Varun Barala; reviewed by jasobrown for CASSANDRA-9375
2017-08-23 15:08:11 -07:00
Stefan Podkowinski 457733bd54 Merge branch 'cassandra-3.11' into trunk 2017-08-03 12:53:40 +02:00
Joel Knighton 77aba07daf Increment version to 2.1.19 2017-07-24 13:21:16 -05:00
Michael Shuler 24389f4809 Increment to version 3.11.1 2017-06-26 18:56:43 -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
Jeff Jirsa 57a03017c1 Upgrade snappy-java to 1.1.2.6
Patch by Jeff Jirsa; Reviewed by Jason Brown for CASSANDRA-13336
2017-06-19 15:42:30 -07:00
Alex Petrov 2a0890d0fc Merge branch 'cassandra-3.0' into cassandra-3.11 2017-06-15 19:35:07 +02: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
Sylvain Lebresne 4ebab66163 Allow selecting Map values and Set elements
patch and review by Robert Stupp, Sylvain Lebresne and Benjamin Lerer for CASSANDRA-7396
2017-06-01 16:57:13 +02:00
Benjamin Lerer 96899bbb60 Merge branch cassandra-3.11 into trunk 2017-06-01 10:22:54 +02:00
Benjamin Lerer 5c9db9af96 Merge branch cassandra-3.0 into cassandra-3.11 2017-06-01 10:17:09 +02:00
Blake Eggleston 4cfaf855c4 Add repair streaming preview
Patch by Blake Eggleston; Reviewed by Marcus Eriksson for CASSANDRA-13257
2017-04-24 09:21:33 -07:00
Michael Shuler 71d4f66d72 Add 3.0.14 NEWS and CHANGES 2017-04-14 20:06:18 -05:00
Yuki Morishita cc26c8304b Remove deprecated repair API
patch by yukim; reviewed by Paulo Motta for CASSANDRA-11530
2017-04-03 10:44:25 +09:00
Benjamin Lerer 91c5f4c28d Merge branch 'cassandra-3.11' into trunk 2017-03-28 16:39:40 +02:00
Benjamin Lerer 689484b258 Merge branch cassandra-3.0 into cassandra-3.11 2017-03-28 16:20:10 +02: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
Robert Stupp a04776173a Merge branch 'cassandra-3.11' into trunk 2017-03-28 09:47:27 +02:00
Benjamin Lerer f3cd28d859 Add the currentTimestamp, currentDate, currentTime and currentTimeUUID functions
patch by Benjamin Lerer; reviewed by Alex Petrov for CASSANDRA-13132
2017-03-07 17:49:14 +01:00
Robert Stupp 46283cdc5b Consider removing Config.index_interval
patch by Robert Stupp; reviewed by Jason Brown for CASSANDRA-10671
2017-03-07 06:32:28 +01:00
Jeff Jirsa b300cc4d5f Merge branch 'cassandra-3.11' into trunk 2017-03-02 21:28:02 -08:00
Jeff Jirsa 10154272ed Merge branch 'cassandra-3.0' into cassandra-3.11 2017-03-02 21:26:34 -08: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
Paulo Motta 31eac784f1 Merge branch 'cassandra-3.11' into trunk 2017-02-15 10:53:21 -02:00
Paulo Motta ef9df6e053 Merge branch 'cassandra-3.0' into cassandra-3.11 2017-02-15 10:48:22 -02: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
Benjamin Lerer 0409abc26a Add support for + and - operations on dates
patch by Benjamin Lerer; reviewed by Alex Petrov for CASSANDRA-11936
2017-02-07 11:24:22 +01:00
Blake Eggleston 98d74ed998 Fix consistency of incrementally repaired data
patch by Blake Eggleston, reviewed by Marcus Eriksson for CASSANDRA-9143
2017-02-06 19:11:18 -08:00
Michael Shuler f71e7e1fed Increment version to 3.11.0 2017-02-03 18:27:02 -06:00