Benedict Elliott Smith
018c8e0d5e
Optimise BTree build, update and transform operations
...
Patch Benedict Elliott Smith; reviewed by Branimir Lambov and Benjamin Lerer for CASSANDRA-15510
2022-04-22 19:27:19 +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
Tibor Répási
c26dc06a28
add datapaths subcommand to nodetool
...
patch by Tibor Repasi; reviewed by Stefan Miklosovic and Brandon Williams for CASSANDRA-17568
2022-04-22 14:48:37 +02: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
ROCHETEAU Antoine
d80bb323c9
CONTAINS and CONTAINS KEY support for Lightweight Transactions
...
patch by ROCHETEAU Antoine; reviewed by Benjamin Lerer, Berenguer Blasi for CASSANDRA-10537
2022-04-21 09:16:07 +02: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
Ekaterina Dimitrova
03ef67c9d5
Merge branch 'cassandra-4.0' into trunk
2022-04-17 14:39:19 -04:00
Ekaterina Dimitrova
a46e467737
Merge branch 'cassandra-3.11' into cassandra-4.0
2022-04-17 14:29:18 -04:00
Ekaterina Dimitrova
eeb89ea53b
Merge branch 'cassandra-3.0' into cassandra-3.11
2022-04-17 14:22:57 -04:00
Ekaterina Dimitrova
fb66800a00
Fix data corruption in AbstractCompositeType due to static boolean byte buffers
...
patch by Stefania Alborghetti and Marcus Eriksson; reviewed by Marcus Eriksson, Benjamin Lerer and Ekaterina Dimitrova for CASSANDRA-14752
Co-authored-by: Stefania Alborghetti <stefania.alborghetti@datastax.com>
Co-authored-by: Marcuse Eriksson <marcuse@apache.orgp>
2022-04-17 14:02:49 -04:00
Stefan Miklosovic
74bb6d8496
Shutdown ScheduledExecutors as part of node drainage
...
patch by Stefan Miklosovic; reviewed by Jon Meredith for CASSANDRA-17493
2022-04-13 22:18:28 +02:00
Josh McKenzie
47cac5c49b
Provide JMX endpoint to allow transient logging of blocking read repairs
...
Patch by Josh McKenzie; reviewed by David Capwell for CASSANDRA-17471
Co-authored-by: Aleksey Yeschenko <aleksey@apache.org>
Co-aurhoted-by: Josh McKenzie <jmckenzie@apache.org>
2022-04-13 11:11:55 -04:00
Josh McKenzie
72af1f75fc
Add guardrail for GROUP BY queries
...
Patch by Josh McKenzie; reviewed by David Capwell and Andres de la Pena for CASSANDRA-17509
2022-04-13 11:04:08 -04:00
Savni Nagarkar
20175bf77e
Remove guardrails global enable flag
...
patch by Savni Nagarkar; reviewed by Andrés de la Peña and Joshua McKenzie for CASSANDRA-17499
2022-04-12 11:28:55 +01:00
Jon Meredith
e3b3a59c6c
Merge branch 'cassandra-4.0' into trunk
2022-04-08 14:41:36 -06:00
Jon Meredith
ce6a65cb29
Clean up schema migration coordinator and tests
...
patch by Jon Meredith; reviewed by David Capwell for CASSANDRA-17533
2022-04-08 14:39:33 -06:00
David Capwell
2fde9af74f
Clients using JMX are unable to handle non-standard java types but we leak this into our interfaces
...
patch by David Capwell; reviewed by Alex Petrov, Andres de la Peña for CASSANDRA-17527
2022-04-08 13:22:20 -07:00
Caleb Rackliffe
af90c36340
Reduce histogram snapshot long[] allocation overhead during speculative read and write threshold updates
...
patch by Caleb Rackliffe; reviewed by Josh McKenzie for CASSANDRA-17523
2022-04-07 15:33:31 -05:00
Josh McKenzie
910bbb9b5f
Add guardrail to disallow creation of secondary indexes
...
Patch by Josh McKenzie; reviewed by Chris Lohfink for CASSANDRA-17498
2022-04-07 15:53:23 -04:00
Josh McKenzie
105d69fdc5
Add guardrail to disallow creation of uncompressed sstables
...
Patch by Josh McKenzie; reviewed by David Capwell for CASSANDRA-17504
2022-04-07 15:33:34 -04:00
Josh McKenzie
01c4404fff
Add guardrail to disallow creation of new COMPACT STORAGE tables
...
Patch by Josh McKenzie; reviewed by Caleb Rackliffe for CASSANDRA-17522
2022-04-07 14:08:47 -04:00
David Capwell
828d98e9d7
repair vtables should expose a completed field due to lack of filtering options in CQL
...
patch by David Capwell; reviewed by Chris Lohfink, Zhao Yang for CASSANDRA-17520
2022-04-06 13:12:08 -07:00
Jogesh Anand
e137c7c34c
Add support for IF EXISTS and IF NOT EXISTS in ALTER statements
...
patch by Jogesh Anand; reviewed by Benjamin Lerer, Berenguer Blasi for CASSANDRA-16916
2022-04-04 11:35:16 +02:00
Jon Meredith
fa7185ef02
Streaming sessions longer than 3 minutes fail with timeout
...
patch by Jon Meredith; reviewed by Benedict Elliott Smith, Caleb Rackliffe for CASSANDRA-17510
2022-04-01 17:01:50 -06:00
David Capwell
ffa1e9cf5a
Add ability to track state in repair
...
patch by David Capwell; reviewed by Zhao Yang for CASSANDRA-15399
2022-04-01 10:11:42 -07:00
Brandon Williams
f32d2b06de
Upgrade slf4j to 1.7.25
...
Patch by brandonwilliams; reviewed by bereng for CASSANDRA-17474
2022-03-31 07:21:25 -05:00
Caleb Rackliffe
57ab3afcf1
reduce hot-path object allocations required to record local/remote requests against the client request metrics
...
patch by Caleb Rackliffe; reviewed by Jon Meredith for CASSANDRA-17424
Co-authored-by: Marcus Eriksson <marcuse@apache.org>
Co-authored-by: Caleb Rackliffe <calebrackliffe@gmail.com>
2022-03-29 11:55:55 -05:00
Caleb Rackliffe
7b58b79fe2
Merge branch 'cassandra-4.0' into trunk
2022-03-28 15:40:17 -05:00
Caleb Rackliffe
0089858819
Shut repair task executor down without interruption to avoid compromising shared channel proxies
...
patch by Caleb Rackliffe; reviewed by David Capwell, Marcus Eriksson, and Josh McKenzie for CASSANDRA-17466
2022-03-28 15:30:53 -05:00
Josh McKenzie
3d9365096b
Disallow removal of a DC from system_auth replication settings
...
Patch by Josh McKenzie; reviewed by Jon Meredith for CASSANDRA-17478
Co-authored-by: Josh McKenzie <jmckenzie@apache.org>
Co-authored-by: Nachiket Patil <nachiket_patil@apple.com>
2022-03-28 14:01:35 -04:00
Andrés de la Peña
8a3b9260a9
Add guardrail for the number of fields per UDT
...
patch by Andrés de la Peña; reviewed by Ekaterina Dimitrova for CASSANDRA-17385
2022-03-28 17:50:15 +01:00
Stefan Miklosovic
7c1ed6c409
Merge branch 'cassandra-4.0' into trunk
2022-03-28 14:27:08 +02:00
Yash Ladha
d0458abdb3
generate valid KEYSPACE / MATERIALIZED VIEW for CQL for views
...
patch by Yash Ladha; reviewed by Benjamin Lerer for CASSANDRA-17266
Co-authored-by: Stefan Miklosovic <smiklosovic@apache.org>
2022-03-26 10:16:48 +01: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
Brandon Williams
a64e218d0f
Merge branch 'cassandra-4.0' into trunk
2022-03-23 09:22:47 -05:00
Brandon Williams
4f5feac0df
Fix timestamp tz parsing
...
Patch by brandonwilliams; reviewed by bereng for CASSANDRA-17467
2022-03-23 09:21:38 -05: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
Josh McKenzie
fbd6b04791
Log largest memtable on flush at info rather than debug
...
Patch by Josh McKenzie; reviewed by Brandon Williams for CASSANDRA-17472
2022-03-22 15:18:44 -04: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
Andrés de la Peña
143a5e8b06
Add diagnostic events for guardrails
...
patch by Andrés de la Peña; reviewed by Berenguer Blasi and Stefan Miklosovic for CASSANDRA-17197
Co-authored-by: Andrés de la Peña <a.penya.garcia@gmail.com>
Co-authored-by: Aleksandr Sorokoumov <aleksandr.sorokoumov@gmail.com>
2022-03-21 15:52:25 +00: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
Stefan Miklosovic
8714f92685
Merge branch 'cassandra-4.0' into trunk
2022-03-20 16:06:35 +01:00
Stefan Miklosovic
d48df9169d
make sstableloader honour native port option
...
patch by Stefan Miklosovic; reviewed by Brandon Williams for CASSANDRA-17210
2022-03-20 15:24:33 +01:00
Jon Meredith
e417fea126
Merge branch 'cassandra-4.0' into trunk
2022-03-19 08:05:52 -06:00
Jon Meredith
f8be6ea60c
Merge branch 'cassandra-3.11' into cassandra-4.0
2022-03-19 08:03:34 -06:00
Jon Meredith
311e26bf05
Merge branch 'cassandra-3.0' into cassandra-3.11
2022-03-19 08:02:15 -06:00
Jon Meredith
647ec92db1
ConnectionLimitHandler may leaks connection count if remote connection drops
...
patch by Jon Meredith; reviewed by Caleb Rackliffe for CASSANDRA-17252
2022-03-19 08:00:58 -06:00
Benjamin Lerer
34a7eba4b8
Merge branch cassandra-4.0 into trunk
2022-03-18 15:08:15 +01:00
cclive1601
e773bbd9c6
Reject snapshot names with special character
...
Patch by Maxwell Guo, Saranya Krishnakumar and Francisco Guerrero; review
by Benjamin Lerer, Chris Lohfink, Stefan Miklosovic for CASSANDRA-15297
This commit also adds unit tests for the snapshot nodetool command.
Co-authored-by: Saranya Krishnakumar <saranya_k@apple.com>
Co-authored-by: Francisco Guerrero <francisco.guerrero@apple.com>
2022-03-18 15:00:24 +01:00
Doug Rohrer
f1c1694e43
Support DELETE in CQLSSTableWriter
...
patch by Doug Rohrer, Eric Evans; reviewed by Sam Tunnicliffe, Yifan Cai for CASSANDRA-14797
2022-03-17 13:25:00 -07:00
Jon Meredith
431c692b88
Failed inbound internode authentication failures generate ugly warning with stack trace
...
patch by Jon Meredith; reviewed by David Capwell for CASSANDRA-17068
2022-03-16 15:41:27 -06:00
Maciej Sokol
f7009cf340
emit warning on keyspace creation when replication factor is bigger than the number of nodes
...
patch by Maciej Sokol; reviewed by Brandon Williams and Stefan Miklosovic for CASSANDRA-16747
2022-03-16 21:42:50 +01:00
Francisco Guerrero
61be4d8362
expose gossip information in system_views.gossip_info virtual table
...
patch by Francisco Guerrero; reviewed by Stefan Miklosovic and Yifan Cai for CASSANDRA-17002
This commit adds a new virtual table that exposes the gossip information in tabular format.
The information is the same as the information presented through the `nodetool gossipinfo`
command, but the virtual table splits the version and value from `VersionedValue` into two
different columns. This is intented to help clients reading the vtable without the need of
parsing the version:value information (as it currently stands in gossipinfo).
The token value does not have a column. This is consistent with the gossipinfo output which
always renders ":<hidden>" for the Token value. Only the token_version column is available.
2022-03-16 01:41:10 +01:00
Andrés de la Peña
935bcf1e87
Add guardrails for collection items and size
...
patch by Andrés de la Peña; reviewed by Berenguer Blasi for CASSANDRA-17153
2022-03-15 13:31:41 +00:00
Jacek Lewandowski
56ec75cc65
Fix file overwriting in PathUtils
...
Patch by Jacek Lewandowski, reviewed by Benedict for CASSANDRA-17439
2022-03-15 10:58:26 +00:00
Paulo Motta
951645a1fc
Merge branch 'cassandra-4.0' into trunk
2022-03-14 17:25:04 -03:00
Paulo Motta
5f50c797bc
Merge branch 'cassandra-3.11' into cassandra-4.0
2022-03-14 17:18:21 -03:00
Paulo Motta
95a6223057
Fix snapshot true size calculation
...
Patch by Paulo Motta; Reviewed by Brandon Williams and Benjamin Lerer for CASSANDRA-17267
2022-03-14 17:17:37 -03:00
Andrés de la Peña
0ecd48001f
Improve guardrails messages
...
Guardrail messages include a specific mention of the guardrail framework and the name of the violated guardrail,
so users know what is producing the wanrning or failure. Also, guardrails throw their own type of exception.
patch by Andrés de la Peña; reviewed by Josh McKenzie for CASSANDRA-17430
2022-03-14 17:05:18 +00:00
Andrés de la Peña
a41040ccdc
Add guardrails for read/write consistency levels
...
patch by Andrés de la Peña; reviewed by Caleb Rackliffe for CASSANDRA-17188
Co-authored-by: Andrés de la Peña <a.penya.garcia@gmail.com>
Co-authored-by: Aleksandr Sorokoumov <aleksandr.sorokoumov@gmail.com>
2022-03-11 15:36:39 +00:00
Jacek Lewandowski
2b2c6decfa
Refactor schema management to allow for schema source pluggability
...
Patch by Jacek Lewandowski, reviewed by Alex Petrov for CASSANDRA-17044.
2022-03-11 11:03:43 +01: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
Benedict Elliott Smith
8960b4d851
[CASSANDRA-17177] List Appends Are Not Linearizable
2022-03-10 16:30:12 +00:00
Benedict Elliott Smith
5a0d6154d1
[CASSANDRA-17176] Introduce TimeUUID
...
patch by Benedict; reviewed by Blake Eggleston for CASSANDRA-17176
2022-03-10 16:30:12 +00:00
Andrés de la Peña
eb960b1917
Merge branch 'cassandra-4.0' into trunk
2022-03-10 13:28:47 +00:00
Andrés de la Peña
bdeafa0b79
Merge branch 'cassandra-3.11' into cassandra-4.0
2022-03-10 13:18:55 +00:00
Andrés de la Peña
fcdb3d154e
Merge branch 'cassandra-3.0' into cassandra-3.11
2022-03-10 13:08:38 +00:00
Maciej Sokol
c52b5ab95c
Disallow CONTAINS for UPDATE and DELETE
...
patch by Maciej Sokol; reviewed by Andres de la Peña and Benjamin Lerer for CASSANDRA-15266
2022-03-10 13:05:42 +00:00
Marcus Eriksson
60675cc275
Remove and ban use of Instant.now
...
Patch by marcuse; reviewed by Benedict Elliott Smith for CASSANDRA-17414
2022-03-09 10:57:50 +01:00
Brandon Williams
ca218cc012
Merge branch 'cassandra-4.0' into trunk
2022-03-08 17:23:30 -06:00
Brandon Williams
04c1289bb9
Merge branch 'cassandra-3.11' into cassandra-4.0
2022-03-08 17:20:50 -06:00
Jan Karlsson
b18a9f0337
Validate existence of DCs when repairing
...
Patch by Jan Karlsson; reviewed by bereng and brandonwilliams for
CASSANDRA-17407
2022-03-08 17:19:31 -06:00
Stefan Miklosovic
67b14e47c3
Merge branch 'cassandra-3.0' into cassandra-3.11
2022-03-08 21:45:56 +01:00
Stefan Miklosovic
4a15c5ad5a
filter out NULL_VERSION entries from peers table in ConfiguredLimit
...
patch by Stefan Miklosovic; reviewed by Brandon Williams and Sam Tunnicliffe for CASSANDRA-16518
2022-03-08 18:10:51 +01:00
Stefan Miklosovic
8def4fd7fb
dropping of a materialized view creates a snapshot with dropped- prefix
...
patch by Stefan Miklosovic; reviewed by Paulo Motta for CASSANDRA-17415
2022-03-08 14:46:10 +01:00
Andrés de la Peña
3233c82311
Add guardrail for SELECT IN terms and their cartesian product
...
patch by Andrés de la Peña; reviewed by Ekaterina Dimitrova for CASSANDRA-17187
Co-authored-by: Aleksandr Sorokoumov <aleksandr.sorokoumov@gmail.com>
Co-authored-by: Andrés de la Peña <a.penya.garcia@gmail.com>
2022-03-08 11:08:29 +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
Andrés de la Peña
0d8126dd14
Merge branch 'cassandra-4.0' into trunk
2022-03-07 16:30:02 +00:00
jacek-lewandowski
a690f339ab
Fix ObjectSizes implementation and usages
...
patch by Jacek Lewandowski; reviewed by Andrés de la Peña and Branimir Lambov for CASSANDRA-17402
2022-03-07 16:22:30 +00:00
Yifan Cai
df9586da33
Merge branch 'cassandra-4.0' into trunk
2022-03-04 10:45:23 -08:00
Bernardo Botella Corbi
fd5e2ad74e
Fix race condition bug during local session repair
...
patch by Bernardo Botella Corbi; reviewed by Berenguer Blasi, Yifan Cai for CASSANDRA-17335
2022-03-04 10:43:43 -08:00
Brandon Williams
754fc5d075
Fix bad merge one last time.
2022-03-02 13:35:00 -06:00
Dmitry Potepalov
a8bbd22d37
Fix ignored streaming encryption settings in sstableloader
...
Patch by Dmitry Potepalov; reviewed by bereng and brandonwilliams for
CASSANDRA-17367
Encryption settings were silently lost in BulkLoadConnectionFactory.
Forced the bulk loader test to do some actual streaming besides just
handshaking on the native port, the test does not pass without the
change in BulkLoadConnectionFactory.
2022-03-02 08:00:40 -06:00
Dmitry Potepalov
0e249fd15e
Fix ignored streaming encryption settings in sstableloader
...
Patch by Dmitry Potepalov; reviewed by bereng and brandonwilliams for
CASSANDRA-17367
Encryption settings were silently lost in BulkLoadConnectionFactory.
Forced the bulk loader test to do some actual streaming besides just
handshaking on the native port, the test does not pass without the
change in BulkLoadConnectionFactory.
2022-03-02 07:45:13 -06:00
David Capwell
e87a1e0c0a
Expose streaming as a vtable
...
patch by David Capwell; reviewed by Dinesh Joshi, Paulo Motta for CASSANDRA-17390
2022-03-01 14:33:21 -08:00
Bereng
e780b5a45b
Error out on noop GRANT/REVOKE
...
patch by Berenguer Blasi; reviewed by Andres de la Peña for CASSANDRA-17333
2022-02-28 07:17:37 +01:00
Stefan Miklosovic
eac9d92562
make startup checks configurable
...
patch by Stefan Miklosovic; reviewed by Paulo Motta for CASSANDRA-17220
2022-02-28 00:36:53 +01:00
Yifan Cai
b83da7d978
Correct size unit to mebibypes
2022-02-25 14:38:43 -08:00
Ekaterina Dimitrova
75bea27e5e
Merge branch 'cassandra-4.0' into trunk
2022-02-25 16:05:23 -05:00
Aleksandr Sorokoumov
a8b67e3dd9
Streaming tasks handle empty SSTables correctly
...
patch by Aleksandr Sorokoumov; reviewed by Marcus Eriksson and Zhao Yang for CASSANDRA-16349
2022-02-25 15:45:45 -05:00
Serban Teodorescu
193d4ef3a7
Prevent SSTableLoader from doing unnecessary work
...
patch by Serban Teodorescu; reviewed by Aleksandr Sorokoumov, Marcus Eriksson and Zhao Yang for CASSANDRA-16349
2022-02-25 15:45:33 -05: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
65fcc79b62
Revert removal of deprecated max_streaming_retries into Config, revert name change to user_defined_function_warn_timeout and user_defined_function_fail_timeout
...
patch by Ekaterina Dimitrova; reviewed by David Capwell for CASSANDRA-17378
2022-02-25 12:39:44 -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
tejavadali
7ea0a4aa41
Add guardrail for number of partition keys on IN queries
...
patch by Krishna Vadali; reviewed by Andrés de la Peña and Berenguer Blasi for CASSANDRA-17186
2022-02-23 12:47:27 +00:00
Marcus Eriksson
c69e37eca7
Merge branch 'cassandra-4.0' into trunk
2022-02-17 10:39:33 +01:00
Marcus Eriksson
702824a99d
Merge branch 'cassandra-3.11' into cassandra-4.0
2022-02-17 10:36:54 +01:00
Marcus Eriksson
e53ad64612
Merge branch 'cassandra-3.0' into cassandra-3.11
2022-02-17 10:30:27 +01:00
Marcus Eriksson
b58a5c86e8
LeveledCompactionStrategy disk space check improvements
...
Patch by marcuse; reviewed by Caleb Rackliffe for CASSANDRA-17272
2022-02-17 10:25:43 +01:00
Yifan Cai
8327744c1a
Fix improper CDC commit log segments deletion in non-blocking mode
...
patch by Yifan Cai; reviewed by Josh McKenzie for CASSANDRA-17233
2022-02-16 22:56:18 -08:00
Marcus Eriksson
e56bf105a1
Merge branch 'cassandra-4.0' into trunk
2022-02-16 11:09:55 +01:00
Marcus Eriksson
2687cf1edf
Merge branch 'cassandra-3.11' into cassandra-4.0
2022-02-16 11:08:20 +01:00
Marcus Eriksson
eeec360e75
Merge branch 'cassandra-3.0' into cassandra-3.11
2022-02-16 10:14:41 +01:00
Marcus Eriksson
85c202d8a8
Lazy transaction log replica creation allows incorrect replica content divergence during anticompaction
...
Patch by marcuse; reviewed by Caleb Rackliffe for CASSANDRA-17273
2022-02-16 10:12:14 +01:00
Alex Petrov
81922c5a7b
Intoduce Harry to the tree
...
Patch by Alex Petrov; reviewed by Caleb Rackliffe and Abe Ratnofsky for CASSANDRA-16262.
2022-02-16 09:00:36 +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
Marcus Eriksson
9649cb1358
Merge branch 'cassandra-4.0' into trunk
2022-02-11 14:09:50 +01:00
Paul Chandler
c60ad61b3b
Improve start up processing of Incremental Repair information read from system.repairs
...
Patch by Paul Chandler, reviewed by Brandon Williams and Marcus Eriksson for CASSANDRA-17342
2022-02-11 14:07:51 +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
Michael Burman
ce7502a110
Add a virtual table for exposing batch metrics
...
Patch by Michael Burman; review by Aleksei Zotov, Benjamin Lerer and Ekaterina Dimitrova for CASSANDRA-17225
2022-02-10 09:47:09 +01:00
Andrés de la Peña
8e1c8f9863
Flatten guardrails config
...
patch by Andrés de la Peña; reviewed by David Capwell for CASSANDRA-17353
2022-02-09 18:31:37 +00:00
Francisco Guerrero
543608ba39
Instance failed to start up due to NPE in StartupClusterConnectivityChecker
...
patch by Francisco Guerrero; reviewed by Stefan Miklosovic, Yifan Cai for CASSANDRA-17347
2022-02-09 10:22:35 -08:00
David Capwell
f0c97132c9
Make vtables accessible via internode messaging
...
patch by David Capwell; reviewed by Aleksey Yeschenko for CASSANDRA-17295
2022-02-08 17:09:01 -08:00
Maulin Vasavada
3655b26adf
Add support for PEM based key material for SSL
...
patch by Maulin Vasavada; reviewed by Jon Meredith and Stefan Miklosovic for CASSANDRA-17031
2022-02-07 22:18:14 +01:00
Marcus Eriksson
210793f943
Merge branch 'cassandra-4.0' into trunk
2022-02-07 13:01:12 +01:00
Marcus Eriksson
66d792adda
Merge branch 'cassandra-3.11' into cassandra-4.0
2022-02-07 13:00:46 +01:00
Marcus Eriksson
b022aecfa6
Merge branch 'cassandra-3.0' into cassandra-3.11
2022-02-07 13:00:23 +01:00
Marcus Eriksson
5c9ba06dd3
Extend operator control over the UDF threading model
...
Patch by marcuse; reviewed by Sam Tunnicliffe and Benedict Elliott Smith for CASSANDRA-17352
2022-02-07 12:59:39 +01:00
Alex Petrov
e256b98172
Merge branch 'cassandra-4.0' into trunk
2022-02-07 11:55:39 +01:00
Alex Petrov
371add40ae
Merge branch 'cassandra-3.11' into cassandra-4.0
2022-02-07 11:26:13 +01:00
Alex Petrov
5d0aeb1996
Merge branch 'cassandra-3.0' into cassandra-3.11
2022-02-07 11:10:54 +01:00
Alex Petrov
242f7f9b18
Fix Prepared Statements behaviours after 15252
...
Patch by Alex Petrov; reviewed by Marcus Eriksson for CASSANDR-17248.
Co-authored-by: Marcus Eriksson <marcuse@apache.org>
2022-02-07 11:06:14 +01:00
Ekaterina Dimitrova
9f56bf4ca7
Remove old Duration class in favor of DurationSpec class
...
patch by Ekaterina Dimitrova; reviewed by Caleb Rackliffe, David Capwell, Michael Semb Wever and Benjamin Lerer for CASSANDRA-15234
2022-02-05 22:39:53 -05:00
Ekaterina Dimitrova
c51a7c66fc
Bulk change of units around the code to support the move to the new configuration framework
...
patch by Ekaterina Dimitrova; reviewed by Caleb Rackliffe, David Capwell, Michael Semb Wever and Benjamin Lerer for CASSANDRA-15234
2022-02-05 22:28:57 -05:00
Ekaterina Dimitrova
6d5203615f
Transfer parameters to the newly introduced configuration framework (7)
...
patch by Ekaterina Dimitrova; reviewed by Caleb Rackliffe, David Capwell, Michael Semb Wever and Benjamin Lerer for CASSANDRA-15234
2022-02-05 22:28:48 -05:00
Ekaterina Dimitrova
23138252f2
Transfer parameters to the newly introduced configuration framework (6)
...
patch by Ekaterina Dimitrova; reviewed by Caleb Rackliffe, David Capwell, Michael Semb Wever and Benjamin Lerer for CASSANDRA-15234
2022-02-05 22:28:40 -05:00
Ekaterina Dimitrova
1315d0c96f
Transfer parameters to the newly introduced configuration framework (5)
...
patch by Ekaterina Dimitrova; reviewed by Caleb Rackliffe, David Capwell, Michael Semb Wever and Benjamin Lerer for CASSANDRA-15234
2022-02-05 22:28:32 -05:00
Ekaterina Dimitrova
ed48f3c017
Transfer parameters to the newly introduced configuration framework (4)
...
patch by Ekaterina Dimitrova; reviewed by Caleb Rackliffe, David Capwell, Michael Semb Wever and Benjamin Lerer for CASSANDRA-15234
2022-02-05 22:28:23 -05:00
Ekaterina Dimitrova
755fd9446b
Transfer parameters to the newly introduced configuration framework (3)
...
patch by Ekaterina Dimitrova; reviewed by Caleb Rackliffe, David Capwell, Michael Semb Wever and Benjamin Lerer for CASSANDRA-15234
2022-02-05 22:28:14 -05:00
Ekaterina Dimitrova
d85f7f7c2d
Transfer parameters to the newly introduced configuration framework (2)
...
patch by Ekaterina Dimitrova; reviewed by Caleb Rackliffe, David Capwell, Michael Semb Wever and Benjamin Lerer for CASSANDRA-15234
2022-02-05 22:28:04 -05:00
Ekaterina Dimitrova
b9e2ab75f8
Extend DurationSpec and DataStorageSpec for smallest unit and transfer denylist parameters to the new framework
...
patch by Ekaterina Dimitrova; reviewed by Caleb Rackliffe, David Capwell, Michael Semb Wever and Benjamin Lerer for CASSANDRA-15234
2022-02-05 22:27:47 -05:00
Ekaterina Dimitrova
a3258d66bc
Transfer parameters to the newly introduced configuration framework (1)
...
patch by Ekaterina Dimitrova; reviewed by Caleb Rackliffe, David Capwell, Michael Semb Wever and Benjamin Lerer for CASSANDRA-15234
2022-02-05 22:27:37 -05:00
Ekaterina Dimitrova
5bb4bab12f
DataRate parameters transition to the new framework
...
Fix the DB descriptorRefTest which failed on the previous commit
patch by Ekaterina Dimitrova; reviewed by Caleb Rackliffe, David Capwell, Michael Semb Wever and Benjamin Lerer for CASSANDRA-15234
2022-02-05 22:27:27 -05:00
Ekaterina Dimitrova
9c6b382058
Backward compatibility framework for configuration parameters
...
patch by Ekaterina Dimitrova; reviewed by Caleb Rackliffe, David Capwell, Michael Semb Wever and Benjamin Lerer for CASSANDRA-15234
2022-02-05 22:27:18 -05: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
Stefan Miklosovic
da47849b50
Remove Windows-specific classes and related code
...
patch by Stefan Miklosovic; reviewed by Joshua McKenzie, Bowen Song, Berenguer Blasi for CASSANDRA-16956
2022-02-05 15:41:33 +01:00
Caleb Rackliffe
28eea6e8cd
Runtime-configurable YAML option to prohibit USE statements
...
patch by Caleb Rackliffe; reviewed by David Capwell for CASSANDRA-17318
2022-02-04 14:24:51 -06:00
David Capwell
df16b3750d
When streaming sees a ClosedChannelException this triggers the disk failure policy
...
patch by David Capwell, Francisco Guerrero; reviewed by Caleb Rackliffe, Dinesh Joshi for CASSANDRA-17116
2022-02-04 11:36:52 -08:00
Jon Meredith
6614c08c64
Merge branch 'cassandra-4.0' into trunk
2022-02-03 14:28:58 -07:00
Jon Meredith
965fe0decf
Merge branch 'cassandra-3.11' into cassandra-4.0
2022-02-03 14:27:16 -07:00
Jon Meredith
beb456305a
Merge branch 'cassandra-3.0' into cassandra-3.11
2022-02-03 14:24:05 -07:00
Jon Meredith
9ff28fc717
Fixes for intermittent in-JVM dtest failures
...
patch by Jon Meredith, Caleb Rackliffe, Marcus Eriksson, Benedict Elliott Smith <benedict@apache.org>; reviewed by Caleb Rackliffe for CASSANDRA-17256
2022-02-03 14:22:46 -07:00
Aleksandr Sorokoumov
35dbcc2c2d
CASSANDRA-15215 Use DataOutputPlus.writeBytes in VIntCoding.writeUnsignedVInt
...
In the cases where VInt occupies less than or equal to 8 bytes
and the underlying buffer has at least 8 bytes, VIntCoding writes the
entire register in a single operation and then adjusts the buffer position.
Co-authored-by: Benedict Elliott Smith <benedict@apache.org>
Co-authored-by: Branimir Lambov <branimir.lambov@datastax.com>
2022-02-02 12:13:04 +00:00
Shailaja Koppu
945a4fc23a
Add a virtual table for exposing prepared statements metrics
...
patch by Shailaja Koppu; reviewed by Ekaterina Dimitrova, Francisco Guerrero, Yifan Cai for CASSANDRA-17224
2022-02-01 12:45:51 -08: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
02dad368f1
Merge branch 'cassandra-4.0' into trunk
2022-01-26 08:14:28 +01:00
Bereng
95257c0805
Sstableverify unit test operate on SSTables
...
patch by Brian Houser; reviewed by Andres de la Peña, Berenguer Blasi for CASSANDRA-17009
Co-authored-by: Brian Houser <brianh@amazon.com>
Co-authored-by: Berenguer Blasi <berenguerblasi@gmail.com>
2022-01-26 08:09:03 +01: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
Francisco Guerrero
e0a61f73b9
Revert "Add unix time conversion functions"
...
This reverts commit 8ddcd43b0c .
2022-01-19 16:30:15 -06:00
Marcus Eriksson
96c80f0b89
Merge branch 'cassandra-4.0' into trunk
2022-01-17 14:13:54 +01:00
Marcus Eriksson
9a1bb62822
Merge branch 'cassandra-3.11' into cassandra-4.0
2022-01-17 14:09:45 +01:00
Marcus Eriksson
b5d0626824
Merge branch 'cassandra-3.0' into cassandra-3.11
2022-01-17 14:08:03 +01:00
Marcus Eriksson
b1a8a56c56
Avoid race in AbstractReplicationStrategy endpoint caching
...
Patch by marcuse; reviewed by Alex Petrov and Jon Meredith for CASSANDRA-16673
Co-authored-by: Jon Meredith <jonmeredith@apache.org>
2022-01-17 14:06:25 +01:00
Marcus Eriksson
df1a2d4c3d
Merge branch 'cassandra-4.0' into trunk
2022-01-17 09:13:32 +01:00
Marcus Eriksson
98e798f567
Don't block gossip when clearing repair snapshots
...
Patch by marcuse; reviewed by David Capwell for CASSANDRA-17168
2022-01-17 09:11:00 +01:00
Brandon Williams
76f8333e9b
Use abolute path when checking file stores
...
Patch by brandonwilliams; reviewed by bereng for CASSANDRA-17084
2022-01-14 11:55:11 -06:00
Josh McKenzie
89c6addb50
Prewarm role and credentials caches to avoid timeouts at startup
...
Patch by Blake Eggleston; reviewed by Sam Tunnicliffe, Jason Brown, and Caleb Rackliffe for CASSANDRA-16958
Co-authored by: Blake Eggleston <bdeggleston@gmail.com>
Co-authored by: Josh McKenzie <jmckenzie@apache.org>
2022-01-13 15:45:19 -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
Ekaterina Dimitrova
7bd2764962
Merge branch 'cassandra-4.0' into trunk
2022-01-08 15:36:14 -05:00
Ekaterina Dimitrova
1a05fcf52b
Deduplicate warnings for deprecated parameters (changed names)
...
patch by Ekaterina Dimitrova; reviewed by Caleb Rackliffe for CASSANDRA-17160
2022-01-08 15:31:06 -05:00
Kanthi Subramanian
9b291f18ab
Add startup check for read_ahead_kb setting
...
Patch by Kanthi Subramanian; Reviewed by Paulo Motta and Brandon Williams for CASSANDRA-16436
Closes #1354
2022-01-03 18:39:17 -03:00
Paulo Motta
481c103951
Merge branch 'cassandra-4.0' into trunk
2022-01-03 11:57:42 -03:00
tejavadali
c420d754d8
CASSANDRA-16308: Add droppable tombstone metrics to nodetool tablestats
...
patch by Krishna Vadali; reviewed by Paulo Motta and Brandon Williams for CASSANDRA-16308
Closes #1359
2022-01-03 11:56:14 -03:00
Benjamin Lerer
11952fae77
Avoid unecessary array allocations and initializations when performing query checks
...
patch by Benjamin Lerer; reviewed by Caleb Rackliffe for CASSANDRA-17209
2021-12-20 14:02:48 +01:00
Andrés de la Peña
95522f85d5
Add guardrail for list operations that require read before write
...
patch by Andrés de la Peña; reviewed by Ekaterina Dimitrova for CASSANDRA-17154
2021-12-17 16:50:20 +00: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
Josh McKenzie
f4a2135c5b
Remove strong ref loop in LogTransaction.SSTableTidier
...
Patch by Josh McKenzie; reviewed by Benedict Elliott Smith for CASSANDRA-17205
2021-12-17 11:22:01 -05:00
Kowalczyk
bf1446cd85
Add guardrail for query page size
...
patch by Bartlomiej; reviewed by Andrés de la Peña and Brandon Williams for CASSANDRA-17189
2021-12-16 17:20:58 +00:00
Kowalczyk
75482d0a8c
Simplify SchemaCQLHelperTest methods
...
Patch by Bartlomiej Kowalczyk; reviewed by Ekaterina Dimitrova and
Benjamin Lerer for CASSANDRA-17181
2021-12-15 18:37:10 +01:00
Francisco Guerrero
a41cdd64b2
Allow column_index_size_in_kb to be configurable through nodetool
...
patch by Francisco Guerrero; reviewed by Dinesh Joshi, Yifan Cai for CASSANDRA-17121
2021-12-14 11:28:39 -08:00
Stefan Miklosovic
c64ff69bd9
Emit a metric for number of local read and write calls
...
patch by Damien Stevenson; reviewed by Stefan Miklosovic and Brandon Williams for CASSANDRA-10023
2021-12-13 18:46:19 +01:00
Brandon Williams
e99a8da161
Don't clean when enabling FQL via JMX
...
Patch by brandonwilliams; reviewed by bereng for CASSANDRA-17136
2021-12-09 16:06:48 -06:00
Brandon Williams
aa82e3e427
Don't clean when enabling FQL via JMX
...
Patch by brandonwilliams; reviewed by bereng for CASSANDRA-17136
2021-12-09 16:05:16 -06:00
Joseph Lynch
97b47c3b5f
Merge branch 'cassandra-4.0' into trunk
2021-12-09 10:31:39 -05:00
Joseph Lynch
e73d05bf85
Merge branch 'cassandra-3.11' into cassandra-4.0
2021-12-09 10:29:08 -05:00
Joseph Lynch
1fce84f983
Merge branch 'cassandra-3.0' into cassandra-3.11
2021-12-09 10:26:00 -05:00
Venkata Harikrishna Nukala
1911a887e8
Fix slow keycache load which blocks startup for tables with many sstables.
...
Patch by Venkata Harikrishna Nukala; reviewed by Marcus Eriksson and Joseph Lynch for CASSANDRA-14898
2021-12-09 10:14:16 -05: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
Andrés de la Peña
7871a28542
Add guardrails framework prototype
...
patch by Andrés de la Peña; reviewed by David Capwell and Stefan Miklosovic for CASSANDRA-17147
Co-authored-by: Sylvain Lebresne <lebresne@gmail.com>
Co-authored-by: Andrés de la Peña <a.penya.garcia@gmail.com>
Co-authored-by: Aleksandr Sorokoumov <aleksandr.sorokoumov@gmail.com>
Co-authored-by: Zhao Yang <jasonstack.zhao@gmail.com>
Co-authored-by: Jakub Żytka <jakub.zytka@datastax.com>
2021-12-03 15:20:20 +00:00
Jacek Lewandowski
cede538e02
Relax schema synchronization when opening a keyspace
...
Patch by Jacek Lewandowski; Reviewed by Branimir Lambov and Alex Petrov for CASSANDRA-17071.
2021-12-03 12:47:57 +01:00
Josh McKenzie
8e28dc0eba
Harden resource management on SSTable components to prevent future leaks
...
Patch by Josh McKenzie; reviewed by Caleb Rackliffe and Marcus Erikkson for CASSANDRA-17174
2021-12-01 12:35:45 -05:00
Alex Petrov
92dc415902
Tolerate local files in data dir during startup
...
Patch by Alex Petrov; reviewed by Aleksey Yeschenko, Jon Meredith, and Caleb Rackliffe for CASSANDRA-17082
Co-authored-by: Alex Petrov <oleksandr.petrov@gmail.com>
Co-authored-by: Josh McKenzie <jmckenzie@apache.org>
2021-12-01 12:29:23 -05:00
Benedict Elliott Smith
209c35aa62
[CEP-10] Phase 4: Cluster and Code Simulation
...
patch by Benedict; reviewed by Sam Tunnicliffe for CASSANDRA-17008
Co-authored-by: Benedict Elliott Smith <benedict@apache.org>
Co-authored-by: Sam Tunnicliffe <samt@apache.org>
Co-authored-by: Alex Petrov <oleksandr.petrov@gmail.com>
2021-11-30 16:05:54 +00:00
Benedict Elliott Smith
eae581a5f0
[CEP-10] Cluster and Code Simulations: Minor improvements
...
- Simplify Semaphore
- Future improvements
- ScheduledExecutorPlus improvements for simulator compatibility
- Debug leaks in Ref or BufferPool
- Support use of TokenMetadata without initialising Cassandra
- Additional system properties and simulator flags
- Permit Clock initialisation within separate ClassLoader
- Introduce BallotGenerator
patch by Benedict; reviewed by Sam Tunnicliffe for CASSANDRA-17008
2021-11-30 16:05:50 +00:00
Benedict Elliott Smith
31bea0b0d4
[CEP-10] Cluster and Code Simulations: Minor fixes
...
- fix repair timeout
- fix secondary index flushing
- fix race condition with Ref
- fix resource leaks
- fix incorrect exists()
- fix repair error reporting when null exception message
- fix dtest use of System.nanoTime
patch by Benedict; reviewed by Sam Tunnicliffe for CASSANDRA-17008
2021-11-30 16:05:44 +00:00
Benedict Elliott Smith
951d72cd92
[CEP-10] Phase 4: Support CAS Add Operations
...
Co-authored-by: Benedict Elliott Smith <benedict@apache.org>
Co-authored-by: Sam Tunnicliffe <samt@apache.org>
Co-authored-by: Caleb Rackliffe <calebrackliffe@gmail.com>
2021-11-22 11:47:03 +00:00
Benedict Elliott Smith
a965699c9e
[CEP-10] Phase 3: Use paxos variant to specify behaviour
...
Co-authored-by: Benedict Elliott Smith <benedict@apache.org>
Co-authored-by: Sam Tunnicliffe <samt@apache.org>
2021-11-22 11:43:23 +00:00
Benedict Elliott Smith
b6916017ca
[CEP-10] Phase 3: Synchronized Legacy Paxos
...
patch by Benedict Elliott Smith and Blake Eggleston; reviewed by Sam Tunnicliffe for CASSANDRA-16934
2021-11-22 11:42:08 +00:00
David Capwell
dcd7b0d35f
repair prepare message would produce a wrong error message if network timeout happened rather than reply wait timeout
...
patch by David Capwell; reviewed by Berenguer Blasi for CASSANDRA-16992
2021-11-19 14:33:08 -08:00
Yifan Cai
4aab2c79b9
Increase the buckets count for timer histogram
...
patch by Yifan Cai; reviewed by Caleb Rackliffe for CASSANDRA-17155
2021-11-19 09:35:37 -08:00
Bereng
8d3fd3a97c
utests_system_keyspace_directory - more than 500 tests failing on trunk
...
patch by Berenguer Blasi; reviewed by Sam Tunnicliffe for CASSANDRA-17137
2021-11-19 11:43:01 +01:00
David Capwell
10c685222f
Merge branch 'cassandra-4.0' into trunk
2021-11-18 17:32:25 -08:00
Jacek Lewandowski
1bcfa087f4
DebuggableThreadPoolExecutor does not propagate client warnings
...
patch by Jacek Lewandowski; reviewed by Andres de la Peña, Berenguer Blasi, David Capwell for CASSANDRA-17072
2021-11-18 17:22:27 -08:00
Caleb Rackliffe
33fd2dc817
Log queries that fail on timeout or unavailable errors up to once per minute by default
...
patch by Caleb Rackliffe and Marcus Eriksson; reviewed by David Capwell and Yifan Cai for CASSANDRA-17159
Co-authored-by: Caleb Rackliffe <calebrackliffe@gmail.com>
Co-authored-by: Marcus Eriksson <marcuse@apache.org>
2021-11-18 15:48:21 -06: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
Ekaterina Dimitrova
f61d817cb5
Merge branch 'cassandra-4.0' into trunk
2021-11-16 10:37:53 -05:00
Ekaterina Dimitrova
b6f61e850c
Remove unused configuration parameters from cassandra.yaml
...
patch by Ekaterina Dimitrova; reviewed by Berenguer Blasi for CASSANDRA-17132
2021-11-16 10:30:52 -05:00
David Capwell
b84ec51b4c
Refactor normal/preview/IR repair to standardize repair cleanup and error handling of failed RepairJobs
...
patch by David Capwell; reviewed by Marcus Eriksson for CASSANDRA-17069
2021-11-12 16:59:05 -08:00
Yifan Cai
97bfde01f8
Log missing peers in StartupClusterConnectivityChecker
...
patch by Yifan Cai; reviewed by Berenguer Blasi, Stefan Podkowinski for CASSANDRA-17130
2021-11-12 09:59:01 -08:00
Aleksey Yeschenko
2ab6e14aea
Merge branch 'cassandra-4.0' into trunk
2021-11-12 14:41:57 +00:00
Aleksey Yeschenko
03e83f2070
Merge branch 'cassandra-3.11' into cassandra-4.0
2021-11-12 14:40:33 +00:00
Aleksey Yeschenko
40f4fe7bfd
Merge branch 'cassandra-3.0' into cassandra-3.11
2021-11-12 14:32:16 +00:00
Aleksey Yeschenko
58c878e3e0
Fix rare NPE caused by batchlog replay / node decomission races
...
pach by Aleksey Yeschenko; reviewed by Alex Petrov for CASSANDRA-17049
2021-11-12 14:31:17 +00:00
Aleksey Yeschenko
28882ec33d
Merge branch 'cassandra-4.0' into trunk
2021-11-12 11:39:20 +00:00
Aleksey Yeschenko
dd6242037b
Queries performed with NODE_LOCAL consistency level do not update request metrics
...
patch by Aleksey Yeschenko; reviewed by Alex Petrov for CASSANDRA-17052
2021-11-12 11:26:18 +00:00
Yifan Cai
9f46a48952
Merge branch 'cassandra-4.0' into trunk
2021-11-11 16:25:28 -08:00
Yifan Cai
79bbb7dac5
Multiple full sources can be select unexpectedly for bootstrap streaming
...
patch by Yifan Cai; reviewed by Brandon Williams for CASSANDRA-16945
2021-11-11 16:23:48 -08:00
Francisco Guerrero
77dde2a3c4
Introduce separate rate limiting settings for entire SSTable streaming
...
patch by Francisco Guerrero; reviewed by Dinesh Joshi, Marcus Eriksson, Yifan Cai for CASSANDRA-17065
2021-11-10 10:35:01 -08: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
Blake Eggleston
eae7b9c3ad
Actively update auth caches in the background
...
Patch by Blake Eggleston; reviewed by Sam Tunnicliffe, Jason Brown, and Caleb Rackliffe for CASSANDRA-16957
Co-authored-by: Blake Eggleston <bdeggleston@gmail.com>
Co-authored-by: Josh McKenzie <jmckenzie@apache.org>
2021-11-09 15:32:36 -05:00
David Capwell
4fb170c5c2
MessagingServiceTest listenOptionalSecureConnection and listenRequiredSecureConnection fail sporadically
...
patch by David Capwell; reviewed by Benedict Elliott Smith, Caleb Rackliffe for CASSANDRA-17033
2021-11-09 09:00:29 -08:00
Brandon Williams
599294c919
Replace System.currentTimeMillis with Clock.Global.currentTimeMillis
...
Patch by brandonwilliams; reviewed by bereng for CASSANDRA-17123
2021-11-09 09:43:57 -06: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
David Capwell
b29e1037e4
JVMStabilityInspector.forceHeapSpaceOomMaybe should handle all non-heap OOMs rather than only supporting direct only
...
patch by David Capwell; reviewed by Caleb Rackliffe, Yifan Cai for CASSANDRA-17128
2021-11-08 17:54:30 -08:00
Sam Tunnicliffe
a0f950f02d
Merge branch 'cassandra-4.0' into trunk
2021-11-05 07:58:56 +00:00
Doug Rohrer
c96131035b
Backward compatibility for CQLSSTableWriter Date fields
...
Patch by Doug Rohrer; reviewed by Brandon Williams and Sam Tunnicliffe
for CASSANDRA-17117
2021-11-05 07:47:07 +00:00
Benedict Elliott Smith
2fc7206128
Forbid other Future implementations with checkstyle
...
patch by Benedict Elliott Smith; reviewed by David Capwell for CASSANDRA-17055
2021-11-04 17:46:23 -07:00
David Capwell
111e94ae13
commit log was switched from non-daemon to daemon threads, which causes the JVM to exit in some case as no non-daemon threads are active
...
patch by David Capwell, Sam Tunnicliffe; reviewed by Sam Tunnicliffe for CASSANDRA-17085
2021-11-03 13:07:07 -07:00
Josh McKenzie
ab920c3031
Add a Denylist to block reads and writes on specific partition keys
...
Patch by Josh McKenzie, reviewed by Aleksei Zotov and Sumanth Pasupuleti for CASSANDRA-12106
Co-authored by Josh McKenzie <jmckenzie@apache.org>
Co-authored by Sam Overton
2021-11-01 12:43:51 -04:00
Andrés de la Peña
d21e0dd846
Merge branch 'cassandra-4.0' into trunk
2021-10-27 18:19:11 +01:00
Andrés de la Peña
6c9d5abbc5
Merge branch 'cassandra-3.11' into cassandra-4.0
2021-10-27 18:12:42 +01:00
Andrés de la Peña
3d74cad35f
Merge branch 'cassandra-3.0' into cassandra-3.11
2021-10-27 18:08:41 +01:00
Andrés de la Peña
969531a113
Allow users to view permissions of the roles they created
...
patch by Robert Stupp, Andrés de la Peña and Aleksei Zotov; reviewed by Aleksei Zotov and Benjamin Lerer for CASSANDRA-16902
Co-authored-by: Robert Stupp <snazy@snazy.de>
Co-authored-by: Andres de la Pena <a.penya.garcia@gmail.com>
Co-authored-by: Aleksei Zotov <azotcsit@gmail.com>
2021-10-27 18:05:53 +01:00
Andrés de la Peña
37830770d1
Merge branch 'cassandra-4.0' into trunk
2021-10-26 18:24:00 +01:00
Andrés de la Peña
530bc914cd
Merge branch 'cassandra-3.11' into cassandra-4.0
2021-10-26 18:20:41 +01:00
Andrés de la Peña
c76a939c3e
Merge branch 'cassandra-3.0' into cassandra-3.11
2021-10-26 18:18:01 +01:00
Aleksandr Sorokoumov
7f54fe0229
Fix failure handling in inter-node communication
...
patch by Aleksandr Sorokoumov; reviewed by Andrés de la Peña and Paulo Motta for CASSANDRA-16334
2021-10-26 18:14:35 +01:00
Bereng
7d0cb2015d
Merge branch 'cassandra-4.0' into trunk
2021-10-26 07:46:09 +02:00
Bereng
5aa2fb83e7
Merge branch 'cassandra-3.11' into cassandra-4.0
2021-10-26 07:39:22 +02:00
Bereng
fa532a61f8
Prevent broken concurrent schema read/writes
...
patch by Berenguer Blasi; reviewed by Caleb Rackliffe for CASSANDRA-16996
Co-authored-by: Berenguer Blasi <berenguerblasi@gmail.com>
Co-authored-by: Caleb Rackliffe <calebrackliffe@gmail.com>
2021-10-26 07:33:56 +02:00
David Capwell
8e225c55c4
v4+ protocol did not clean up client warnings, which caused leaking the state
...
patch by David Capwell; reviewed by Caleb Rackliffe, Jon Meredith, Sam Tunnicliffe for CASSANDRA-17054
2021-10-25 08:43:37 -07:00
Kanthi Subramanian
60e0da1bd0
Remove duplicate toCQLString in ReadCommand
...
Patch by Kanthi Subramanian; reviewed by brandonwilliams and maedhroz
for CASSANDRA-17023
2021-10-25 09:22:25 -05: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
Brandon Williams
fafd88e717
Merge branch 'cassandra-4.0' into trunk
2021-10-20 11:01:32 -05:00
Brandon Williams
4e77cc8928
Merge branch 'cassandra-3.11' into cassandra-4.0
2021-10-20 11:00:55 -05:00
Brandon Williams
20abdfcdd3
Merge branch 'cassandra-3.0' into cassandra-3.11
2021-10-20 10:59:57 -05:00
Brandon Williams
f71dfdc375
Push connection reset by peer messages to trace
...
Patch by brandonwilliams; reviewed by bereng for CASSANDRA-16954
2021-10-20 10:58:26 -05:00
Brandon Williams
b1c3755f62
Merge branch 'cassandra-4.0' into trunk
2021-10-20 10:36:52 -05:00
Brandon Williams
71f7b6cc92
Push initial connection messages to trace
...
Patch by brandonwilliams; reviewed by bereng for CASSANDRA-17038
2021-10-20 10:35:37 -05: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
Brandon Williams
5c7603c2ae
Upgrade to snakeyaml 1.26
...
Patch by brandonwilliams; reviewed by bereng for CASSANDRA-17028
2021-10-15 10:06:57 -05:00
Alex Petrov
d9ca614043
Merge branch 'cassandra-4.0' into trunk
2021-10-15 11:27:39 +02:00
Alex Petrov
25f67a75e2
Merge branch 'cassandra-3.11' into cassandra-4.0
2021-10-15 11:26:26 +02:00
Alex Petrov
610d5d4eb5
Merge branch 'cassandra-3.0' into cassandra-3.11
2021-10-15 11:22:28 +02:00
Sumanth Pasupuleti
11af037fd9
Add blocking pendingranges calculation when keyspace is added
...
Patch by Sumanth Pasupuleti, reviewed by Alex Petrov for CASSANDRA-15433
2021-10-15 11:05:26 +02:00
Benjamin Lerer
ebce74ee2d
Merge branch cassandra-4.0 into trunk
2021-10-14 15:30:14 +02:00
Benjamin Lerer
be1684b0ee
Merge branch cassandra-3.11 into cassandra-4.0
2021-10-14 15:27:34 +02:00
Benjamin Lerer
6411b44a7d
Merge branch cassandra-3.0 into cassandra-3.11
2021-10-14 15:22:14 +02:00
Boris Onufriyev
84eb1b8c85
Log more information when a node runs out of commitlog space
...
Patch by Boris Onufriyev; review by Ariel Weisberg, Benjamin Lerer and
Brandon Williams for CASSANDRA-11323
2021-10-14 15:14:04 +02:00
Marcus Eriksson
d389620fee
Log time spent writing keys during compaction
...
Patch by Marcus Eriksson; reviewed by Sam Tunnicliffe for CASSANDRA-17037
Co-authored-by: Marcus Eriksson <marcuse@apache.org>
Co-authored-by: Josh McKenzie <jmckenzie@apache.org>
2021-10-14 09:06:45 -04:00
Aleksei Zotov
460ae341f5
Make nodetool compactionstats and sstable_tasks consistent
...
patch by Aleksei Zotov; reviewed by Stefan Miklocovic and Brandon Williams for CASSANDRA-16976
2021-10-14 15:16:12 +04:00
Marcus Eriksson
2ce9b13e8f
Add logging and metrics for index summary redistribution
...
Patch by Marcus Eriksson, reviewed by David Capwell for CASSANDRA-17036
Co-authored-by: Marcus Eriksson <marcuse@apache.org>
Co-authored-by: Josh McKenzie <jmckenzie@apache.org>
2021-10-13 09:29:08 -04:00
Sumanth Pasupuleti
5fdadb25f9
add default_keyspace_rf and minimum_keyspace_rf configuration options
...
Patch by Sumanth Pasupuleti; reviewed by Jaydeepkumar Chovatia, Alex Petrov, Stefan Miklosovic and Alexander Zotov for CASSANDRA-14557.
2021-10-13 10:15:24 +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
Caleb Rackliffe
d2d5ce855a
Merge branch 'cassandra-3.0' into cassandra-3.11
2021-10-12 16:39:04 -05:00
Caleb Rackliffe
4cc6375556
ninja-fix: correct issue reference for CASSANDRA-16883 in ReadCallback comments
2021-10-12 16:33:45 -05:00
Chang Liu
243d220854
store FBUtilities.getJustBroadcastNativeAddress() in system.local for rpc_address column
...
patch by Chang Liu; reviewed by Alexei Zotov and Stefan Miklosovic for CASSANDRA-11181
2021-10-12 14:59:40 +02: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
Brandon Williams
c4254663f5
Merge branch 'cassandra-4.0' into trunk
2021-10-11 12:08:17 -05:00
Brandon Williams
e57a8ddbfa
Merge branch 'cassandra-3.11' into cassandra-4.0
2021-10-11 12:06:57 -05:00
Brandon Williams
9d28bebde8
Merge branch 'cassandra-3.0' into cassandra-3.11
2021-10-11 12:02:44 -05:00
Brandon Williams
0e12b8d4fc
Don't take snapshots when truncating system tables
...
Patch by brandonwilliams; reviewed by adelapena and blerer for CASSANDRA-16839
2021-10-11 12:00:31 -05:00
Caleb Rackliffe
4f09733d28
Skip remaining bytes in the Envelope buffer when a ProtocolException is thrown to avoid double decoding
...
patch by Caleb Rackliffe; reviewed by Sam Tunnicliffe and Jon Meredith for CASSANDRA-17026
2021-10-09 01:00:39 -05:00
Josh McKenzie
5ab15316e1
Allow reverse iteration order during resource permissions checking
...
Patch by Sam Tunnicliffe; reviewed by Blake Eggleston, Jeff Jirsa, and Aleksei Zotov for CASSANDRA-17016
Co-authored by Sam Tunnicliffe <sam@beobal.com>
Co-authored by Josh McKenzie <jmckenzie@apache.org>
2021-10-08 08:49:42 -04:00
Benedict Elliott Smith
0c444a75e7
[CASSANDRA-16931] CEP-10 Phase 2: Improve DTest @Shared Annotation Functionality
2021-10-07 16:29:53 +01:00
Benedict Elliott Smith
fe9cff663b
[CASSANDRA-16930] CEP-10 Phase 2: Improved Configuration For Controlling Determinism
...
Co-authored-by: Benedict Elliott Smith <benedict@apache.org>
Co-authored-by: Sam Tunnicliffe <samt@apache.org>
Co-authored-by: Caleb Rackliffe <calebrackliffe@gmail.com>
2021-10-07 16:29:35 +01:00
Benedict Elliott Smith
ce2a0a28bc
[CASSANDRA-16932] CEP-10 Phase 2: Minor Gossip Fixes
...
* Ensure we apply new states in correct order so as not to lose TOKEN message
* Permit replacement nodes to join the ring with lower heartbeat state than
node being replaced
2021-10-07 16:28:57 +01:00
Benedict Elliott Smith
5b82447098
[CASSANDRA-17013] CEP-10 Phase 1: in-jvm-dtest-api changes and version bump
2021-10-07 14:30:20 +01:00
Benedict Elliott Smith
6812fddb3e
[CASSANDRA-16927] CEP-10 Phase 1: Refactor Streaming
...
patch by Benedict Elliott Smith and Sam Tunnicliffe; reviewed by Aleksey Yeschenko and Aleksei Zotov for CASSANDRA-16927
Co-authored-by: Benedict Elliott Smith <benedict@apache.org>
Co-authored-by: Aleksey Yeschenko <aleksey@apache.org>
Co-authored-by: Sam Tunnicliffe <samt@apache.org>
2021-10-07 14:29:49 +01:00
Benedict Elliott Smith
aae7e8b07c
[CASSANDRA-16928] CEP-10 Phase 1: InetAddressAndPort extends InetSocketAddress
...
patch by Benedict; reviewed by Sam Tunnicliffe, Caleb Rackliffe and Aleksei Zotov for CASSANDRA-16928
2021-10-07 14:29:04 +01:00
Benedict Elliott Smith
6a1d9de3d9
[CASSANDRA-16926] CEP-10 Phase 1: Mockable Filesystem
...
patch by Benedict; reviewed by Aleksey Yeschenko, Sam Tunnicliffe and Aleksei Zotov for CASSANDRA-16926
Co-authored-by: Benedict Elliott Smith <benedict@apache.org>
Co-authored-by: Aleksey Yeschenko <aleksey@apache.org>
2021-10-07 14:28:00 +01:00
Benedict Elliott Smith
be1f050bc8
[CASSANDRA-16925] CEP-10 Phase 1: Mockable Task Execution
...
Co-authored-by: Benedict Elliott Smith <benedict@apache.org>
Co-authored-by: Sam Tunnicliffe <samt@apache.org>
2021-10-07 14:27:52 +01:00
Benedict Elliott Smith
e5b92e1088
[CASSANDRA-16924] CEP-10 Phase 1: Mockable Blocking Concurrency Primitives
...
patch by Benedict; reviewed by Sam Tunnicliffe and Aleksei Zotov for CASSANDRA-16924
Co-authored-by: Benedict Elliott Smith <benedict@apache.org>
Co-authored-by: Sam Tunnicliffe <samt@apache.org>
2021-10-07 14:27:44 +01:00
Sam Tunnicliffe
2e2db4dc40
Verify correct ownership of attached locations on disk at startup
...
patch by Sam Tunnicliffe; reviewed by Chris Earman, Xiaolong Jiang, and Caleb Rackliffe for CASSANDRA-16879
Co-authored by Sam Tunnicliffe <sam@beobal.com>
Co-authored by Josh McKenzie <jmckenzie@apache.org>
2021-10-05 12:12:30 -04:00
Caleb Rackliffe
b00b82a80f
Merge branch 'cassandra-4.0' into trunk
2021-10-04 15:15:12 -05:00
Caleb Rackliffe
1aae9468ed
Merge branch 'cassandra-3.11' into cassandra-4.0
2021-10-04 15:03:27 -05:00
Caleb Rackliffe
a136517211
Merge branch 'cassandra-3.0' into cassandra-3.11
2021-10-04 14:59:46 -05:00
Aleksandr Sorokoumov
35446dca27
Elaborate on why we need to recycle CL segments when dropping tables
...
patch by Aleksandr Sorokoumov; reviewed by Caleb Rackliffe and Benjamin Lerer for CASSANDRA-16986
2021-10-04 14:55:40 -05:00
Maulin Vasavada
24dcc280c2
CEP-9 make SSLContext creation pluggable
...
patch by Maulin Vasavada; reviewed by Jon Meredith, Stefan Miklosovic and Berenguer Blasi for CASSANDRA-16666
2021-10-04 08:54:48 +02:00
Alex Petrov
c3c2c7efec
Merge branch 'cassandra-4.0' into trunk
2021-10-03 23:24:22 +02:00
Alex Petrov
3660a58ab4
Merge branch 'cassandra-3.11' into cassandra-4.0
2021-10-03 23:23:31 +02: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
Andrés de la Peña
0ccca8dab2
Merge branch 'cassandra-4.0' into trunk
2021-10-01 11:59:09 +01:00
Andrés de la Peña
339e8b74bf
Merge branch 'cassandra-3.11' into cassandra-4.0
2021-10-01 11:55:30 +01:00
Andrés de la Peña
c6e897d2d4
Merge branch 'cassandra-3.0' into cassandra-3.11
2021-10-01 11:52:07 +01:00
Andrés de la Peña
4f8afe85bf
Immediately apply stream throughput, considering negative values as unthrottled
...
patch by Andrés de la Peña; reviewed by Aleksei Zotov, Brandon Williams and Berenguer Blasi for CASSANDRA-16959
Co-authored-by: Niteshwar Kumar <niteshwar_kumar@persistent.com>
Co-authored-by: Andrés de la Peña <a.penya.garcia@gmail.com>
2021-10-01 11:27:28 +01:00
Andrés de la Peña
b6e400d0c3
Merge branch 'cassandra-4.0' into trunk
...
# Conflicts:
# src/java/org/apache/cassandra/db/compaction/CompactionTask.java
2021-09-30 13:14:45 +01:00
Andrés de la Peña
c0916d67be
Merge branch 'cassandra-3.11' into cassandra-4.0
...
# Conflicts:
# src/java/org/apache/cassandra/db/compaction/CompactionTask.java
# test/unit/org/apache/cassandra/db/compaction/CompactionTaskTest.java
2021-09-30 13:11:33 +01:00
Andrés de la Peña
dcc95492e9
Merge branch 'cassandra-3.0' into cassandra-3.11
...
# Conflicts:
# CHANGES.txt
# src/java/org/apache/cassandra/db/compaction/CompactionTask.java
2021-09-30 13:07:26 +01:00
Aleksandr Sorokoumov
3e6faca572
Do not release new SSTables in offline transactions
...
patch by Aleksandr Sorokoumov; reviewed by Andrés de la Peña and Branimir Lambov for CASSANDRA-16975
2021-09-30 13:01:02 +01:00
Marcus Eriksson
9dd0e55017
Merge branch 'cassandra-4.0' into trunk
2021-09-30 11:24:33 +02:00
Marcus Eriksson
84ec1dc97d
Correct the internode message timestamp if sending node has wrapped
...
Patch by marcuse; reviewed by Jon Meredith for CASSANDRA-16997
2021-09-30 11:21:54 +02:00
Marcus Eriksson
aaf72a7dec
Avoid race causing us to return null in RangesAtEndpoint
...
Patch by marcuse; reviewed by Jon Meredith for CASSANDRA-16965
2021-09-30 11:21:47 +02:00
Marcus Eriksson
41b43a46c1
Avoid rewriting all repaired sstables during cleanup when transient replication is disabled
...
Patch by marcuse; reviewed by Alex Petrov for CASSANDRA-16966
2021-09-30 11:21:38 +02:00
Benedict Elliott Smith
15a2fe00fc
[CASSANDRA-16923] CEP-10 Phase 1: Mockable System Clock
...
Co-authored-by: Benedict Elliott Smith <benedict@apache.org>
Co-authored-by: Aleksey Yeschenko <aleksey@apache.org>
Co-authored-by: Sam Tunnicliffe <samt@apache.org>
2021-09-29 19:38:34 +01:00
Aleksei Zotov
660dace43c
Add tests for Resource fromName/getName
...
patch by Aleksei Zotov; reviewed by Berenguer Blasi, Sam Tunnicliffe for CASSANDRA-16995
2021-09-29 13:06:58 +04: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
Benjamin Lerer
41c1eeb4f5
Merge branch cassandra-4.0 into trunk
2021-09-28 16:59:30 +02:00
Benjamin Lerer
984f763939
Merge branch cassandra-3.11 into cassandra-4.0
2021-09-28 16:27:59 +02:00
Benjamin Lerer
4d64ff7a8c
Merge branch cassandra-3.0 into cassandra-3.11
2021-09-28 15:23:33 +02:00
Benjamin Lerer
9f492844d5
Avoid useless SSTable reads during single partition queries
...
patch by Benjamin Lerer; reviewed by Caleb Rackliffe for CASSANDRA-16944
2021-09-28 15:16:24 +02:00
Brandon Williams
44a004c87d
Merge branch 'cassandra-4.0' into trunk
2021-09-27 09:12:13 -05:00
Brandon Williams
80dccde3cd
Merge branch 'cassandra-3.11' into cassandra-4.0
2021-09-27 09:11:58 -05:00
Brandon Williams
02840c9006
Don't validate index keys
...
Patch by brandonwilliams; reviewed by bereng for CASSANDRA-16969
2021-09-27 09:09:13 -05:00
Jay Zhuang
b1e77baa3d
Avoid token cache invalidation for removing a non-member node
...
Patch by Jay Zhuang; reviewed by brandonwilliams and azotcsit for
CASSANDRA-15290
2021-09-24 15:20:35 -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
Bereng
92baa924d4
Merge branch 'cassandra-4.0' into trunk
2021-09-24 08:37:50 +02:00
Bereng
e8c675250a
Merge branch 'cassandra-3.11' into cassandra-4.0
2021-09-24 08:35:59 +02:00
Bereng
1aa7fb172f
ArrayIndexOutOfBoundsException in FunctionResource#fromName
...
patch by kamlesh_ghoradkar, Berenguer Blasi; reviewed by Berenguer Blasi, Aleksei Zotov for CASSANDRA-16977
Co-authored-by: kamlesh_ghoradkar <kamlesh_ghoradkar@persistent.com>
Co-authored-by: Berenguer Blasi <berenguerblasi@gmail.com>
2021-09-24 08:30:59 +02:00
Brandon Williams
9ed8810183
Add sstable count to compactionstats output
...
Patch by brandonwilliams; reviwed by Aleksei Zotov and adelapena for
CASSANDRA-16844
2021-09-22 11:39:22 -05:00
Brandon Williams
ea99f5889b
Merge branch 'cassandra-4.0' into trunk
2021-09-22 11:27:29 -05:00
Brandon Williams
d519677072
Merge branch 'cassandra-3.11' into cassandra-4.0
2021-09-22 11:26:17 -05:00
Brandon Williams
ec1195bed7
Standalone scrub validates keys
...
Patch by brandonwilliams; reviewed by blerer for CASSANDRA-16969
2021-09-22 11:22:27 -05:00
Marcus Eriksson
bc348c9985
Merge branch 'cassandra-4.0' into trunk
2021-09-20 14:35:46 +02:00
Marcus Eriksson
b9d8700355
Avoid trying to acquire 0 permits from the rate limiter when taking snapshot
...
Patch by marcuse; reviewed by Alex Petrov for CASSANDRA-16872
2021-09-20 14:31:17 +02:00
Bereng
e60341823d
Merge branch 'cassandra-4.0' into trunk
2021-09-20 09:49:01 +02:00
Bereng
e98be8e3ec
Merge branch 'cassandra-3.11' into cassandra-4.0
2021-09-20 09:46:30 +02:00
Bereng
8f4ae7d825
Improve MV TTL error message
...
patch by Brandon Williams, Berenguer Blasi; reviewed by Brandon Williams, Benjamin Lerer, Aleksei Zotov for CASSANDRA-16960
Co-authored-by: Brandon Williams <brandonwilliams@apache.org>
Co-authored-by: Berenguer Blasi <berenguerblasi@gmail.com>
2021-09-20 09:43:25 +02:00
Ekaterina Dimitrova
7c3935ced3
Merge branch 'cassandra-4.0' into trunk
2021-09-17 17:29:45 -04:00
Ekaterina Dimitrova
14af149ed5
Merge branch 'cassandra-3.11' into cassandra-4.0
2021-09-17 17:26:41 -04:00
Aleksei Zotov
f7c71f65c0
Allow DELETE and TRUNCATE to work on Virtual Tables if the implementation allows it
...
patch by Aleksei Zoto; reviewed by Benjamin Lerer and Chris Lohfink for
CASSANDRA-16806
2021-09-17 15:07:36 +02:00
Stefan Miklosovic
e86ae7fbe5
make creation timestamp consistent for all tables of a snapshot
...
patch by Stefan Miklosovic; reviewed by Paulo Motta and Aleksei Zotov for CASSANDRA-16920
2021-09-16 22:11:51 +02:00
Stefan Miklosovic
99246fb24f
Merge branch 'cassandra-4.0' into trunk
2021-09-16 14:18:54 +02:00
Stefan Miklosovic
57c1c6183a
Merge branch 'cassandra-3.11' into cassandra-4.0
2021-09-16 13:56:11 +02:00
Vincent White
24b084fcf8
include SASI components to snapshots
...
patch by Vincent White; reviewed by Stefan Miklosovic and Andrés de la Peña for CASSANDRA-15134
2021-09-16 13:35:03 +02:00
Brandon Williams
d37a96735b
Merge branch 'cassandra-3.0' into cassandra-3.11
2021-09-15 13:41:01 -05:00
Stephen L. De Rudder
be649d5d54
catch UnsatisfiedLinkError in WindowsTimer
...
Patch by Stephen L. De Rudder; reviewed by brandonwilliams and jmckenzie
for CASSANDRA-16085
2021-09-15 13:39:22 -05:00
Aleksey Yeschenko
09c89e5f5f
Further restrict schema column drop/recreate conversions
...
patch by Aleksey Yeschenko; reviewed by Blake Eggleston, Sam Tunnicliffe, and Caleb Rackliffe for CASSANDRA-16905
Co-authored by Aleksey Yeschenko (aleksey@apache.org )
Co-authored by Josh McKenzie (jmckenzie@apache.org )
2021-09-13 10:25:55 -04:00
Andrés de la Peña
0516aa1be2
Merge branch 'cassandra-4.0' into trunk
2021-09-10 13:28:52 +01:00
Andrés de la Peña
636ab42bd5
Fix missed wait latencies in the output of `nodetool tpstats -F`
...
patch by Dimitar Dimitrov and Andrés de la Peña; reviewed by Ekaterina Dimitrova for CASSANDRA-16938
Co-authored-by: Andrés de la Peña <a.penya.garcia@gmail.com>
Co-authored-by: Dimitar Dimitrov <dmtrndmtrv@gmail.com>
2021-09-10 13:20:46 +01:00
Bereng
b015cbdff6
Merge branch 'cassandra-4.0' into trunk
2021-09-10 09:35:56 +02:00
Bereng
8b0b22e166
Cassandra fails to process OperationExecutionException which causes ClassCastException
...
patch by Benjamin Lerer, Berenguer Blasi; reviewed by Benjamin Lerer, Berenguer Blasi for CASSANDRA-15269
2021-09-10 09:33:40 +02:00
Brandon Williams
08444cbc3f
Reduce max native frame size to 16MB
...
Patch by brandonwilliams; reviewed by blerer for CASSANDRA-16886
2021-09-09 14:20:19 -05:00
Brandon Williams
b8f786d387
Merge branch 'cassandra-4.0' into trunk
2021-09-08 11:50:33 -05:00
Brandon Williams
ffc6593d06
Merge branch 'cassandra-3.11' into cassandra-4.0
2021-09-08 11:49:05 -05:00
Brandon Williams
5cdddcf393
Make assassinate more resilient to missing tokens
...
Patch by Robert Stupp and brandonwilliams; reviewed by adelapena for
CASSANDRA-16847
2021-09-08 11:15:30 -05:00
nvharikrishna
dcee430e57
Add support for filtering using IN restrictions
...
patch by Venkata Harikrishna Nukala; reviewed by Andrés de la Peña and
Benjamin Lerer for CASSANDRA-14344
2021-09-08 09:57:31 +02:00
Ekaterina Dimitrova
ce2d756c41
Merge branch 'cassandra-4.0' into trunk
2021-09-07 10:47:51 -04:00
Ekaterina Dimitrova
4ed28cbf9c
Merge branch 'cassandra-3.11' into cassandra-4.0
2021-09-07 10:44:34 -04:00
Ekaterina Dimitrova
e644a9954a
Merge branch 'cassandra-3.0' into cassandra-3.11
2021-09-07 10:41:27 -04:00
Ekaterina Dimitrova
57f53f53ae
Avoid removing batch when it's not created during view replication
...
patch by Zhao Yang, Ekaterina Dimitrova; reviewed by Zhao Yang, Ekaterina Dimitrova, Brandon Williams for CASSANDRA-16175
Co-authored-by: Zhao Yang <zhao.yang@datastax.com>
Co-authored-by: Ekaterina Dimitrova <ekaterina.dimitrova@datastax.com>
2021-09-07 10:36:41 -04:00
Alex Petrov
cfc402d26a
Add a flag to upgradesstables to allow only upgrading sstables older than a certain timestamp and recompress command
...
Patch by Alex Petrov, reviewed by Marcus Eriksson for CASSANDRA-16837.
2021-09-06 12:23:04 +02:00
Stefan Miklosovic
3cb656a471
Merge branch 'cassandra-4.0' into trunk
2021-09-06 10:55:12 +02:00
Stefan Miklosovic
9c90cf7da0
Merge branch 'cassandra-3.11' into cassandra-4.0
2021-09-06 10:51:01 +02:00
Stefan Miklosovic
29d78af616
Merge branch 'cassandra-3.0' into cassandra-3.11
2021-09-06 10:23:10 +02:00
Stefan Miklosovic
267d3ce04e
make the addition of regular column to COMPACT tables throw an InvalidRequestException
...
patch by Stefan Miklosovic; reviewed by Benjamin Lerer for CASSANDRA-14564
2021-09-06 10:18:37 +02:00
Ekaterina Dimitrova
d6e1c41c48
Merge branch 'cassandra-3.0' into cassandra-3.11
2021-09-03 10:28:40 -04:00
Ekaterina Dimitrova
67eb22ec9d
Fix materialized view schema backup as table
...
patch by Zhao Yang, Ekaterina Dimitrova; reviewed by Benjamin Lerer, Ekaterina Dimitrova for CASSANDRA-12734
Co-authored-by: Zhao Yang <zhao.yang@datastax.com>
Co-authored-by: Ekaterina Dimitrova <ekaterina.dimitrova@datastax.com>
2021-09-03 10:23:43 -04:00
Aleksei Zotov
f9aa19e3b1
Add nodetool commands to invalidate auth caches
...
Patch by Aleksei Zotov; reviewed by Benjamin Lerer, Sumanth Pasupuleti
and Sam Tunnicliffe for CASSANDRA-16404
2021-09-03 08:22:36 +01:00
Bereng
2d3c21cb61
Merge branch 'cassandra-4.0' into trunk
2021-09-02 11:11:15 +02:00
Bereng
6a4a93a808
Merge branch 'cassandra-3.11' into cassandra-4.0
2021-09-02 11:09:12 +02:00
Bereng
957c6264ef
Nodetool setcachecapacity behaves oddly when cache disabled
...
patch by Michal Szczepanski, Berenguer Blasi; reviewed by Benjamin Lerer, Berenguer Blasi for CASSANDRA-#####
Co-authored-by: Michal Szczepanski
Co-authored-by: Berenguer Blasi <berenguerblasi@gmail.com>
2021-09-02 10:57:40 +02:00
Jeff Jirsa
7d59da4ab3
Catch read repair timeout exceptions and add metric
...
Patch by Jeff Jirsa; reviewed by Blake Eggleston, Ariel Weisberg, Caleb Rackliffe for CASSANDRA-16880
Co-authored by Jeff Jirsa <jjirsa@apple.com>
Co-authored by Josh McKenzie <jmckenzie@apache.org>
2021-09-01 11:47:15 -04:00
Marcus Eriksson
05e0892efe
Merge branch 'cassandra-4.0' into trunk
2021-09-01 10:51:46 +02:00
Marcus Eriksson
c36c081e5c
Delay auth setup until after gossip has settled to avoid unavailables on startup
...
Patch by marcuse; reviewed by Sam Tunnicliffe for CASSANDRA-16783
Co-authored-by: Caleb Rackliffe <calebrackliffe@gmail.com>
2021-09-01 10:49:02 +02:00
Caleb Rackliffe
e5621184d8
Merge branch 'cassandra-3.0' into cassandra-3.11
2021-08-31 16:34:02 -05:00
Caleb Rackliffe
f9d41ff836
Avoid signaling DigestResolver until the minimum number of responses are guaranteed to be visible
...
patch by Caleb Rackliffe; reviewed by Jon Meredith for CASSANDRA-16883
2021-08-31 16:22:25 -05:00
David Capwell
4e0d8e0d5e
Merge branch 'cassandra-4.0' into trunk
2021-08-31 08:39:18 -07:00
David Capwell
ca4f6b8056
org.apache.cassandra.db.rows.ArrayCell#unsharedHeapSizeExcludingData includes data twice
...
patch by David Capwell; reviewed by Caleb Rackliffe for CASSANDRA-16900
2021-08-31 08:38:06 -07:00
Benjamin Lerer
057f8e5007
Merge branch cassandra-4.0 into trunk
2021-08-31 16:59:06 +02:00
Benjamin Lerer
af17f136e5
Fix clustering order logic in CREATE MATERIALIZED VIEW
...
patch by Benjamin Lerer; reviewed by Zhao Yang for CASSANDRA-16898
2021-08-31 16:56:43 +02:00
Josh McKenzie
e1016cbb9c
Merge branch 'cassandra-4.0' into trunk
2021-08-27 15:49:23 -04:00
Chris Lohfink
f59411f1c9
Tolerate missing DNS entry when completing host replacement
...
patch by Chris Lohfink; reviewed by Brandon Williams for CASSANDRA-16873
Co-authored by Chris Lohfink <clohfink@apple.com>
Co-authored by Josh McKenzie <jmckenzie@apache.org>
2021-08-27 15:29:01 -04:00
Josh McKenzie
dfb465c2e0
Merge branch 'cassandra-4.0' into trunk
2021-08-27 15:11:37 -04:00
Alex Petrov
2b6799a394
Harden PrunableArrayQueue against Pruner implementations that might throw exceptions
...
patch by Alex Petrov; reviewed by Caleb Rackliffe and Jon Meredith for CASSANDRA-16866
Co-authored by Alex Petrov <oleksandr.petrov@gmail.com>
Co-authored by Josh McKenzie <jmckenzie@apache.org>
2021-08-27 15:08:39 -04:00
Caleb Rackliffe
33979e3c91
Merge branch 'cassandra-4.0' into trunk
2021-08-27 12:00:04 -05:00
Sam Tunnicliffe
585bc69291
Move RepairedDataInfo to the execution controller rather than the ReadCommand to avoid unintended sharing
...
patch by Caleb Rackliffe; reviewed by Sam Tunnicliffe and Alex Petrov for CASSANDRA-16721
Co-authored-by: Sam Tunnicliffe <sam@beobal.com>
Co-authored-by: Caleb Rackliffe <calebrackliffe@gmail.com>
2021-08-27 11:48:39 -05: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
Abi Palagashvili
ad24942481
Add TTL support to nodetool snapshots
...
Patch by Abi Palagashvili; Reviewed by Paulo Motta and Stefan Miklosovic for CASSANDRA-16789
Co-authored-by: Paulo Motta <pauloricardomg@gmail.com>
Co-authored-by: Stefan Miklosovic <smiklosovic@apache.org>
Closes #1046
2021-08-26 14:57:58 -03:00
Marcus Eriksson
f9b7c1e698
Allow CommitLogSegmentReader to optionally skip sync marker CRC checks
...
patch by Caleb Rackliffe; reviewed by Josh McKenzie for CASSANDRA-16842
Co-authored-by: Jordan West <jordanrw@gmail.com>
Co-authored-by: Caleb Rackliffe <calebrackliffe@gmail.com>
Co-authored-by: Marcus Eriksson <marcuse@apache.org>
2021-08-25 15:22:32 -05:00
Sam Tunnicliffe
39efc8307a
Merge branch 'cassandra-4.0' into trunk
2021-08-25 17:42:50 +01:00
Sam Tunnicliffe
b824273091
Remove assumption that all urgent messages are small
...
Patch by Sam Tunnicliffe; reviewed by Caleb Rackliffe for CASSANDRA-16877
2021-08-25 16:01:19 +01:00
Andrés de la Peña
5dd472e943
Merge branch 'cassandra-4.0' into trunk
2021-08-24 18:11:16 +01:00
Andrés de la Peña
31ce794d58
Merge branch 'cassandra-3.11' into cassandra-4.0
2021-08-24 18:08:49 +01:00
Andrés de la Peña
0c38f9dfb8
Merge branch 'cassandra-3.0' into cassandra-3.11
2021-08-24 18:06:04 +01:00
Andrés de la Peña
c76ff1ba14
Fix secondary indexes on primary key columns skipping some writes
...
patch by Andrés de la Peña; reviewed by Benjamin Lerer for CASSANDRA-16868
2021-08-24 17:57:53 +01:00
Stefan Miklosovic
ee81d8dff4
Merge branch 'cassandra-4.0' into trunk
2021-08-23 23:06:09 +02:00
Stefan Miklosovic
2dc7501fff
Merge branch 'cassandra-3.11' into cassandra-4.0
2021-08-23 22:48:49 +02:00
Stefan Miklosovic
c562f1e78d
validate SASI tokenizer options before adding index to schema
...
patch by Stefan Miklosovic; reviewed by Andrés de la Peña for CASSANDRA-15135
2021-08-23 22:27:09 +02:00
Josh McKenzie
ec2be8e574
Merge branch 'cassandra-4.0' into trunk
2021-08-23 10:57:27 -04:00
Josh McKenzie
ddcf3e6aba
Avoid logging full stack trace when index summary redistribution is cancelled
...
patch by jmckenzie; reviewed by blerer for CASSANDRA-16865
2021-08-23 10:56:01 -04:00
David Capwell
4b3f07fc74
allow blocking IPs from updating metrics about traffic
...
patch by David Capwell; reviewed by Benjamin Lerer, Caleb Rackliffe, Jon Meredith for CASSANDRA-16859
2021-08-20 17:24:16 -07:00
Caleb Rackliffe
d220d24994
Request-Based Native Transport Rate-Limiting
...
patch by Caleb Rackliffe; reviewed by Benedict Elliott Smith and Josh McKenzie for CASSANDRA-16663
2021-08-19 10:55:58 -05:00
Stefan Miklosovic
b286639eea
implement getauditlog command
...
patch by Stefan Miklosovic; reviewed by Ekaterina Dimitrova, Mick Semb Wever for CASSANDRA-16725
2021-08-19 11:09:36 +02:00
Bereng
0581820259
Merge branch 'cassandra-4.0' into trunk
2021-08-19 07:41:04 +02:00
Bereng
f80b177f6f
Merge branch 'cassandra-3.11' into cassandra-4.0
2021-08-19 07:38:07 +02:00
Bereng
23b61a5fa1
Prevent broken concurrent schema pulls
...
patch by Dimitar Dimitrov and Berenguer Blasi; reviewed by Brandon Williams, Berenguer Blasi for CASSANDRA-16856
Co-authored-by: Dimitar Dimitrov <dmtrndmtrv@gmail.com>
Co-authored-by: Berenguer Blasi <berenguerblasi@gmail.com>
2021-08-19 07:34:31 +02:00
Simon Zhou
fd3eb4fd9e
Clean up repair code
...
patch by Simon Zhou; reviewed by Ekaterina Dimitrova and Andrés de la Peña for CASSANDRA-13720
2021-08-17 20:46:30 -04:00
Ekaterina Dimitrova
5b325b8c51
Merge branch 'cassandra-4.0' into trunk
2021-08-17 15:16:33 -04:00
Ekaterina Dimitrova
cb19b39827
Merge branch 'cassandra-3.11' into cassandra-4.0
2021-08-17 15:13:30 -04:00
Sylvain Lebresne
e581a85b93
Fixup scrub output when no data post-scrub and clear up old use of row, which really means partition
...
patch by Ekaterina Dimitrova; reviewed by Brandon Williams for CASSANDRA-16835
Co-authored-by: Sylvain Lebresne <lebresne@gmail.com>
Co-authored-by: Ekaterina Dimitrova <ekaterina.dimitrova@datastax.com>
2021-08-17 15:03:41 -04:00
Stefan Miklosovic
0f836cc4b4
Merge branch 'cassandra-3.0' into cassandra-3.11
2021-08-16 15:56:36 +02:00
Stefan Miklosovic
ad139da84c
fix incorrect error message in LegacyLayout
2021-08-13 15:18:43 +02:00
Bereng
913d541ee9
Merge branch 'cassandra-4.0' into trunk
2021-08-13 08:48:16 +02:00
Bereng
f242ccbedd
Merge branch 'cassandra-3.11' into cassandra-4.0
2021-08-13 08:45:06 +02:00
Bereng
99e1fcc251
Materialized views incorrect quoting of UDF
...
patch by Andres de la Peña, Jakub Zytka, Berenguer Blasi; reviewed by Andres de la Peña, Jakub Zytka for CASSANDRA-16836
Co-authored-by: Andres de la Peña <a.penya.garcia@gmail.com>
Co-authored-by: Jakub Zytka <jakub.zytka@datastax.com>
Co-authored-by: Berenguer Blasi <berenguerblasi@gmail.com>
2021-08-13 08:40:36 +02:00
David Capwell
39af4a5490
Merge branch 'cassandra-4.0' into trunk
2021-08-11 13:23:27 -07:00
David Capwell
979ab72f4f
ArrayClustering.unsharedHeapSize does not include the data so undercounts the heap size
...
patch by David Capwell; reviewed by Blake Eggleston for CASSANDRA-16845
2021-08-11 13:19:09 -07:00
Yifan Cai
8acbbe042b
Background schedule to clean up orphaned hints files
...
patch by Yifan Cai; reviewed by Brandon Williams, Chris Lohfink for CASSANDRA-16815
2021-08-10 21:48:16 -07:00
Caleb Rackliffe
6a1b20e58d
Modify SecondaryIndexManager#indexPartition() to retrieve only columns for which indexes are actually being built
...
patch by Caleb Rackliffe and Sam Tunnicliffe; reviewed by Benedict Elliott Smith and Aleksei Zotov for CASSANDRA-16776
2021-08-10 15:42:55 -05:00
Andrés de la Peña
6fbe736bc2
Merge branch 'cassandra-4.0' into trunk
2021-08-06 19:05:27 +01:00
Andrés de la Peña
762df84f6c
Merge branch 'cassandra-3.11' into cassandra-4.0
2021-08-06 19:05:13 +01:00
Andrés de la Peña
952df13f25
Merge branch 'cassandra-3.0' into cassandra-3.11
2021-08-06 18:33:16 +01:00
Dmitrii Saprykin
acf38bf7a1
Use JMX to validate nodetool --jobs parameter
...
patch by Dmitrii Saprykin; reviewed by Andrés de la Peña and Benjamin Lerer for CASSANDRA-16104
Co-authored-by: Andrés de la Peña <a.penya.garcia@gmail.com>
Co-authored-by: Daniel Jatnieks <jatnieks@pobox.com>
Co-authored-by: Dmitrii Saprykin <dmitrii.saprykin@nih.gov>
2021-08-06 18:22:03 +01:00
Marcus Eriksson
cb370350a7
Avoid sending CDC column if not enabled
...
Patch by marcuse; reviewed by Aleksei Zotov, Benjamin Lerer, Michael Semb Wever for CASSANDRA-16770
2021-08-04 10:34:56 +02:00
Mick Semb Wever
7d14d3aa90
Merge branch 'cassandra-4.0' into trunk
2021-08-01 15:44:34 +02:00
Mick Semb Wever
8c406b259b
Merge branch 'cassandra-3.11' into cassandra-4.0
2021-08-01 15:43:21 +02:00
Mick Semb Wever
f575eea034
HintsBuffer rewriten CAS loops to atomic adds, CommitLogSegment adds ConstantBackoffCAS Algorithm
...
patch by Mick Semb Wever; reviewed by Berenguer Blasi, Benjamin Lerer for CASSANDRA-16072
2021-08-01 15:40:47 +02:00
Andrés de la Peña
4e2464d44e
Merge branch 'cassandra-4.0' into trunk
2021-07-30 18:12:01 +01:00
Andrés de la Peña
d319352fa8
Improve help, doc and error messages about sstabledump -k and -x arguments
...
patch by Andrés de la Peña; reviewed by Ekaterina Dimitrova for CASSANDRA-16818
2021-07-30 18:05:22 +01:00
Benjamin Lerer
e9ab8f3193
Merge branch cassandra-4.0 into trunk
2021-07-30 12:24:39 +02:00
Benjamin Lerer
f09ef63310
Merge branch cassandra-3.11 into cassandra-4.0
2021-07-30 12:17:06 +02:00
Benjamin Lerer
a88f4b3f06
Merge branch cassandra-3.0 into cassandra-3.11
2021-07-30 12:02:09 +02:00
Doug Rohrer
e399dea959
Handle properly UnsatisfiedLinkError in NativeLibrary#getProcessID()
...
patch by Doug Rohrer; reviewed by Benjamin Lerer and David Capwell for
CASSANDRA-16578
2021-07-30 11:57:54 +02:00
Jay Zhuang
f66182415b
Batch the token metadata update to improve the speed
...
patch by Jay Zhuang; reviewed by Benjamin Lerer and Brandon Williams for
CASSANDRA-15291
2021-07-30 10:28:19 +02:00
Andrés de la Peña
592d5e336d
Merge branch 'cassandra-4.0' into trunk
2021-07-29 12:06:26 +01:00
Andrés de la Peña
bc51c57b0d
Merge branch 'cassandra-3.11' into cassandra-4.0
2021-07-29 12:06:17 +01:00
Andrés de la Peña
01add65597
Merge branch 'cassandra-3.0' into cassandra-3.11
2021-07-29 12:03:03 +01:00
Andrés de la Peña
69b653a01f
Remove mutation data from error log message
...
patch by Andrés de la Peña; reviewed by Brandon Williams for CASSANDRA-16817
Co-authored-by: Aleksandr Sorokoumov <aleksandr.sorokoumov@gmail.com>
2021-07-29 11:59:55 +01:00
xiang.wang
fd5dcc51cb
MerkleTrees variables renaming tree -> trees.
...
Patch by Xiang Wang; reviewed by Aleksei Zotov, Benjamin Lerer and Ekaterina Dimitrova
2021-07-28 14:55:58 +02:00
Brandon Williams
236ab2f087
Merge branch 'cassandra-4.0' into trunk
2021-07-23 11:25:12 -05:00
Brandon Williams
35d8777984
Merge branch 'cassandra-3.11' into cassandra-4.0
2021-07-23 11:24:43 -05:00
Brandon Williams
e5bc2574a5
Merge branch 'cassandra-3.0' into cassandra-3.11
2021-07-23 11:24:24 -05:00
Vincent White
1205a9de22
Don't allow seeds to replace without using unsafe
...
Patch by Vincent White; reviewed by brandonwilliams and edimitrova for
CASSANDRA-14463
2021-07-23 11:22:51 -05:00
Marcus Eriksson
f49c29ee8c
Reduce the log level on "expected" repair exceptions
...
patch by Caleb Rackliffe and Marcus Eriksson; reviewed by Josh McKenzie for CASSANDRA-16775
2021-07-21 16:21:23 -05:00
Brandon Williams
818e0baa62
Merge branch 'cassandra-4.0' into trunk
2021-07-21 14:14:30 -05:00
Brandon Williams
0779160c25
Merge branch 'cassandra-3.11' into cassandra-4.0
2021-07-21 14:14:21 -05:00
Brandon Williams
87645a9256
Merge branch 'cassandra-3.0' into cassandra-3.11
2021-07-21 14:07:54 -05:00
Brandon Williams
426253a340
Calculate time remaining correctly for all compaction types in compactionstats
...
Patch by brandonwilliams; reviewed by adelapena for CASSANDRA-14701
2021-07-21 13:57:23 -05:00
Caleb Rackliffe
29cc615faf
Merge branch 'cassandra-4.0' into trunk
2021-07-21 12:57:29 -05:00
Caleb Rackliffe
b91dcce865
Merge branch 'cassandra-4.0.0' into cassandra-4.0
2021-07-21 12:47:29 -05:00
Caleb Rackliffe
93496e826e
Avoid signaling DigestResolver until the minimum number of responses are guaranteed to be visible
...
patch by Caleb Rackliffe; reviewed by Andrés de la Peña and Benedict Elliott Smith for CASSANDRA-16807
2021-07-21 12:43:24 -05:00
Caleb Rackliffe
c1f235f71d
Merge branch 'cassandra-4.0' into trunk
2021-07-21 12:11:16 -05:00
Caleb Rackliffe
cdf68e39ba
Merge branch 'cassandra-4.0.0' into cassandra-4.0
2021-07-21 12:09:06 -05:00
Jon Meredith
4d4e1e88d0
Fix pre-4.0 FWD_FRM parameter serializer
...
patch by Jon Meredith; reviewed by Caleb Rackliffe and Brandon Williams for CASSANDRA-16808
2021-07-21 11:50:43 -05:00
Sam Tunnicliffe
fcea6a5509
Merge branch 'cassandra-4.0' into trunk
2021-07-20 19:32:39 +01:00
Sam Tunnicliffe
64ec400ab6
Merge branch 'cassaNDRA-3.11' into cassandra-4.0
2021-07-20 19:31:56 +01:00
Sam Tunnicliffe
b604bd20cd
Merge branch 'cassandra-3.0' into cassandra-3.11
2021-07-20 19:00:25 +01:00
Sam Tunnicliffe
fbb20b9162
Receipt of gossip shutdown updates TokenMetadata
...
Patch by Sam Tunnicliffe; reviewed by Caleb Rackliffe for
CASSANDRA-16796
2021-07-20 18:10:48 +01:00
Brandon Williams
a9abf5accb
Merge branch 'cassandra-4.0' into trunk
2021-07-19 07:35:49 -05:00
Brandon Williams
a2955d9b34
Merge branch 'cassandra-3.11' into cassandra-4.0
2021-07-19 07:34:53 -05:00
Brandon Williams
b5f0f4cd4c
Merge branch 'cassandra-3.0' into cassandra-3.11
2021-07-19 07:33:53 -05:00
Aleksei Zotov
87424dabd2
Count bloom filter misses correctly.
...
Patch by Aleksei Zotov; reviewed by blerer and blambov for
CASSANDRA-12922
2021-07-19 07:32:39 -05:00
Yifan Cai
845077fbc8
Make JMXTimer expose attributes using consistent time unit
...
patch by Yifan Cai; reviewed by Caleb Rackliffe for CASSANDRA-16760
2021-07-16 10:22:06 -07:00
Benjamin Lerer
42ddac3da4
Merge branch 'cassandra-4.0' into trunk
2021-07-16 18:42:30 +02:00
Benjamin Lerer
5adc3100b2
Merge branch cassandra-3.11 into cassandra-4.0
2021-07-16 18:41:59 +02:00
Benjamin Lerer
01734645d4
Merge branch cassandra-3.0 into cassandra-3.11
2021-07-16 18:25:15 +02:00
Krishna Koneru
44604b7316
Reject token() in MV WHERE clause
...
Patch by Krishna Koneru and Damien Stevenson; review by Benjamin Lerer,
Brandon Williams and Zhao Yang for CASSANDRA-13464
Co-authored-by: Krishna Koneru <krishna.koneru@instaclustr.com>
Co-authored-by: Damien Stevenson <damien@localhost.damien>
2021-07-16 18:11:49 +02:00
Caleb Rackliffe
de1d7d76a1
Merge branch 'cassandra-3.0' into cassandra-3.11
2021-07-15 15:07:46 -05:00
Sumanth Pasupuleti
e8f961f403
Make speculative retry parameter case-insensitive for backward compatibility with 2.1
...
patch by Sumanth Pasupuleti; reviewed by Caleb Rackliffe and Ekaterina Dimitrova for CASSANDRA-16467
2021-07-15 15:00:57 -05:00
Brandon Williams
00af9a6d3a
Merge branch 'cassandra-3.0' into cassandra-3.11
2021-07-14 10:01:48 -05:00
Robert Stupp
3d59557ace
don't log DigestMismatchException at DEBUG
...
patch by Robert Stupp and Aleksandr Soromoukov, reviewed by edimitrova
and brandonwilliams for CASSANDRA-14900
2021-07-14 09:59:24 -05:00
Brandon Williams
e1a2f575f4
Merge branch 'cassandra-4.0' into trunk
2021-07-13 10:27:56 -05:00
Brandon Williams
e0aa3651e2
Merge branch 'cassandra-4.0.0' into cassandra-4.0
2021-07-13 10:27:47 -05:00
Brandon Williams
43b750341e
Correct fwd to/from messages for backward compatibility
...
Patch by brandonwilliams, reviewed by aleksey for CASSANDRA-16797
2021-07-13 10:27:30 -05:00
kurt
15c22fa2f1
Backport CASSANDRA-7950 (Support long names in nodetool output)
...
this patch also backports chronological sorting of output for compactionhistory command found in versions from 3.2 included (CASSANDRA-10464)
patch by Kurt Greaves; reviewed by Stefan Miklosovic and Ekaterina Dimitrova for CASSANDRA-14162
2021-07-13 16:50:42 +02:00
Aleksandr Sorokoumov
2a8e01858f
Make cqlsh use the same set of reserved keywords than the server uses
...
patch by Aleksandr Sorokoumov; reviewed by Andrés de la Peña and Ekaterina Dimitrova for CASSANDRA-15663
Co-authored-by: Aleksandr Sorokoumov <aleksandr.sorokoumov@gmail.com>
Co-authored-by: Ekaterina Dimitrova <ekaterina.dimitrova@datastax.com>
Co-authored-by: Andrés de la Peña <a.penya.garcia@gmail.com>
2021-07-13 11:45:25 +01:00
Benjamin Lerer
58515c2de6
Merge branch cassandra-4.0 into trunk
2021-07-12 13:09:24 +02:00
Benjamin Lerer
330cde6610
Merge branch cassandra-4.0.0 into cassandra-4.0
2021-07-12 12:58:14 +02:00
Benjamin Lerer
b42855282d
Fix CassandraVersion::compareTo
...
patch by Benjamin Lerer; reviewed by Michael Semb Wever for CASSANDRA-16774
2021-07-12 12:42:33 +02:00
artsiom
fbf101072a
Remove check on gossip status from DynamicEndpointSnitch::updateScores
...
patch by Artsiom Yudovin; reviewed by Benjamin Lerer and Brandon Williams
for CASSANDRA-11671
2021-07-08 14:53:30 +02:00
Benjamin Lerer
5ef097477c
Merge branch cassandra-4.0 into trunk
2021-07-08 12:49:48 +02:00
Benjamin Lerer
bff4e54cdd
Merge branch cassandra-3.11 into cassandra-4.0
2021-07-08 12:21:24 +02:00
Sam Klock
f49b86dc47
Optimize bytes skipping when reading SSTables
...
patch by Samuel Klock; reviewed by Benedict Elliott Smith, Benjamin Lerer
and Kurt Greaves for CASSANDRA-1441
2021-07-08 12:14:58 +02:00
Benjamin Lerer
1207891054
Merge branch cassandra-4.0 into trunk
2021-07-07 18:43:02 +02:00
Benjamin Lerer
68af597e01
Merge branch 'cassandra-3.11' into cassandra-4.0
2021-07-07 18:38:56 +02:00
Benjamin Lerer
415a890490
Merge branch cassandra-3.0 into cassandra-3.11
2021-07-07 18:37:33 +02:00
David Capwell
68bf950f72
BinLog does not close chronicle queue leaving this to GC to cleanup
...
patch by David Capwell; reviewed by Caleb Rackliffe, Marcus Eriksson for CASSANDRA-16774
2021-07-07 11:09:27 -05:00
zersek
eadb171d5d
Handle correctly the exceptions thrown by custom QueryHandler constructors
...
patch by Zoltan Ersek; reviewed by Benjamin Lerer and Brandon Williams for
CASSANDRA-16703
2021-07-07 16:40:00 +02:00
Andrés de la Peña
e6a311f689
Fix AbstractReadQuery::toCQLString not returning valid CQL
...
patch by Andrés de la Peña; reviewed by Benjamin Lerer for CASSANDRA-16510
2021-07-06 13:20:34 +01:00
Brandon Williams
cc3d59af53
Merge branch 'cassandra-4.0' into trunk
2021-07-02 13:50:17 -05:00
Brandon Williams
8af0f90a52
Merge branch 'cassandra-3.11' into cassandra-4.0
2021-07-02 13:50:03 -05:00
Brandon Williams
fd9a2820a1
Enable tombstone compactions when UNCHECKED_TOMBSTONE_COMPACTION_OPTION is set
...
Patch by Alexander Ivakov and brandonwilliams, reviewed by marcuse for
CASSANDRA-14496
2021-07-02 13:49:28 -05:00
David Capwell
c61196643d
Merge branch 'cassandra-4.0' into trunk
2021-07-02 11:32:31 -07:00
David Capwell
bb3a39ad4d
BinLog does not close chronicle queue leaving this to GC to cleanup
...
patch by David Capwell; reviewed by Caleb Rackliffe, Marcus Eriksson for CASSANDRA-16774
2021-07-02 11:31:20 -07:00
Marcus Eriksson
296f65e8d1
Log when compacting many tombstones
...
Patch by marcuse; reviewed by Brandon Williams for CASSANDRA-16780
2021-07-02 09:36:06 +02:00
Marcus Eriksson
3f6f7be63f
Display bytes per level in tablestats for LCS tables
...
Patch by marcuse; reviewed by Brandon Williams for CASSANDRA-16779
2021-07-02 09:32:28 +02:00
Brandon Williams
d5e8e81993
Merge branch 'cassandra-4.0' into trunk
2021-07-01 14:27:34 -05:00
Josh Turner
d7270725a1
Add repaired/unrepaired bytes back to nodetool
...
Patch by Josh Turner, reviewed by marcuse and brandonwilliams for
CASSANDRA-15282
2021-07-01 14:26:53 -05:00
Benjamin Lerer
dfc3dbc18d
Merge branch cassandra-4.0 into trunk
2021-07-01 14:08:52 +02:00
Benjamin Lerer
2fb3d9e7ac
Merge branch cassandra-3.11 into cassandra-4.0
2021-07-01 14:08:15 +02:00
Benjamin Lerer
3aa49b9ff8
Read only the required SSTables for single partition queries
...
patch by Benjamin Lerer; reviewed by Caleb Rackliffe and Ekaterina Dimitrova
for CASSANDRA-16737
The patches rely on the fact that if a row has some primary key liveness then
the row is guaranty to exist even if some of the non-primary key columns are
deleted later on by deletions coming from other nodes. By consequence,
when reading SSTables in a time ordered way once C* find a row with a primary key liveness
and all the queried columns it can safely stop reading extra SSTables.
That approach will not work for COMPACT tables has they do not have a primary key liveness information.
Due to that for COMPACT tables C* will still need to retrieve all the fetched columns to ensure that
it can returns the correct results.
That approach will also not work for scenarios where the row has been inserted through only UPDATE statements
as those statements do not set the primary key liveness information.
2021-07-01 13:27:20 +02:00
Brandon Williams
4c4e84fe78
Merge branch 'cassandra-4.0' into trunk
2021-06-29 16:00:11 -05:00
Brandon Williams
96884ee705
Merge branch 'cassandra-3.11' into cassandra-4.0
2021-06-29 15:59:50 -05:00
Brandon Williams
c3ae22d654
Merge branch 'cassandra-3.0' into cassandra-3.11
2021-06-29 15:58:38 -05:00
Brandon Williams
2d8b304e75
Ninja fix comments saying mx4j defaults to 0.0.0.0
...
CASSANDRA-13574
2021-06-29 15:57:55 -05:00
Yifan Cai
e10ed27cfe
Merge branch 'cassandra-4.0' into trunk
2021-06-26 22:14:14 -07:00
Yifan Cai
1a10792b47
Merge branch 'cassandra-4.0.0' into cassandra-4.0
2021-06-26 22:12:47 -07:00
Marcus Eriksson, Jon Meredith
2fba5c80ce
Avoid memoizing the wrong min cluster version during upgrades
...
patch by Marcus Eriksson, Jon Meredith; reviewed by Brandon Williams, Yifan Cai for CASSANDRA-16759
2021-06-26 21:55:05 -07:00
Caleb Rackliffe
5f23e6d766
Add isolated flush timer to CommitLogMetrics and ensure writes correspond to single WaitingOnCommit data points
...
patch by Caleb Rackliffe; reviewed by Yifan Cai for CASSANDRA-16701
2021-06-23 14:25:12 -05:00
Brandon Williams
aacbdce0d2
Merge branch 'cassandra-3.0' into cassandra-3.11
2021-06-21 14:45:36 -05:00
Brandon Williams
6563a61cb5
ninja: make Config default match yaml for dropping compact storage
2021-06-21 14:44:02 -05:00
Marcus Eriksson
eff1c38263
Merge branch 'cassandra-4.0' into trunk
2021-06-21 15:52:27 +02:00
Marcus Eriksson
bc511581af
Merge branch 'cassandra-4.0.0' into cassandra-4.0
2021-06-21 15:52:16 +02:00
Marcus Eriksson
9494240420
Merge branch 'cassandra-3.11' into cassandra-4.0.0
2021-06-21 15:51:40 +02:00
Marcus Eriksson
6301bea273
Merge branch 'cassandra-3.0' into cassandra-3.11
2021-06-21 15:46:51 +02:00
Marcus Eriksson
1d87da3f6f
Adding columns via ALTER TABLE can generate corrupt sstables
...
Patch by marcuse; reviewed by Alex Petrov and Sam Tunnicliffe for CASSANDRA-16735
2021-06-21 15:42:30 +02:00
Bereng
968b506722
Merge branch 'cassandra-4.0' into trunk
2021-06-21 08:37:40 +02:00
Bereng
1af4c425e2
Merge branch 'cassandra-4.0.0' into cassandra-4.0
2021-06-21 08:35:57 +02:00
Bereng
a4af55fe2a
Flaky AlibabaCloudSnitchTest
...
patch by Berenguer Blasi; reviewed by Ekaterina Dimitrova for CASSANDRA-16750
2021-06-21 08:32:09 +02:00
Mick Semb Wever
ce422e571b
Merge branch 'cassandra-4.0' into trunk
2021-06-20 18:06:32 +02:00
Zoltan Ersek
6c8f6bd663
DiagnosticEventService.publish was logging logs events without an overridden toString, fixed to use toMap() in logs
...
patch by Zoltan Ersek; reviewed by Mick Semb Wever for CASSANDRA-16749
2021-06-20 18:00:08 +02:00
Benjamin Lerer
c9130d454c
Merge branch cassandra-4.0 into trunk
2021-06-18 15:17:52 +02:00
Benjamin Lerer
d51f9d2655
Merge branch cassandra-4.0.0 into cassandra-4.0
2021-06-18 15:15:00 +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
Andrés de la Peña
c3a468c669
Merge branch 'cassandra-4.0' into trunk
2021-06-16 17:56:43 +01:00
Andrés de la Peña
2573b08726
Merge branch 'cassandra-4.0.0' into cassandra-4.0
2021-06-16 17:50:06 +01:00
Andrés de la Peña
d844b4b406
Merge branch 'cassandra-3.0' into cassandra-3.11
...
# Conflicts:
# CHANGES.txt
2021-06-16 17:43:31 +01:00
Andrés de la Peña
e97b8fba11
Clean transaction log leftovers at the beginning of sstablelevelreset and sstableofflinerelevel
...
patch by Andrés de la Peña; reviewed by Berenguer Blasi and Stefania Alborghetti for CASSANDRA-12519
2021-06-16 17:40:08 +01:00
Brandon Williams
597558f4e3
Merge branch 'cassandra-4.0' into trunk
2021-06-15 14:53:17 -05:00
Brandon Williams
379976d8e6
Merge branch 'cassandra-4.0.0' into cassandra-4.0
2021-06-15 14:50:36 -05:00
Brandon Williams
658e08dc7e
add and use Gossiper.clearUnsafe to fix LeaveAndBootstrapTest
...
Patch by brandonwilliams, reviewed by adelapena for CASSANDRA-16689
2021-06-15 14:50:20 -05:00
Stefan Miklosovic
5d3b698c65
Merge branch 'cassandra-4.0' into trunk
2021-06-15 14:41:20 +02:00
Stefan Miklosovic
6d21bd92c1
Merge branch 'cassandra-4.0.0' into cassandra-4.0
2021-06-15 14:37:01 +02:00
Sumanth Pasupuleti
f978bea272
Obfuscate passwords in statements in QueryEvents
...
patch by Sumanth Pasupuleti; reviewed by Ekaterina Dimitrova, Stefan Miklosovic and Vinay Chella for CASSANDRA-16669
2021-06-15 14:31:59 +02:00
Mick Semb Wever
a978754691
Merge branch 'cassandra-4.0' into trunk
2021-06-12 11:55:19 +02:00
Mick Semb Wever
d93e43ed9b
Cleanup dependencies scopes
...
patch by Angelo Polo; reviewed by Mick Semb Wever for CASSANDRA-16704
Co-authored-by: Angelo Polo <language.devel@gmail.com>
2021-06-12 11:51:11 +02:00
Benjamin Lerer
aaf653700f
Merge branch cassandra-4.0 into trunk
2021-06-11 10:57:41 +02:00
Benjamin Lerer
7d4ee38acf
Merge branch 'cassandra-4.0.0' into cassandra-4.0
2021-06-11 10:57:00 +02:00
Benjamin Lerer
351c659598
Merge branch cassandra-3.11 into cassandra-4.0.0
2021-06-11 10:56:28 +02:00
Benjamin Lerer
5a7326da54
Merge branch cassandra-3.0 into cassandra-3.11
2021-06-11 10:33:22 +02:00
Benjamin Lerer
24346d1789
Ensure that existing empty rows are properly returned
...
patch by Benjamin Lerer; reviewed by Caleb Rackliffe for CASSANDRA-16671
2021-06-11 10:31:27 +02:00
Benjamin Lerer
67cab368bc
Merge branch cassandra-4.0 into trunk
2021-06-10 11:14:49 +02:00
Benjamin Lerer
c9734e3211
Merge branch cassandra-4.0.0 into cassandra-4.0
2021-06-10 11:05:42 +02:00
Benjamin Lerer
2059c7586e
Fix queries on empty partitions with static data
...
patch by Benjamin Lerer; reviewed by Andrés de la Peña and Jacek
Lewandowski for CASSANDRA-16686
When an CQL query is done at the partition level (without clustering or
regular column restrictions), if a partition does not contains any row but
contains some static columns a row will be returned to the user with null
values for all the clustering and regular columns.
Since CASSANDRA-12768, Cassandra fetch all the regular columns but only
the static columns that have been selected by the user. By consequence,
Cassandra will fetch only s1 for the SELECT s1 FROM %s WHERE pk=1 query
from the description example. Due to that it will NOT attempt to fetch the
s2 value and will look only at the third and second SSTables. The
partition having no value for s1 Cassandra will consider the partition
empty and will not return a row for it as it should.
The patch fix the issue by adding all the static columns to the fetched
columns when the query is at the partition level (without clustering or
regular column restrictions). Unfortunately as 4.0-rc1 has been released
we need to ensure backward compatibility with it in a mixed cluster
environment. To ensure that some extra changes were required in
ColumnFilter and in Gossiper.
2021-06-10 11:03:12 +02:00
Sam Tunnicliffe
922872b38f
Merge branch 'cassandra-4.0' into trunk
2021-06-09 16:09:58 +01:00
Sam Tunnicliffe
c7795ee62c
Merge branch 'cassandra-4.0.0' into cassandra-4.0
2021-06-09 16:09:11 +01:00
Sam Tunnicliffe
546792169e
Init client metrics in CQLConnectionTest
...
Patch by Sam Tunnicliffe; reviewed by Mick Semb Wever for CASSANDRA-16722
2021-06-09 16:05:07 +01:00
fibersel
33ff36cc42
Add a system property to set hostId if not yet initialized
...
patch by Abi Palagashvili; reviewed by Stefan Miklosovic and Paulo Motta for CASSANDRA-14582
2021-06-07 21:01:44 +02:00
Ekaterina Dimitrova
4fd2124572
Merge branch 'cassandra-4.0' into trunk
2021-06-04 18:42:35 -04:00
Ekaterina Dimitrova
f83f2a3570
Merge branch 'cassandra-4.0.0' into cassandra-4.0
2021-06-04 18:41:51 -04:00
Ekaterina Dimitrova
159469834a
Ignore SlidingTimeRateTest tests
...
patch by Ekaterina Dimitrova, reviewed by Brandon Williams for CASSANDRA-16713
2021-06-04 18:38:45 -04:00
Benjamin Lerer
dc8ccb7fb9
Merge branch cassandra-3.0 into cassandra-3.11
2021-06-04 13:13:45 +02:00
Benjamin Lerer
0e1f217079
Invalidate prepared statements on DROP COMPACT
...
patch by Benjamin Lerer; reviewed by Michael Semb Wever for CASSANDRA-16712
2021-06-04 13:11:48 +02:00
Caleb Rackliffe
2227057ac3
Merge branch 'cassandra-4.0' into trunk
2021-06-03 13:36:52 -05:00
Caleb Rackliffe
e6946e7ddb
Make JmxHistogram#getRecentValues() thread-safe
...
patch by Caleb Rackliffe; reviewed by Brandon Williams and Yifan Cai for CASSANDRA-16707
2021-06-03 13:28:35 -05:00
Marcus Eriksson
bedf6ca998
Merge branch 'cassandra-4.0' into trunk
2021-06-02 10:27:33 +02:00
Marcus Eriksson
aef535cae1
Temporarily remove overlap check in tests
...
Patch by marcuse; reviewed by Berenguer Blasi and Ekaterina Dimitrova for CASSANDRA-16637
2021-06-02 10:26:28 +02:00
David Capwell
3af9b0a796
Merge branch 'cassandra-4.0' into trunk
2021-06-01 20:52:33 -07:00
David Capwell
0f25d1e31c
Merge branch 'cassandra-3.11' into cassandra-4.0
2021-06-01 20:50:43 -07:00
David Capwell
56b979bec6
Merge branch 'cassandra-3.0' into cassandra-3.11
2021-06-01 20:49:34 -07:00
David Capwell
9c50b1f9a1
Failure to execute queries should emit a KPI other than read timeout/unavailable so it can be alerted/tracked
...
patch by David Capwell; reviewed by Sam Tunnicliffe for CASSANDRA-16581
2021-06-01 20:48:30 -07:00
Yifan Cai
326802e583
Merge branch 'cassandra-3.11' into cassandra-4.0
2021-05-31 11:19:11 -07:00
Alexey Zotov
803a23b2f1
Fix LeveledCompactionStrategy compacts last level throw an ArrayIndexOutOfBoundsException
...
patch by Alexey Zotov; reviewed by Marcus Eriksson, Yifan Cai for CASSANDRA-15669
2021-05-31 11:17:51 -07:00
Blake Eggleston
80ea99dc1d
Merge branch 'cassandra-3.11' into cassandra-4.0
2021-05-28 16:28:33 -07:00
Blake Eggleston
85358bece3
Merge branch 'cassandra-3.0' into cassandra-3.11
2021-05-28 16:04:13 -07:00
Blake Eggleston
5f09226a0d
Don't wait on schema versions from replacement target when replacing a node
...
patch by Blake Eggleston; reviewed by Brandon Williams for CASSANDRA-16692
2021-05-28 15:57:38 -07:00
David Capwell
d69ea28216
Merge branch 'cassandra-3.11' into cassandra-4.0
2021-05-21 16:54:32 -07:00
David Capwell
54f73083a2
Merge branch 'cassandra-3.0' into cassandra-3.11
2021-05-21 16:52:54 -07:00
David Capwell
d2da11d537
StandaloneVerifier does not fail when unable to verify SSTables, it only fails if Corruption is thrown
...
patch by David Capwell; reviewed by Marcus Eriksson for CASSANDRA-16683
2021-05-21 16:51:47 -07:00
Matt Fleming
8cd02afce9
Spin up SEPWorker threads whenever we grow the number of work permits
...
authored by Matt Fleming, reviewed by Jon Meredith, Andres de la Pena, Ekaterina Dimitrova for CASSANDRA-16668
2021-05-21 14:20:42 -04:00
Brandon Williams
ae84406670
Merge branch 'cassandra-3.11' into cassandra-4.0
2021-05-18 14:23:43 -05:00
Brandon Williams
24bd7d60aa
Merge branch 'cassandra-3.0' into cassandra-3.11
2021-05-18 14:23:24 -05:00
Jaroslaw Grabowski
4e5bd572f4
Bloom false positive rate includes true negatives
...
Patch by Jaroslaw Grabowski; reviewed by brandonwilliams and paulo for
CASSANDRA-15384
Before this change the bloom filter false positive rate was calculated
without true negatives which resulted in high rates. In an extreme case,
where all queries return no data, the false positive rate could go up to
1.0.
This change includes true negatives in [recent] bloom filter false ratio.
2021-05-18 14:20:26 -05:00
Ekaterina Dimitrova
326d61e835
Remove drivers dependency and bring cql_keywords_reserved on server side
...
authored and reviewed by Ekaterina Dimitrova, Adam Holmberg and Andres de la Pena for CASSANDRA-16659
2021-05-17 08:57:39 -04:00
jacek-lewandowski
d35f36cd05
Fix misplacement of originatingHostId in stats metadata
...
patch by Jacek Lewandowski; reviewed by Benjamin Lerer for CASSANDRA-16619
2021-05-17 10:36:55 +02:00
Bereng
8a6dc6a723
Fix typo
...
patch by Berenguer Blasi; reviewed by Ekaterina Dimitrova for CASSANDRA-16661
2021-05-11 07:02:54 +02:00
Andrés de la Peña
fb76baa608
Fix DROP COMPACT STORAGE for counters
...
patch by Andrés de la Peña; reviewed by Benjamin Lerer and Ekaterina Dimitrova for CASSANDRA-16653
2021-05-07 17:50:13 +01:00
Brandon Williams
34a1e5f57a
Merge branch 'cassandra-3.11' into cassandra-4.0
2021-05-06 10:28:37 -05:00
Brandon Williams
b52c926584
Merge branch 'cassandra-3.0' into cassandra-3.11
2021-05-06 10:28:23 -05:00
Brandon Williams
4e370c7e88
Ninja: add comments for enums used in serialization
2021-05-06 10:27:46 -05:00
Adam Holmberg
a867abf030
Add back validation for AlterTableStatements
...
patch by Adam Holmberg; review by Ekaterina Dimitrova and Benjamin Lerer
for CASSANDRA-16643
2021-05-06 14:32:04 +02:00
Benjamin Lerer
c4fab930ca
Merge branch cassandra-3.11 into cassandra-4.0
2021-05-06 11:45:47 +02:00
Benjamin Lerer
d6ff4c4a35
Merge branch cassandra-3.0 into cassandra-3.11
2021-05-06 11:32:47 +02:00
jacek-lewandowski
d84c6e9810
Prevent loss of commit log data when moving sstables between nodes
...
patch by Jakub Zytka and Jacek Lewandowski; reviewed by Branimir Lambov and Benjamin Lerer for CASSANDRA-16619
Add originating host ID to sstable metadata
- md, me sstables
- add missing test cases in MetadataSerializerTest
Co-authored-by: Jakub Zytka <jakub.zytka@datastax.com>
Co-authored-by: Jacek Lewandowski <jacek.lewandowski@datastax.com>
2021-05-05 16:41:01 +02:00
Marcus Eriksson
4b018b5bf4
Make sure sstables with moved starts are removed correctly in LeveledGenerations (backported from 4.0)
...
Patch by marcuse; reviewed by Benedict Elliott Smith for CASSANDRA-16552
2021-04-30 07:32:38 +02:00
Brandon Williams
3a610066eb
Fix fat client removal race, show seed list when unable to contact any
...
seeds and warn when empty
Patch by brandonwilliams; reviewed by David Capwell for CASSANDRA-16238
2021-04-29 13:20:44 -05:00
Marcus Eriksson
f5a0c4c962
Merge branch 'cassandra-3.11' into trunk
2021-04-27 08:35:19 +02:00
Scott Carey
a68a7c5181
Nodetool garbagecollect should retain SSTableLevel for LCS
...
Patch by Scott Carey; reviewed by marcuse for CASSANDRA-16634
2021-04-27 08:34:17 +02:00
Brandon Williams
3bcab600ed
Merge branch 'cassandra-3.11' into trunk
2021-04-23 15:08:53 -05:00
Brandon Williams
9e1b8c051d
Merge branch 'cassandra-3.0' into cassandra-3.11
2021-04-23 15:08:28 -05:00
Brandon Williams
8fd046f255
Ninja fix typo in logging for CASSANDRA-16628
2021-04-23 15:08:22 -05:00
Andrés de la Peña
2c11dfcb5b
Merge branch 'cassandra-3.11' into trunk
2021-04-23 19:39:14 +01:00
Andrés de la Peña
d9cdf2d6d9
Merge branch 'cassandra-3.0' into cassandra-3.11
2021-04-23 19:19:52 +01:00
Andrés de la Peña
ca40e770a5
Fix materialized view builders inserting truncated data
...
patch by Andrés de la Peña; reviewed by Ekaterina Dimitrova for CASSANDRA-16567
2021-04-23 19:10:12 +01:00
Marcus Eriksson
2bd07ecab6
Minor nodetool verify fixes
...
Patch by marcuse; reviewed by Caleb Rackliffe and Jon Meredith for CASSANDRA-16608
2021-04-22 13:06:53 +02:00
Brandon Williams
6564fe39ac
Merge branch 'cassandra-3.11' into trunk
2021-04-21 17:29:04 -05:00
Brandon Williams
f6d19512c4
Ignore stale ack in shadow round
...
Patch by brandonwilliams, samt, and Matt Fleming, reviewed by samt for
CASSANDRA-16588
2021-04-21 17:27:10 -05:00
Gianluca Righetto
27cc2fc3e2
Allow for setting buffer max capacity to increase it dynamically as needed
...
patch by Gianluca Righetto; reviewed by Berenguer Blasi, Ekaterina Dimitrova and Zhao Yang
for CASSANDRA-16524
2021-04-21 14:22:01 +02:00
Jon Meredith
6fa5300682
Harden internode message resource limit accounting against serialization failures
...
patch by Jon Meredith; reviewed by Benjamin Lerer, David Capwell for CASSANDRA-16616
2021-04-20 10:26:33 -07:00
Yifan Cai
b915688ea8
Fix false unavailable for queries due to cluster topology changes
...
patch by Yifan Cai; reviewed by Aleksey Yeschenko, Andres de la Peña for CASSANDRA-16545
2021-04-15 08:55:20 -07:00
David Capwell
5cbdb2e58e
Periodic failures in *RepairCoordinator*Test caused by race condition with nodetool repair
...
patch by David Capwell; reviewed by Marcus Eriksson for CASSANDRA-16585
2021-04-13 11:47:30 -07:00