Ekaterina Dimitrova
07d97d7905
Merge branch 'cassandra-4.1' into trunk
2022-06-27 19:37:54 -04:00
Ekaterina Dimitrova
dcb4768345
nodetool clientstats columns should be under a separate flag - --config-options
...
patch by Ekaterina Dimitrova; reviewed by Brandon Williams for CASSANDRA-17715
2022-06-27 19:23:06 -04:00
Savni Nagarkar
39e89fd636
Add guardrail for maximum replication factor
...
Patch by Savni Nagarkar; reviewed by Andrés de la Peña, David Capwell and Josh McKenzie for CASSANDRA-17500
2022-06-23 15:53:33 +01:00
Yifan Cai
99d034a224
Option to disable CDC on SSTable repair
...
patch by Yifan Cai; reviewed by Josh McKenzie for CASSANDRA-17666
2022-06-07 11:30:49 -07:00
Ekaterina Dimitrova
ce4ae43a31
Merge branch 'cassandra-4.1' into trunk
2022-06-02 15:51:43 -04:00
Ekaterina Dimitrova
2eac2590bf
Revert removal of withBufferSizeInMB(int size) to CQLSSTableWriter.Builder and deprecate it in favor of withBufferSizeIniB(int size);update the docs
...
patch by Ekaterina Dimitrova; reviewed by Michael Semb Wever for CASSANDRA-17675
2022-06-02 15:31:23 -04:00
Josh McKenzie
14fbab15bd
Add guardrail to allow disabling SimpleStrategy
...
Patch by Josh McKenzie; reviewed by Aleksey Yeschenko for CASSANDRA-17647
2022-05-26 15:06:58 -04:00
Ekaterina Dimitrova
c0b175595d
Merge branch 'cassandra-4.1' into trunk
2022-05-20 14:36:46 -04:00
Ekaterina Dimitrova
a67a2a2441
Handle config parameters upper bound on startup; Fix auto_snapshot_ttl and paxos_purge_grace_period min unit validations
...
patch by Ekaterina Dimitrova and Andres de la Pena; reviewed by Andres de la Pena and Caleb Rackliffe for CASSANDRA-17571
Co-authored-by: Ekaterina Dimitrova <ekaterina.dimitrova@datastax.com>
Co-authored-by: Andrés de la Peña <a.penya.garcia@gmail.com>
2022-05-20 14:27:20 -04:00
Yifan Cai
26dd119679
Add new CQL function maxWritetime
...
patch by Yifan Cai; reviewed by Andres de la Peña, Francisco Guerrero for CASSANDRA-17425
2022-05-18 11:56:51 -07:00
Josh McKenzie
ce515a3d77
Add guardrail for ALTER TABLE ADD / DROP / REMOVE column operations
...
Patch by Josh McKenzie; reviewed by Jon Meredith for CASSANDRA-17495
2022-05-09 12:21:39 -04:00
Alex Sorokoumov
11bdf1bf80
Merge branch 'cassandra-4.1' into trunk
2022-05-09 10:58:07 +02:00
Alex Sorokoumov
9f3bc65727
Reject oversized mutations on client and internode connection
...
Patch by Alex Sorokoumov; reviewed by Andres de la Peña and Josh McKenzie for CASSANDRA-17456
2022-05-09 10:57:14 +02:00
Josh McKenzie
2f1c785910
Merge branch 'cassandra-4.1' into trunk
...
# Conflicts:
# CHANGES.txt
2022-05-06 11:50:48 -04:00
Josh McKenzie
030831c5f5
Rename truncate_drop guardrail to drop_truncate_table
...
Patch by Josh McKenzie; reviewed by Andres de la Pena for CASSANDRA-17592
2022-05-06 11:48:45 -04:00
Mick Semb Wever
413f1aed27
Create release branch cassandra-4.1, increment trunk version to 4.2
2022-05-01 23:22:08 +02:00
Branimir Lambov
e4e19e33fa
Add memtable API (CEP-11)
...
patch by Branimir Lambov; reviewed by Andrés de la Peña and Caleb Rackliffe for CASSANDRA-17034
2022-04-29 14:56:20 +03:00
Marcus Eriksson
7ce140bd1d
Fail starting when the same parameter exists more than once in cassandra.yaml
...
Patch by marcuse; reviewed by David Capwell and Ekaterina Dimitrova for CASSANDRA-17379
2022-04-29 10:31:20 +02:00
Savni Nagarkar
da7c662227
Migrate threshold for minimum keyspace replication factor to guardrails
...
patch by Savni Nagarkar; reviewed by Andres de la Peña, David Capwell for CASSANDRA-17212
2022-04-28 20:14:36 -07:00
Savni Nagarkar
f444c40286
Add guardrail to disallow querying with ALLOW FILTERING
...
patch by Savni Nagarkar; reviewed by Andres de la Peña, David Capwell and Josh McKenzie for CASSANDRA-17370
2022-04-26 18:26:17 +01:00
Marcus Eriksson
545809616c
Track top partitions by size and tombstone count
...
Patch by marcuse; reviewed by David Capwell and Yifan Cai for CASSANDRA-16310
2022-04-26 14:59:37 +02:00
Andrés de la Peña
b3842de5cf
Add guardrail for data disk usage
...
patch by Andrés de la Peña; reviewed by Ekaterina Dimitrova and Stefan Miklosovic for CASSANDRA-17150
Co-authored-by: Andrés de la Peña <a.penya.garcia@gmail.com>
Co-authored-by: Zhao Yang <jasonstack.zhao@gmail.com>
Co-authored-by: Eduard Tudenhoefner <etudenhoefner@gmail.com>
2022-04-22 16:36:07 +01:00
Benjamin Lerer
1ad8bf67a9
Allow to aggregate by time intervals
...
Patch by Benjamin Lerer; review by Andres De la Pena and Yifan Cai for CASSANDRA-11871
The patch allow to use pure monotonic functions on the last attribute of the GROUP BY clause and introduce some floor functions that can be use to group by time range.
A function is pure if:
1. The function return values are identical for identical arguments
2. The function application has no side effects
A function is monotonic if it is either entirely nonincreasing or nondecreasing.
2022-04-22 10:59:42 +02:00
David Capwell
7db3285e7b
Migrate track_warnings to more standard naming conventions and use latest configuration types rather than long
...
patch by David Capwell; reviewed by Andres de la Peña, Caleb Rackliffe for CASSANDRA-17560
2022-04-21 14:32:25 -07:00
Ekaterina Dimitrova
dac738d2eb
Transfer config parameters to the new types; Fix corner case for permissions_update_interval, roles_update_interval, credentials_update_interval;Fix typo in Config annotation; Made Converters type safe and fixed a few cases where converters used the wrong type; o should be provided with unit to DataStorageSpec and DurationStorageSpec; Fix null bug in DataStorageSpec and DurationSpec
...
patch by Ekaterina Dimitrova, David Capwell; reviewed by David Capwell and Caleb Rackliffe for CASSANDRA-17431
Co-authored-by: Ekaterina Dimitrova <ekaterina.dimitrova@datastax.com>
Co-authored-by: David Capwell <dcapwell@apache.org>
2022-04-20 10:20:30 -04:00
Josh McKenzie
10103d353c
Add required -f option to nodetool verify
...
Patch by Josh McKenzie; reviewed by Marcus Eriksson, Berenguer Blasi, and Caleb Rackliffe for CASSANDRA-17017
Co-authored by Josh McKenzie <jmckenzie@apache.org>
Co-authored by Chris Lohfink <clohfink@apple.com>
2022-03-24 11:54:16 -04:00
Jacek Lewandowski
0040fea379
Implement sstable generation identifier as uuid
...
Patch by Jacek Lewandowski; reviewed by Andrés de la Peña, Benjamin Lerer and Dan Jatnieks for CASSANDRA-17048
2022-03-23 11:50:33 +00:00
Bereng
30ad754d7e
Pre hashed passwords in CQL
...
patch by Robert Stupp and Berenguer Blasi; reviewed by Andres de la Peña for CASSANDRA-17334
Co-authored-by: Robert Stupp <snazy@snazy.de>
Co-authored-by: Berenguer Blasi <berenguerblasi@gmail.com>
2022-03-23 07:20:14 +01:00
Caleb Rackliffe
4ea3e4c505
Add native transport rate limiter options to example cassandra.yaml, and expose metric for dispatch rate
...
patch by Caleb Rackliffe; reviewed by Josh McKenzie for CASSANDRA-17423
2022-03-21 11:39:28 -05:00
Bereng
2f84f492a2
Revert "Pre hashed passwords in CQL"
...
This reverts commit 6946b304e9 .
2022-03-21 13:19:31 +01:00
Bereng
6946b304e9
Pre hashed passwords in CQL
...
patch by Berenguer Blasi; reviewed by Andres de la Peña for CASSANDRA-17334
2022-03-21 11:18:05 +01:00
Ekaterina Dimitrova
d67be0def4
Add docs about configuration framework added in CASSANDRA-15234
...
patch by Ekaterina Dimitrova; reviewed by Michael Semb Wever and Caleb Rackliffe for CASSANDRA-17246
2022-03-18 14:33:19 -04:00
Benedict Elliott Smith
d2923275e3
CEP-14: Paxos Improvements
...
This work encompasses a range of improvements to Paxos, summarised as:
- The introduction of Paxos Repair for ensuring consistency during range movements
- The reduction of network round-trips by a factor of 2x for reads and writes
patch by Benedict Elliott Smith and Blake Eggleston; reviewed by Alex Petrov, Aleksey Yeschenko and Sam Tunnicliffe for CASSANDRA-17164
2022-03-10 16:30:12 +00:00
Tibor Répási
537d02d25f
Expose all client options via system_views.clients and nodetool clientstats
...
patch by Tibor Repasi reviewed by Benjamin Lerer, Berenguer Blasi, Ekaterina Dimitrova for CASSANDRA-16378
2022-03-08 11:12:37 +01:00
Stefan Miklosovic
ae50cbd1ad
deprecate property windows_timer_interval
...
patch by Stefan Miklosovic; reviewed by Ekaterina Dimitrova and Berenguer Blasi for CASSANDRA-17404
2022-03-08 08:27:18 +01:00
Yifan Cai
b83da7d978
Correct size unit to mebibypes
2022-02-25 14:38:43 -08:00
Ekaterina Dimitrova
12e2c159f8
Forward port from cassandra-4.0(CASSANDRA-17377) - deprecation of otc_coalescing_strategy, otc_coalescing_window_us, otc_coalescing_enough_coalesced_messages, otc_backlog_expiration_interval_ms
...
patch by Ekaterina Dimitrova; reviewed by David Capwell for CASSANDRA-17378
2022-02-25 12:42:37 -05:00
Ekaterina Dimitrova
769f6b3122
Merge branch 'cassandra-4.0' into trunk
2022-02-25 11:54:34 -05: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
f5f804527e
Merge branch 'cassandra-4.0' into trunk
2022-02-18 11:19:54 +01: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
Manish Ghildiyal
5cf62c6c02
Add support for string concatenations through the + operator
...
Patch by Manish Ghildiyal; review by Benjamin Lerer, Berenguer Blassi,
Brandon Williams for CASSANDRA-17190
2022-02-11 15:39:06 +01:00
Yifan Cai
3a6f690731
Limit the maximum hints size per host
...
patch by Yifan Cai; reviewed by Dinesh Joshi, Francisco Guerrero for CASSANDRA-17142
2022-02-10 17:18:29 -08:00
Ekaterina Dimitrova
db9f7a67ec
Add new custom types and unit tests for configuration
...
patch by Ekaterina Dimitrova; reviewed by Caleb Rackliffe, David Capwell, Michael Semb Wever and Benjamin Lerer for CASSANDRA-15234
2022-02-05 22:27:03 -05:00
Andrés de la Peña
ecfe7e809b
Merge branch 'cassandra-4.0' into trunk
2022-01-26 11:50:33 +00: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
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