Stefan Miklosovic
be0c563097
Merge branch 'cassandra-3.0' into cassandra-3.11
2023-08-31 10:30:51 +02:00
Stefan Miklosovic
8bbf92a670
Refactor validation logic in StorageService.rebuild
...
patch by Stefan Miklosovic; reviewed by Ariel Weisberg for CASSANDRA-18803
2023-08-31 09:54:57 +02:00
Jon Meredith
bde4fa0013
Waiting indefinitely on ReceivedMessage response in StreamSession#receive() can cause deadlock
...
patch by Jon Meredith; reviewed by Caleb Rackliffe, David Capwell for CASSANDRA-18733
2023-08-29 10:42:03 -06:00
Andy Tolbert
b47bee42d3
Allow empty keystore_password in encryption_options
...
patch by Andy Tolbert; reviewed by Jon Meredith and Stefan Miklosovic for CASSANDRA-18778
2023-08-28 09:47:54 +02:00
Jon Meredith
ac3b356063
Merge branch 'cassandra-4.0' into cassandra-4.1
2023-08-24 16:43:53 -06:00
Jon Meredith
4034fbb6dd
Merge branch 'cassandra-3.11' into cassandra-4.0
2023-08-24 16:34:44 -06:00
Doug Rohrer
c6d7d070c5
IsolatedJMX should not release all TCPEndpoints on instance shutdown
...
patch by Doug Rohrer; reviewed by Jon Meredith, Stefan Miklosovic for CASSANDRA-18725
2023-08-24 16:32:28 -06:00
Stefan Miklosovic
8666265521
Merge branch 'cassandra-4.0' into cassandra-4.1
2023-08-23 15:37:53 +02:00
Stefan Miklosovic
d13b3ef61b
Merge branch 'cassandra-3.11' into cassandra-4.0
2023-08-23 15:33:00 +02:00
Stefan Miklosovic
b1b9c04010
Merge branch 'cassandra-3.0' into cassandra-3.11
2023-08-23 15:22:09 +02:00
Roman Mushchinski
4ab31d34c8
Make alternation of a user type validate the same way as creation of a user type does
...
patch by Roman Mushchinski; reviewed by Stefan Miklosovic and Andres de la Peña for CASSANDRA-18585
2023-08-23 15:07:12 +02:00
Stefan Miklosovic
7c7d8f4414
Merge branch 'cassandra-4.0' into cassandra-4.1
2023-08-21 15:58:04 +02:00
Stefan Miklosovic
9d3b148887
Merge branch 'cassandra-3.11' into cassandra-4.0
2023-08-21 15:56:12 +02:00
Claude Warren
998f84a2cb
Fix NPE when using udfContext in UDF after a restart of a node
...
patch by Claude Warren; reviewed by Stefan Miklosovic and Andres de la Peña for CASSANDRA-18739
2023-08-21 14:44:02 +02:00
Stefan Miklosovic
a60fb98f65
Merge branch 'cassandra-3.11' into cassandra-4.0
2023-08-18 18:40:12 +02:00
Stefan Miklosovic
141b85cfb7
Merge branch 'cassandra-3.0' into cassandra-3.11
2023-08-18 18:27:43 +02:00
Aleksey Yeschenko
f0280fb6f8
Backport of CASSANDRA-16905 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 )
2023-08-18 18:17:01 +02:00
Brandon Williams
cd3e564fb2
Merge branch 'cassandra-4.0' into cassandra-4.1
2023-08-18 05:11:33 -05:00
Brandon Williams
fb395c6b8b
Merge branch 'cassandra-3.11' into cassandra-4.0
2023-08-18 05:11:06 -05:00
Brandon Williams
c870641475
Merge branch 'cassandra-3.0' into cassandra-3.11
2023-08-18 05:09:56 -05:00
Brandon Williams
fd9f07dab8
Add speculative retries to tablestats
...
Patch by brandonwilliams; reviewed by bereng and Maxwell Guo for
CASSANDRA-18767
2023-08-18 05:07:08 -05:00
Brandon Williams
2f0adfac2b
Merge branch 'cassandra-4.0' into cassandra-4.1
2023-08-02 10:45:18 -05:00
Saran Vinaiyak
8b331ddb4d
Fix NTS log message when an unrecognized strategy option is passed
...
Patch by Saran Vinaiyak; reviewed by brandonwilliams and edimitrova for
CASSANDRA-18679
2023-08-02 10:42:58 -05:00
Francisco Guerrero
9c796dfb27
Skip ColumnFamilyStore#topPartitions initialization when client or tool mode
...
This commit skips the initialization of `topPartitions` in `org.apache.cassandra.db.ColumnFamilyStore`
when running in client or tool mode. The `TopPartitionTracker` class will attempt to query the system
keyspace, which when running in client or tool mode will not be part of the KeyspaceMetadata. This
causes a warning to be printed out with a stacktrace that can be misleading. The warning is similar to
this:
```
WARN org.apache.cassandra.db.SystemKeyspace: Could not load stored top SIZES partitions for ...
org.apache.cassandra.db.KeyspaceNotDefinedException: keyspace system does not exist
at org.apache.cassandra.schema.Schema.validateTable(Schema.java:xxx) ~[?:?]
at org.apache.cassandra.cql3.statements.SelectStatement$RawStatement.prepare(SelectStatement.java:xxx) ~[?:?]
at org.apache.cassandra.cql3.statements.SelectStatement$RawStatement.prepare(SelectStatement.java:xxx) ~[?:?]
at org.apache.cassandra.cql3.statements.SelectStatement$RawStatement.prepare(SelectStatement.java:xxx) ~[?:?]
at org.apache.cassandra.cql3.QueryProcessor.parseAndPrepare(QueryProcessor.java:xxx) ~[?:?]
...
```
In this commit, we check whether we run in client or tool mode, and skip initialization
of `topPartitions` in those cases.
Patch by Francisco Guerrero; Reviewed by Dinesh Joshi, Yifan Cai for CASSANDRA-18697
2023-08-01 13:14:40 -07:00
Ekaterina Dimitrova
fb7e4e7c48
Merge branch 'cassandra-4.0' into cassandra-4.1
2023-08-01 13:59:52 -04:00
Daniel Jatnieks
4a2a585ec0
Fix BulkLoader ignoring cipher suites options.
...
patch by Dan Jatnieks; reviewed by Ekaterina Dimitrova and Jon Meredith for CASSANDRA-18582
2023-08-01 13:49:29 -04:00
Stefan Miklosovic
778f9f3ed5
Merge branch 'cassandra-4.0' into cassandra-4.1
2023-07-28 17:11:15 +02:00
Stefan Miklosovic
a0fdda1976
Remove AssertJ from the production code
...
patch by Stefan Miklosovic; reviewed by Brandon Williams for CASSANDRA-18700
2023-07-28 17:09:52 +02:00
Stefan Miklosovic
d320cef8f9
Merge branch 'cassandra-4.0' into cassandra-4.1
2023-07-12 12:21:03 +02:00
Stefan Miklosovic
92c0459199
Merge branch 'cassandra-3.11' into cassandra-4.0
2023-07-12 12:20:00 +02:00
Stefan Miklosovic
7ec5126870
Fix CAST function for float to decimal
...
patch by Stefan Miklosovic; reviewed by Andres de la Peña and Brandon Williams for CASSANDRA-18647
2023-07-12 12:18:46 +02:00
Brandon Williams
461987627b
Merge branch 'cassandra-4.0' into cassandra-4.1
2023-07-10 10:05:21 -05:00
Brandon Williams
6fa548f9e9
Revert "Allow internal address to change with reconnecting snitches"
...
This reverts commit b791644fda .
Patch by brandonwilliams; reviewed by bereng for CASSANDRa-18560
2023-07-10 10:04:32 -05:00
Stefan Miklosovic
d2ad51c2f6
Merge branch 'cassandra-4.0' into cassandra-4.1
2023-07-04 13:46:51 +02:00
Stefan Miklosovic
0a53770ddc
Merge branch 'cassandra-3.11' into cassandra-4.0
2023-07-04 13:45:30 +02:00
Vincent White
028ea02a4a
Remove unrepaired SSTables from garbage collection when only_purge_repaired_tombstones is true
...
patch by Vincent White; reviewed by Stefan Miklosovic and Branimir Lambov for CASSANDRA-14204
Co-authored-by: Stefan Miklosovic <smiklosovic@apache.org>
2023-07-04 10:37:29 +02:00
Caleb Rackliffe
c3327855e4
Add a virtual table that exposes currently running queries
...
patch by Chris Lohfink; reviewed by Caleb Rackliffe and Benedict Elliott Smith for CASSANDRA-15241
Co-authored-by: Chris Lohfink <clohfink@apple.com>
Co-authored-by: Caleb Rackliffe <calebrackliffe@gmail.com>
Co-authored-by: Benedict Elliott Smith <benedict@apache.org>
2023-06-28 14:27:37 -05:00
Stefan Miklosovic
a57f0396fa
Merge branch 'cassandra-4.0' into cassandra-4.1
2023-06-28 16:33:08 +02:00
Stefan Miklosovic
b099aae3f0
Merge branch 'cassandra-3.11' into cassandra-4.0
2023-06-28 16:27:19 +02:00
Stefan Miklosovic
b6fdc80456
Merge branch 'cassandra-3.0' into cassandra-3.11
2023-06-28 16:20:05 +02:00
Stefan Miklosovic
4ea7bb25b4
Add support for AWS Ec2 IMDSv2
...
patch by Stefan Miklosovic; reviewed by Jacek Lewandowski and Brandon Williams for CASSANDRA-16555
Co-authored-by: Jacek Lewandowski <lewandowski.jacek@gmail.com>
Co-authored-by: Paul Rütter <paul@blueconic.com>
2023-06-28 16:08:39 +02:00
Stefan Miklosovic
0dd69ab854
Merge branch 'cassandra-4.0' into cassandra-4.1
2023-06-26 14:09:29 +02:00
Stefan Miklosovic
04fd3747cf
Merge branch 'cassandra-3.11' into cassandra-4.0
2023-06-26 14:06:40 +02:00
Stefan Miklosovic
55dc5b43f1
Merge branch 'cassandra-3.0' into cassandra-3.11
2023-06-26 14:01:24 +02:00
Stefan Miklosovic
a00d1de441
Pass taskId from CompactionTask to system.compaction_history
...
patch by Stefan Miklosovic; reviewed by Brandon Williams for CASSANDRA-12183
2023-06-26 13:55:49 +02:00
Stefan Podkowinski
e67fa69114
Remove hard-coded SSL cipher suites and protocols
...
patch by Stefan Podkowinski; reviewed by Robert Stupp for CASSANDRA-10508
backported in CASSANDRA-18575 by German Eichberger; reviewed by
brandonwilliams
2023-06-21 06:25:18 -05:00
Stefan Miklosovic
579c724adf
Merge branch 'cassandra-4.0' into cassandra-4.1
2023-06-19 17:12:48 +02:00
Maciej Sokol
92d0a40c96
Fix assertion error when describing mv as table
...
patch by Maciej Sokol; reviewed by Brandon Williams and Stefan Miklosovic for CASSANDRA-18596
2023-06-19 17:08:12 +02:00
Stefan Miklosovic
2b98d487d0
Merge branch 'cassandra-4.0' into cassandra-4.1
2023-06-15 13:19:56 +02:00
Stefan Miklosovic
49dba85ec8
Merge branch 'cassandra-3.11' into cassandra-4.0
2023-06-15 13:16:44 +02:00
Cameron Zemek
64d953fdca
Wait for live endpoints in gossip waiting to settle
...
patch by Cameron Zemek; reviewed by Stefan Miklosovic and Brandon Williams for CASSANDRA-18543
2023-06-15 12:59:13 +02:00
Brandon Williams
1f6b37d189
Merge branch 'cassandra-4.0' into cassandra-4.1
2023-06-14 11:35:40 -05:00
Brandon Williams
2fcdaa5b76
Merge branch 'cassandra-3.11' into cassandra-4.0
2023-06-14 11:35:22 -05:00
ningzi.zhan
1eccb2bc1f
Fix error message handling when trying to use CLUSTERING ORDER with non-clustering column
...
Patch by Ningzi Zhan and Tomasz Lasica; reviewed by brandonwilliams,
edimitrova and Maxwell Guo for CASSANDRA-17818
Co-Authored-By: Tomek Lasica <tomasz.lasica@datastax.com>
2023-06-14 11:34:03 -05:00
Jacek Lewandowski
b0cf9ba219
Merge branch 'cassandra-4.0' into cassandra-4.1
...
* cassandra-4.0:
Track the amount of read data per row
2023-06-12 11:26:03 +02:00
Jacek Lewandowski
5143bd81e8
Track the amount of read data per row
...
If an sstable is corrupted in a nasty way, we may read invalid cell sizes and try to read much more data for a row than we should. In rare scenarios this can lead even to OOMs.
This simple fix adds tracking and limiting the amount of data that is read per row. Row has its size stored in preamble which can be used as a limit. If the deserialization code tries to read more than that, it will simply fail with EOF which will prevent more serious problems later.
Patch by Jacek Lewandowski; reviewed by Berenguer Blasi and Maxwell Guo for CASSANDRA-18513
# Conflicts:
# src/java/org/apache/cassandra/db/rows/UnfilteredSerializer.java
2023-06-12 11:26:02 +02:00
Stefan Miklosovic
867c074dda
Merge branch 'cassandra-4.0' into cassandra-4.1
2023-06-06 16:17:57 +02:00
Stefan Miklosovic
f368b9dc1e
Merge branch 'cassandra-3.11' into cassandra-4.0
2023-06-06 16:14:34 +02:00
mghildiy
03da864bab
Add keyspace and table name to exception message during ColumnSubselection deserialization
...
patch by Manish Ghildiyal; reviewed by Brandon Williams and Stefan Miklosovic for CASSANDRA-18346
2023-06-06 16:00:26 +02:00
Stefan Miklosovic
aa7ed179d3
Merge branch 'cassandra-4.0' into cassandra-4.1
2023-06-05 15:58:04 +02:00
rgitt
5655a33bc0
Fix Down nodes counter in nodetool describecluster
...
patch by Goel Ranju; reviewed by Brandon Williams and Stefan Miklosovic for CASSANDRA-18512
2023-06-05 15:56:38 +02:00
Jon Meredith
208a71c008
Merge branch 'cassandra-4.0' into cassandra-4.1
2023-05-31 12:12:50 -06:00
Jon Meredith
57293e8281
Merge branch 'cassandra-3.11' into cassandra-4.0
2023-05-31 12:04:29 -06:00
Doug Rohrer
43ec184391
Add support for JMX in the in-jvm dtest framework
...
patch by Doug Rohrer; reviewed by Alex Petrov, Jon Meredith, Francisco Guerrero Hernandez for CASSANDRA-18511
2023-05-31 12:02:26 -06:00
Stefan Miklosovic
441285d58e
Merge branch 'cassandra-4.0' into cassandra-4.1
2023-05-30 22:19:11 +02:00
Stefan Miklosovic
f66adb0278
Remove unnecessary shuffling of GossipDigests in Gossiper#makeRandomGossipDigest
...
This patch also fixes the bug when creating GossipDigests in case epState in
Gossiper#makeRandomGossipDigest was null. Previously, if it was null, it used
generation and maxVersion of the last non-null epState instead of zeros.
patch by Cameron Zemek; reviewed by Stefan Miklosovic and Brandon Williams for CASSANDRA-18546
2023-05-30 21:44:07 +02:00
Marcus Eriksson
72fc04d238
Merge branch 'cassandra-4.0' into cassandra-4.1
2023-05-25 08:43:15 +02:00
Marcus Eriksson
aafb4d1944
Improve nodetool enable{audit,fullquery}log
...
Patch by marcuse; reviewed by Dinesh Joshi and Mick Semb Wever for CASSANDRA-18550
2023-05-25 08:41:12 +02:00
Brandon Williams
93efe0ee04
Merge branch 'cassandra-4.0' into cassandra-4.1
2023-05-24 09:37:11 -05:00
ningzi.zhan
54528bff20
Report network cache info in nodetool
...
Patch by Ningzi Zhan; reviewed by brandonwilliams and smiklosovic for
CASSANDRA-18400
2023-05-24 09:36:32 -05:00
Stefan Miklosovic
621faf7740
Merge branch 'cassandra-4.0' into cassandra-4.1
2023-05-18 22:37:44 +02:00
Stefan Miklosovic
ff820290dd
Merge branch 'cassandra-3.11' into cassandra-4.0
2023-05-18 22:37:07 +02:00
Ivan Senic
3ca94d65d3
Remove unnecessary String.format invocation in QueryProcessor when getting a prepared statement from cache
...
patch by Ivan Senic; reviewed by Stefan Miklosovic and Brandon Williams for CASSANDRA-17202
2023-05-18 22:36:27 +02:00
David Capwell
446a9d1d01
Merge branch 'cassandra-4.0' into cassandra-4.1
2023-05-18 10:38:00 -07:00
Tobias Lindaaker
1053e3b475
Partial compaction can resurrect deleted data
...
patch by Tobias Lindaaker, Marcus Eriksson; reviewed by David Capwell, Marcus Eriksson for CASSANDRA-18507
2023-05-18 10:34:45 -07:00
Stefan Miklosovic
402e2f2f73
Merge branch 'cassandra-4.0' into cassandra-4.1
2023-05-17 12:04:24 +02:00
Stefan Miklosovic
2bb634a339
Merge branch 'cassandra-3.11' into cassandra-4.0
2023-05-17 12:02:37 +02:00
Stefan Miklosovic
f5c42f428c
Merge branch 'cassandra-3.0' into cassandra-3.11
2023-05-17 12:01:35 +02:00
Stefan Miklosovic
b8e21fb80a
Validate the existence of a datacenter in nodetool rebuild
...
patch by Stefan Miklosovic; reviewed by Brandon Williams for CASSANDRA-14319
2023-05-17 12:00:19 +02:00
Brandon Williams
67d73469b4
Merge branch 'cassandra-4.0' into cassandra-4.1
2023-05-16 09:01:21 -05:00
Brandon Williams
b791644fda
Allow internal address to change with reconnecting snitches
...
Patch by brandonwilliams; reviewed by bereng for CASSANDRA-16718
2023-05-16 09:00:14 -05:00
Stefan Miklosovic
d7917a5144
Merge branch 'cassandra-4.0' into cassandra-4.1
2023-05-11 15:58:49 +02:00
Bernardo Botella Corbi
75194201f1
Fix quoting in toCqlString methods of UDTs and aggregates
...
patch by Bernardo Botella Corbi, reviewed by Stefan Miklosovic, Benjamin Lerer and Yifan Cai for CASSANDRA-17918
2023-05-11 15:48:21 +02:00
Jon Meredith
7f4e9bb67b
Merge branch 'cassandra-4.0' into cassandra-4.1
2023-05-09 17:55:24 -06:00
Jon Meredith
ae995eb3d3
NPE when deserializing malformed collections from client
...
patch by Jon Meredith; reviewed by Caleb Rackliffe for CASSANDRA-18505
2023-05-09 17:47:49 -06:00
Mick Semb Wever
82dc54c3a8
Merge branch 'cassandra-4.0' into cassandra-4.1
...
* cassandra-4.0:
Improve 'Not enough space for compaction' logging messages
2023-05-04 12:25:00 +02:00
Henrik Ingo
65c99bfc42
Improve 'Not enough space for compaction' logging messages
...
Adds separate WARN level messages to the check itself in Directories.
patch by Henrik Ingo; reviewed by Mick Semb Wever, Brad Schoening, Claude Warren, Kan Maung, maxwellguo for CASSANDRA-18260
2023-05-04 12:23:00 +02:00
Stefan Miklosovic
ba72d90141
Merge branch 'cassandra-4.0' into cassandra-4.1
2023-04-27 11:20:09 +02:00
Stefan Miklosovic
c4a305d17a
Merge branch 'cassandra-3.11' into cassandra-4.0
2023-04-27 11:18:37 +02:00
Stefan Miklosovic
c74c9bb037
Merge branch 'cassandra-3.0' into cassandra-3.11
2023-04-27 11:16:41 +02:00
Stefan Miklosovic
db78e746d7
Do not remove SSTables when cause of FSReadError is OutOfMemoryError while using best_effort disk failure policy
...
patch by Stefan Miklosovic; reviewed by Brandon Williams and Maxwell Guo for CASSANDRA-18336
2023-04-27 10:47:07 +02:00
Stefan Miklosovic
e733edb6cc
Merge branch 'cassandra-4.0' into cassandra-4.1
2023-04-26 13:43:19 +02:00
Stefan Miklosovic
5bcee5c06a
Merge branch 'cassandra-3.11' into cassandra-4.0
2023-04-26 13:41:02 +02:00
Stefan Miklosovic
81e78192cb
Merge branch 'cassandra-3.0' into cassandra-3.11
2023-04-26 13:36:40 +02:00
Stefan Miklosovic
4f348786bd
Do not remove truncated_at entry in system.local while dropping an index
...
patch by Stefan Miklosovic; reviewed by Caleb Rackliffe for CASSANDRA-18105
2023-04-26 11:00:06 +02:00
Jon Meredith
1d926e8c6f
Merge branch 'cassandra-4.0' into cassandra-4.1
2023-04-25 12:08:39 -06:00
Jon Meredith
09c1e67598
Incremental repairs fail on mixed IPv4/v6 addresses serializing SyncRequest
...
patch by Jon Meredith; reviewed by Caleb Rackliffe for CASSANDRA-18474
2023-04-25 12:00:26 -06:00
Jon Meredith
4c13df58cb
Merge branch 'cassandra-4.0' into cassandra-4.1
2023-04-21 10:55:55 -06:00
Jon Meredith
cd9bed0aea
Deadlock updating sstable metadata if disk boundaries need reloading
...
patch by Jon Meredith; reviewed by Marcus Eriksson for CASSANDRA-18443
2023-04-21 10:47:55 -06:00
Andrés de la Peña
2208235ce9
Merge branch 'cassandra-4.0' into cassandra-4.1
2023-04-17 14:50:18 +01:00
Andrés de la Peña
3f67827387
Merge branch 'cassandra-3.11' into cassandra-4.0
2023-04-17 14:48:27 +01:00
Andrés de la Peña
08b9471a1e
Fix sstable_count metric missing from tablestats json/yaml output
...
patch by Andrés de la Peña; reviewed by Brandon Williams and Ekaterina Dimitrova for CASSANDRA-18448
2023-04-17 14:36:01 +01:00
Maulin Vasavada
bd49f6ff26
Allow keystore and truststore passwords to be nullable
...
patch by Maulin Vasavada; reviewed by Stefan Miklosovic and Caleb Rackliffe for CASSANDRA-18124
2023-04-14 14:02:51 +02:00
Stefan Miklosovic
5869dc0dac
Merge branch 'cassandra-4.0' into cassandra-4.1
2023-04-14 11:49:08 +02:00
Maciej Sokol
2fce3025c4
Fix nested selection of reversed collections
...
patch by Maciej Sokol; reviewed by Stefan Miklosovic and Brandon Williams for CASSANDRA-17913
2023-04-14 11:33:46 +02:00
Josh McKenzie
085765a07c
Merge branch 'cassandra-4.0' into cassandra-4.1
2023-04-03 16:12:59 -04:00
Josh McKenzie
f6fce7ab51
Improve debuggability and correctness of ref detection
...
This patch is a backport of CASSANDRA-17205 and also raises
logging level to 'error' from 'warn' in StrongLeakDetector.
Patch by jmckenzie; reviewed by smiklosovic for CASSANDRA-18332
2023-04-03 16:03:33 -04:00
Caleb Rackliffe
853ae8c840
Avoid loading the preferred IP for BulkLoader streaming
...
patch by Caleb Rackliffe; reviewed by Jon Meredith for CASSANDRA-18370
Co-authored-by: Caleb Rackliffe <calebrackliffe@gmail.com>
Co-authored-by: Jon Meredith <jonmeredith@apache.org>
2023-03-31 11:57:29 -05:00
Jacek Lewandowski
14936d0bd3
Merge branch 'cassandra-4.0' into cassandra-4.1
...
* cassandra-4.0:
Save host id to system.local and flush immediately after startup
2023-03-31 17:34:19 +02:00
Jacek Lewandowski
4b9c18235a
Merge branch 'cassandra-3.11' into cassandra-4.0
...
* cassandra-3.11:
Save host id to system.local and flush immediately after startup
2023-03-31 17:30:20 +02:00
Jacek Lewandowski
ee586b53c2
Merge branch 'cassandra-3.0' into cassandra-3.11
...
* cassandra-3.0:
Save host id to system.local and flush immediately after startup
Remove asf.yaml from non-trunk branches
Notify the corresponding JIRA issue as soon as the PR is raised
2023-03-31 17:30:19 +02:00
Jacek Lewandowski
f96659c530
Save host id to system.local and flush immediately after startup
...
patch by Adriano Bonacin and Jacek Lewandowski; reviewed by Stefan Miklosovic and Sam Tunnicliffe for CASSANDRA-18153
2023-03-31 17:30:18 +02:00
Stefan Miklosovic
6f401a8725
Return snapshots with dots in their name in nodetool listsnapshots
...
patch by Stefan Miklosovic; reviewed by Paulo Motta for CASSANDRA-18371
2023-03-28 19:00:40 +02:00
Stefan Miklosovic
4ac89e6451
Fix NPE when loading snapshots and data directory is one directory from root
...
patch by Stefan Miklosovic; reviewed by Paulo Motta for CASSANDRA-18359
2023-03-26 23:29:28 +02:00
Paulo Motta
7c2f97cd29
Do not submit hints when hinted_handoff_enabled=false
...
- Remove dead WriteCallbackInfo code
Patch by Paulo Motta, Aleksey Yeschenko; Reviewed by Stefan Miklosovic, Claude Warren for CASSANDRA-18304
Co-authored-by: Aleksey Yeschenko <aleksey@apache.org>
2023-03-24 12:17:17 -04:00
Jacek Lewandowski
955cf156c8
Merge branch 'cassandra-3.0' into cassandra-3.11
...
* cassandra-3.0:
Fix RepairJob unnecessarily reporting cancellation error
2023-03-21 10:08:12 +01:00
Jacek Lewandowski
f6a04ca81f
Fix RepairJob unnecessarily reporting cancellation error
...
patch by Jacek Lewandowski; reviewed by Brandon Williams for CASSANDRA-17701
2023-03-21 10:04:24 +01:00
David Capwell
d5b1483703
Incompatible file system thrown while running Simulator
...
patch by David Capwell; reviewed by Brandon Williams, Caleb Rackliffe for CASSANDRA-18320
2023-03-15 16:19:04 -07:00
Jacek Lewandowski
deb8abd2fd
Merge branch 'cassandra-4.0' into cassandra-4.1
...
* cassandra-4.0:
Fix the ordering of sstables when running sstableupgrade tool
2023-03-14 15:18:37 +01:00
Jacek Lewandowski
5104008db9
Merge branch 'cassandra-3.11' into cassandra-4.0
...
* cassandra-3.11:
Fix the ordering of sstables when running sstableupgrade tool
2023-03-14 15:16:22 +01:00
Jacek Lewandowski
58d06d34ab
Merge branch 'cassandra-3.0' into cassandra-3.11
...
* cassandra-3.0:
Fix the ordering of sstables when running sstableupgrade tool
2023-03-14 15:14:31 +01:00
Claude Warren
8df69c8016
Fix the ordering of sstables when running sstableupgrade tool
...
patch by Claude Warren; reviewed by Jacek Lewandowski and Stefan Miklosovic for CASSANDRA-18143
2023-03-14 14:52:53 +01:00
Jacek Lewandowski
8ba3888fcf
Merge branch 'cassandra-4.0' into cassandra-4.1
2023-03-13 09:57:11 +01:00
Jaroslaw Grabowski
3cfb222122
Fix BufferPool.memoryInUse counter
...
The counter was incorrectly decremented by the size of the unused portion of the provided buffer.
It is now decremented by the number of bytes actually returned to the pool (that may be different than "size"). The number is calculated as a difference between original and resulting buffer capacity.
patch by Jaroslaw Grabowski <jtgrabowski>, reviewed by Jacek Lewandowski <jacek-lewandowski> for CASSANDRA-18311
2023-03-13 09:51:33 +01:00
Stefan Miklosovic
b7eaa2d209
Deprecate org.apache.cassandra.hadoop code
...
patch by Stefan Miklosovic; reviewed by Brandon Williams for CASSANDRA-16984
2023-03-12 21:34:29 +01:00
Brandon Williams
0ea1d384d4
Merge branch 'cassandra-4.0' into cassandra-4.1
2023-03-09 10:04:31 -06:00
Brandon Williams
a874e02eec
Merge branch 'cassandra-3.11' into cassandra-4.0
2023-03-09 10:03:14 -06:00
Brandon Williams
326b5aceb1
Merge branch 'cassandra-3.0' into cassandra-3.11
2023-03-09 10:02:21 -06:00
Brandon Williams
be574fc34b
Fix default file system error handler for disk_failure_policy die
...
Patch by Runtian Liu; reviewed by brandonwilliams and smiklosovic for
CASSANDRA-18294
2023-03-09 10:00:49 -06:00
Jacek Lewandowski
5f7175d59d
Small fixes around Schema management
...
- Denormalize distributedAndLocalKeyspaces to remove perf degradation
- Set updated schema version once applied
patch by Jacek Lewandowski, reviewed by Stefan Miklosovic for CASSANDRA-18291
2023-03-09 08:12:10 +01:00
Jon Meredith
6adcff8f30
Merge branch 'cassandra-4.0' into cassandra-4.1
2023-03-07 10:36:16 -07:00
Benedict Elliott Smith
40f9ca60f1
Improve memtable allocator accounting when updating AtomicBTreePartition
...
patch by Benedict Elliott Smith; reviewed by Benjamin Lerer, Jon Meredith for CASSANDRA-18125
2023-03-07 10:28:32 -07:00
Stefan Miklosovic
9860c1e9d9
Fix copying of JAR of a trigger to temporary file
...
While testing the fix for trigger, we fixed the corresponding
trigger example. While on it, we detected that ssl-factory example was
not working either so it is fixed in this commit as well.
patch by Stefan Miklosovic; reviewed by Brandon Williams for CASSANDRA-18264
2023-02-17 16:36:42 +01:00
Stefan Miklosovic
cfe9641fbe
Fix possible NoSuchFileException when removing a snapshot
...
patch by Stefan Miklosovic; reviewed by Jacek Lewandowski for CASSANDRA-18211
Co-authored-by: Jacek Lewandowski <lewandowski.jacek@gmail.com>
2023-02-17 15:42:03 +01:00
Stefan Miklosovic
bbe936a236
Merge branch 'cassandra-4.0' into cassandra-4.1
2023-02-07 15:53:51 +01:00
Stefan Miklosovic
b8494a8275
Log warning message on aggregation queries without key or on multiple keys
...
patch by Stefan Miklosovic; reviewed by Brandon Williams for CASSANDRA-18219
2023-02-07 15:47:36 +01:00
Brandon Williams
209ba28b4d
Merge branch 'cassandra-4.0' into cassandra-4.1
2023-02-02 11:46:31 -06:00
yongj
0c58fbb8dd
Add cache type information for maximum memory usage warning message
...
Patch by Yong Jiang; reviewed by brandonwilliams and smiklosovic for
CASSANDRA-18184
2023-02-02 11:45:52 -06:00
Jacek Lewandowski
dcc19cf865
Merge branch 'cassandra-4.0' into cassandra-4.1
2023-02-01 09:47:12 +01:00
Jacek Lewandowski
9bf128aaa3
Improve unit tests performance
...
- Don't flush schema on every schema update in unit tests
- Use unix command to delete test data
- Shorten teardown
- Stable processor count presented by JMX on Jenkins, CircleCI and local
Patch by <jacek-lewandowski>, reviewed by <michaelsembwever> and <josh-mckenzie> for CASSANDRA-17427
2023-02-01 09:40:50 +01:00
Brandon Williams
5dbeee258c
Merge branch 'cassandra-4.0' into cassandra-4.1
2023-01-30 07:05:42 -06:00
Maciej Sokol
0b7e3a8ee7
Connect to listen address when own broadcast address is requested
...
Patch by Maciej Sokol; reviewed by brandonwilliams and smiklosovic for
CASSANDRA-18200
2023-01-30 07:04:41 -06:00
David Capwell
1c71e57f46
PaxosPrepare may add instances to the Electorate that are not in gossip
...
patch by David Capwell; reviewed by Blake Eggleston for CASSANDRA-18194
2023-01-27 12:31:02 -08:00
Brandon Williams
53156c24e1
Merge branch 'cassandra-4.0' into cassandra-4.1
2023-01-24 06:34:48 -06:00
Brandon Williams
5f54d64c78
Merge branch 'cassandra-3.11' into cassandra-4.0
2023-01-24 06:32:43 -06:00
Brandon Williams
92245b0f07
Merge branch 'cassandra-3.0' into cassandra-3.11
2023-01-24 06:30:11 -06:00
Brandon Williams
e7f55ab8c3
switch to SafeConstructor
...
Patch by brandonwilliams; reviewed by bereng for CASSANDRA-18150
2023-01-24 06:27:29 -06:00
Paulo Motta
da2dd2bfbc
Merge branch 'cassandra-4.0' into cassandra-4.1
2023-01-23 17:27:58 -05:00
lzurovchak1
8bb9c72f58
Add safeguard so cleanup fails when node has pending ranges
...
Patch by Lindsey Zurovchak; Reviewed by Paulo Motta, Stefan Miklosovic for CASSANDRA-16418
Closes #2061
2023-01-23 17:26:47 -05:00
Andrés de la Peña
6c96e2fd41
Merge branch 'cassandra-4.0' into cassandra-4.1
2023-01-23 11:42:24 +00:00
Andrés de la Peña
9a0af4112e
Fix legacy clustering serialization for paging with compact storage
...
patch by Andrés de la Peña; reviewed by Berenguer Blasi and Piotr Kołaczkowski for CASSANDRA-17507
2023-01-23 11:40:45 +00:00
Benedict Elliott Smith
bb2c16c677
EndpointState is mutable, so we must copy it before trying to serialize
...
patch by Benedict Elliott Smith; reviewed by Mick Semb Wever for CASSANDRA-18164
2023-01-20 11:24:30 +01:00
Stefan Miklosovic
590d629302
Merge branch 'cassandra-4.0' into cassandra-4.1
2023-01-18 15:05:33 +01:00
Stefan Miklosovic
815f7de346
Merge branch 'cassandra-3.11' into cassandra-4.0
2023-01-18 15:02:40 +01:00
Stefan Miklosovic
fc3ad6525f
Merge branch 'cassandra-3.0' into cassandra-3.11
2023-01-18 14:58:38 +01:00
German Eichberger
8ecd7616fe
Default role is created with zero timestamp
...
patch by German Eichberger; reviewed by Stefan Miklosovic and Brandon Williams for CASSANDRA-12525
Co-authored-by: Stefan Miklosovic <smiklosovic@apache.org>
2023-01-18 14:56:22 +01:00
Paulo Motta
c9968a8e95
Merge branch 'cassandra-4.0' into cassandra-4.1
2023-01-16 21:47:46 -05:00
Stefan Miklosovic
6e6846892a
Fix sstable loading of keyspaces named snapshots or backups
...
Patch by Stefan Miklosovic; Reviewed by Paulo Motta for CASSANDRA-14013
Co-authored-by: Paulo Motta <paulo@apache.org>
2023-01-16 21:45:17 -05:00
David Capwell
5be1038c5d
Streaming progress virtual table lock contention can trigger TCP_USER_TIMEOUT and fail streaming
...
patch by David Capwell; reviewed by Abe Ratnofsky, Jon Meredith for CASSANDRA-18110
2023-01-12 09:46:54 -08:00
Bereng
438346aaa6
Merge branch 'cassandra-4.0' into cassandra-4.1
2023-01-12 08:19:48 +01:00
Bereng
a83de9bcd2
Merge branch 'cassandra-3.11' into cassandra-4.0
2023-01-12 08:18:13 +01:00
Bereng
b8a87abba4
Do not leak 2015 synthetic memtable Epoch
...
patch by Berenguer Blasi; reviewed by Caleb Rackliffe for CASSANDRA-18118
2023-01-12 08:15:19 +01:00
Jordan West
073f7c36fa
Return empty denylist entry instead of null on failure to load
...
Patch by Jordan West; Reviewed by Josh McKenzie for CASSANDRA-18116
2023-01-07 13:42:02 -08:00
Marcus Eriksson
fabc6e7c7b
Merge branch 'cassandra-4.0' into cassandra-4.1
2022-12-23 14:59:59 +01:00
Marcus Eriksson
ee266d283e
Avoid ConcurrentModificationException in STCS/DTCS/TWCS.getSSTables
...
Patch by marcuse; reviewed by Aleksey Yeschenko for CASSANDRA-17977
2022-12-23 14:58:56 +01:00
Marcus Eriksson
203c61abaf
Merge branch 'cassandra-4.0' into cassandra-4.1
2022-12-23 14:44:19 +01:00
Marcus Eriksson
95e26ad1ab
Merge branch 'cassandra-3.11' into cassandra-4.0
2022-12-23 14:43:01 +01:00
Marcus Eriksson
0767c83416
Merge branch 'cassandra-3.0' into cassandra-3.11
2022-12-23 14:41:50 +01:00
Marcus Eriksson
730b898b74
Don't group TWCS sstables for anticompaction
...
Patch by marcuse; reviewed by Aleksey Yeschenko for CASSANDRA-17970
2022-12-23 13:38:53 +01:00
Stefan Miklosovic
97f9ff7da3
Merge branch 'cassandra-4.0' into cassandra-4.1
2022-12-20 10:16:14 +01:00
Stefan Miklosovic
ace3920239
Merge branch 'cassandra-3.11' into cassandra-4.0
2022-12-20 10:12:07 +01:00
Stefan Miklosovic
baa9d0327f
Merge branch 'cassandra-3.0' into cassandra-3.11
2022-12-20 10:04:43 +01:00
Stefan Miklosovic
f55b2fb1b3
Do not spam the logs with MigrationCoordinator not being able to pull schemas
...
patch by Stefan Miklosovic; reviewed by Brandon Williams for CASSANDRA-18096
2022-12-20 09:59:28 +01:00
Mick Semb Wever
f869a2bb59
Merge branch 'cassandra-4.0' into cassandra-4.1
...
* cassandra-4.0:
Restore custom param types over messaging system
2022-12-17 15:50:19 -08:00
Mick Semb Wever
f01d2b4a3c
Restore custom param types over messaging system
...
patch by Mick Semb Wever; reviewed by Aleksey Yeschenko for CASSANDRA-17981
2022-12-17 15:48:26 -08:00
Marianne Lyne Manaog
81c616826a
Fix ContentionStrategy backoff and Clock.waitUntil
...
Also for CASSANDRA-18087
patch by Matt Fleming, Marianne Lyne Manaog, Benedict Elliott Smith; reviewed by Joshua Mckenzie, Ariel Weisberg for CASSANDRA-18086
Co-authored-by: Marianne Lyne Manaog <marianne.manaog@datastax.com>
Co-authored-by: Matt Fleming <matt@codeblueprint.co.uk>
Co-authored-by: Benedict Elliott Smith <benedict@apple.com>
2022-12-07 15:20:48 -05:00
Yifan Cai
27fff06bb7
Merge branch 'cassandra-4.0' into cassandra-4.1
2022-12-05 18:57:01 -08:00
Yifan Cai
f22263cd8a
Merge branch 'cassandra-3.11' into cassandra-4.0
2022-12-05 18:52:22 -08:00
Yifan Cai
eb91e2c354
Merge branch 'cassandra-3.0' into cassandra-3.11
2022-12-05 18:50:28 -08:00
Yifan Cai
473656c1d5
Fix incorrect resource name in LIST PERMISSION output
...
patch by Yifan Cai; reviewed by Berenguer Blasi, Sam Tunnicliffe for CASSANDRA-17848
2022-12-05 18:48:36 -08:00
Jordan West
13d495aa7d
fix intermittent failures in nodetool toppartitions caused by failure to validate invalid bytes
...
Patch by Jordan West; Reviewed by Brandon Williams and Cheng Wang for CASSANDRA-17254
2022-11-29 18:25:04 -08:00
Branimir Lambov
9f58d76f38
Avoid schema mismatch problems on memtable API misconfiguration
...
patch by Branimir Lambov; reviewed by Caleb Rackliffe for CASSANDRA-18040
2022-11-16 10:30:16 +02:00
Stefan Miklosovic
19f55cf0b8
Start Paxos auto repair in CassandraDaemon
...
This patch also renames PaxosRepairTest2 to PaxosRepair2Test to be picked up by CI.
patch by Stefan Miklosovic; reviewed by Benedict Elliott Smith for CASSANDRA-18029
2022-11-14 13:52:03 +01:00
Alex Sorokoumov
5cd012736e
VIntCoding handles BB with less than 8 bytes
...
Without this fix VIntCoding#writeUnsignedVInt(long, ByteBuffer) throws
a runtime error if the BB size is less than 8 bytes. This method also
silently does not write to BB if it has less than 8 bytes left.
patch by Alex Sorokoumov; reviewed by Benjamin Lerer for CASSANDRA-15215
2022-11-11 19:52:37 +01:00
Stefan Miklosovic
207045030e
Merge branch 'cassandra-4.0' into cassandra-4.1
2022-11-11 13:57:16 +01:00
Stefan Miklosovic
2638051af1
Harden parsing of boolean values in CQL in PropertyDefinitions
...
patch by Stefan Miklosovic; reviewed by Aleksey Yeschenko for CASSANDRA-17878
2022-11-11 13:38:44 +01:00
Brandon Williams
106bc89d74
Merge branch 'cassandra-4.0' into cassandra-4.1
2022-11-10 13:37:59 -06:00
Natnael Adere
35826b7447
Fix error message about type hints (CASSANDRA-17915)
...
Patch by Natnael Adere; reviewed by blerer and brandonwilliams for
CASSANDRA-17915
2022-11-10 13:35:56 -06:00
Jacek Lewandowski
e12dc48c87
Merge branch 'cassandra-4.0' into cassandra-4.1
2022-11-09 17:22:11 +01:00
Jacek Lewandowski
67c530171c
Merge branch 'cassandra-3.11' into cassandra-4.0
2022-11-09 17:20:08 +01:00
Jacek Lewandowski
9213335f59
Fix Splitter sometimes creating more splits than requested
...
Spliter.splitOwnedRanges for some inputs creates an extra split. For example, when we request 7 ranges from 0..31 range, it will return 8 ranges. There is an assertion in that method which verifies whether it returns the requested number of splits. Since those numbers differs, when Cassandra is be started with assertions enabled, it would fail.
patch by Jacek Lewandowski; reviewed by Marcus Eriksson for CASSANDRA-18013
2022-11-09 17:17:01 +01:00
Aleksey Yeschenko
c100d34a1a
Restore streaming_keep_alive_period functionality on the netty control streaming channel
...
patch by Aleksey Yeschenko, Mick Semb Wever; reviewed by Mick Semb Wever, Berenguer Blasi for CASSANDRA-17768
Co-authored-by: Aleksey Yeschenko <aleksey@apache.org
Co-authored-by: Mick Semb Wever <mck@apache.org>
2022-11-09 11:39:07 +01:00
Doug Rohrer
a805e32675
Move Schema.FORCE_LOAD_KEYSPACES and Schema.FORCE_LOAD_KEYSPACES_PROP to CassandraRelevantProps
...
patch by Doug Rohrer; reviewed by Brandon Williams and Jacek Lewandowski for CASSANDRA-17783
2022-11-08 08:18:40 +01:00
Marianne Lyne Manaog
acda6fad68
Bug fix for WriteTimeoutException when using Paxos v2 with a single datacenter
...
patch by Marianne Lyne Manaog; reviewed by Branimir Lambov and Benedict Elliott Smith for CASSANDRA-17999
2022-11-07 14:59:03 +02:00
Stefan Miklosovic
0e21007b4f
Merge branch 'cassandra-4.0' into cassandra-4.1
2022-10-27 16:06:19 +02:00
Stefan Miklosovic
35ef5b9957
Fix possible race condition on repair snapshots
...
patch by Stefan Miklosovic; reviewed by David Capwell for CASSANDRA-17955
2022-10-27 15:50:37 +02:00
Maxim Chanturiay
dd53a609c6
Add --resolve-ip option to nodetool gossipinfo
...
patch by Maxim Chanturiay; reviewed by Stefan Miklosovic and Caleb Rackliffe for CASSANDRA-17934
2022-10-27 11:19:20 +02:00
Ekaterina Dimitrova
1df5dd671e
Merge branch 'cassandra-4.0' into cassandra-4.1
2022-10-20 13:59:09 -04:00
Ekaterina Dimitrova
ce1584ccc8
Fix ASM bytecode version inconsistency
...
patch by Ekaterina Dimitrova; reviewed by Berenguer Blasi and Benedict Elliot Smith for CASSANDRA-17873
2022-10-20 13:10:33 -04:00
Mick Semb Wever
fbb3079144
Merge branch 'cassandra-4.0' into cassandra-4.1
...
* cassandra-4.0:
Fix JMX security vulnerabilities
2022-10-18 22:55:59 +02:00
Mick Semb Wever
9a24fa81e5
Merge branch 'cassandra-3.11' into cassandra-4.0
...
* cassandra-3.11:
Fix JMX security vulnerabilities
2022-10-18 22:53:37 +02:00
Mick Semb Wever
95d0a936f9
Merge branch 'cassandra-3.0' into cassandra-3.11
...
* cassandra-3.0:
Fix JMX security vulnerabilities
2022-10-18 22:50:49 +02:00
Abe Ratnofsky
b2660bcf78
Fix JMX security vulnerabilities
...
patch by Abe Ratnofsky; reviewed by Jon Meredith, Mick Semb Wever, Sam Tunnicliffe for CASSANDRA-17921
2022-10-18 22:47:49 +02:00
Stefan Miklosovic
15b54687a5
Merge branch 'cassandra-4.0' into cassandra-4.1
2022-10-11 23:20:35 +02:00
Stefan Miklosovic
488c0c75a8
Remove empty cq4 log files to prevent BinLog from failing to start
...
This patch also backports CASSANDRA-17595.
patch by Stefan Miklosovic; reviewed by Caleb Rackliffe for CASSANDRA-17933
2022-10-11 23:13:13 +02:00
Aleksey Yeschenko
3fc9bc033a
Merge branch 'cassandra-4.0' into cassandra-4.1
2022-10-11 15:43:49 +01:00
Piotr Kołaczkowski
e13356d75d
Fix multiple BufferPool bugs
...
patch by Piotr Kołaczkowski; reviewed by Aleksey Yeschenko for
CASSANDRA-16681
2022-10-11 15:42:30 +01:00
Ariel Weisberg
9524c22990
Merge branch 'cassandra-4.0' into cassandra-4.1
2022-10-06 14:11:34 -04:00
Andy Tolbert
3bdd2caa22
Fix StorageService.getNativeaddress handling of IPv6 addresses
...
StorageService.getNativeaddress does not currently correctly handle
IPv6 addresses correctly when NATIVE_ADDRESS_AND_PORT are not present in
that it simply concatenates the IP address with the default native port,
e.g.:
0:0:0:0:0:0:5a:3:9042
This does not parse into an InetSocketAddress as the address and port
can't be disambiguated.
Such a case would usually be present when there are 3.x nodes present in a
cluster with 4.0 nodes.
Change updates RPC_ADDRESS and else case to create InetAddressAndPort instances
with DatabaseDescriptor.getNativeTransportPort and returns the
getHostAddress(withPort) which properly bracket encodes the address,
e.g.:
[0:0:0:0:0:0:5a:3]:9042
which can be parsed as an InetSocketAddress.
patch by Andy Tolbert; reviewed by Ariel Weisberg, Brandon Williams for CASSANDRA-17945
2022-10-06 14:10:58 -04:00
Aleksey Yeschenko
0b083d3e73
Merge branch 'cassandra-4.0' into cassandra-4.1
2022-10-06 15:34:49 +01:00
Aleksey Yeschenko
4e1d31e729
Merge branch 'cassandra-3.11' into cassandra-4.0
2022-10-06 15:27:49 +01:00
Piotr Kołaczkowski
dc2acba043
Make LongBufferPoolTest insensitive to timing
...
This commit changes the way how LongBufferPoolTest verifies
that all buffers were freed and recycled. Now, the delay between
rounds can be arbitrarily short and timing does not affect the
validity of checks.
patch by Piotr Kołaczkowski; reviewed by Aleksey Yeschenko for
CASSANDRA-16681
2022-10-05 15:46:10 +01:00
Stefan Miklosovic
5d3c747719
add checkstyle modules for checking redundant and unused imports in Java code
...
patch by Stefan Miklosovic; reviewed by Brandon Williams for CASSANDRA-17876
Co-authored-by: Ling Mao <maoling@apache.org>
2022-09-26 21:41:15 +02:00
Josh McKenzie
3608f67076
Merge branch 'cassandra-4.0' into cassandra-4.1
2022-09-20 14:18:09 -04:00
Josh McKenzie
22ec7eee7f
Mitigate direct buffer memory OOM on replacements
...
Patch by Jon Meredith; reviewed by Josh McKenzie for CASSANDRA-17895
Co-authored-by: Jon Meredith <jonmeredith@apache.org>
Co-authored-by: Josh McKenzie <jmckenzie@apache.org>
2022-09-20 14:16:24 -04:00
Josh McKenzie
1f90c9eb3d
Merge branch 'cassandra-4.0' into cassandra-4.1
2022-09-20 12:57:51 -04:00
Josh McKenzie
29c0ad80c9
Fix repair failure on assertion if two peers have overlapping mismatching ranges
...
Patch by Marcus Eriksson; reviewed by Benedict Elliott Smith and Josh McKenzie for CASSANDRA-17900
Co-authored-by: Marcus Eriksson <marcuse@apache.org>
Co-authored-by: Josh McKenzie <jmckenzie@apache.org>
2022-09-20 12:55:24 -04:00
Ekaterina Dimitrova
4c85c6a403
key_cache_save_period, row_cache_save_period, counter_cache_save_period are not deprecated and we should not emit deprecation warning on startup for them
...
Patch by Ekaterina Dimitrova; reviewed by Stefan Miklosovic for CASSANDRA-17904
2022-09-19 18:10:36 -04:00
Jacek Lewandowski
d8bbeb9e39
Merge branch 'cassandra-4.0' into cassandra-4.1
2022-09-16 09:55:07 +02:00
Jacek Lewandowski
76be530a36
Fix schema reset functionality
...
Patch by Jacek Lewandowski, reviewed by Andrés de la Peña and Ekaterina Dimitrova for CASSANDRA-17819
2022-09-16 09:50:03 +02:00
Josh McKenzie
3f46c7d88b
Merge branch 'cassandra-4.0' into cassandra-4.1
...
# Conflicts:
# CHANGES.txt
2022-09-12 12:45:42 -04:00
Josh McKenzie
ac25d6929e
Better handle null state in Gossip schema migration to avoid NPE
...
Patch by Marcus Eriksson; reviewed by Josh McKenzie and Alex Petrov for CASSANDRA-17864
Co-authored-by: Marcus Eriksson <marcuse@apache.org>
Co-authored-by: Josh McKenzie <jmckenzie@apache.org>
2022-09-12 12:43:54 -04:00
David Capwell
d25adb498a
upsert with adder support is not consistent with numbers and strings in LWT
...
patch by David Capwell; reviewed by Benedict Elliott Smith, Caleb Rackliffe for CASSANDRA-17857
2022-09-06 18:07:18 -07:00
Brandon Williams
46700918f8
Catch NSE race condition and return after failing connections
...
Patch by brandonwilliams; reviewed by adelapena and aleksey for
CASSANDRA-17618
2022-09-06 11:54:20 -05:00
Jon Meredith
6748b8b7ea
Speculative execution threshold unit mismatch
...
patch by Jon Meredith; reviewed by Caleb Rackliffe, Yifan Cai for CASSANDRA-17877
2022-09-06 10:01:18 -06:00
Marcus Eriksson
cd576a0d14
Merge branch 'cassandra-4.0' into cassandra-4.1
2022-08-29 13:28:32 +02:00
Marcus Eriksson
5beab63b55
Improve the way we handle repair message timeouts to avoid hanging repairs
...
Patch by marcuse; reviewed by David Capwell for CASSANDRA-17613
2022-08-29 13:27:16 +02:00
Jacek Lewandowski
726b67b1e4
Merge branch 'cassandra-4.0' into cassandra-4.1
2022-08-26 17:39:46 +02:00
Jacek Lewandowski
2b492f17b9
Merge branch 'cassandra-3.11' into cassandra-4.0
2022-08-26 17:19:59 +02:00
Jacek Lewandowski
04c3e816e8
Merge branch 'cassandra-3.0' into cassandra-3.11
2022-08-26 17:17:07 +02:00
Jacek Lewandowski
a78db628b0
Fix scrubber falling into infinite loop
...
Fixes scrubber falling into infinite loop when the last partition is broken in data file and compression is enabled.
Patch by Jacek Lewandowski, reviewed by Brandon Williams, for CASSANDRA-17862
2022-08-26 17:06:10 +02:00
Josh McKenzie
704141541a
Merge branch 'cassandra-4.0' into cassandra-4.1
2022-08-24 15:24:11 -04:00
Josh McKenzie
73bea0ac1e
Merge branch 'cassandra-3.11' into cassandra-4.0
...
-s ours; applying 4.0+ patch for CASSANDRA-17840
2022-08-24 15:23:52 -04:00
Josh McKenzie
ab481be81d
Fix potential IndexOutOfBoundsException in PagingState in mixed mode clusters
...
Patch by Alex Petrov; reviewed by Josh McKenzie, Sam Tunnicliffe, and Aleksey Yeschenko for CASSANDRA-17840
Co-authored-by: Alex Petrov <oleksandr.petrov@gmail.com>
Co-authored-by: Josh McKenzie <jmckenzie@apache.org>
2022-08-24 15:04:21 -04:00
Francisco Guerrero
83c169ec9e
Fix BulkLoader to load entireSSTableThrottle and entireSSTableInterDcThrottle
...
patch by Francisco Guerrero; reviewed by Ekaterina Dimitrova, Yifan Cai for CASSANDRA-17677
2022-08-19 14:19:53 -07:00
Josh McKenzie
b95a6931f5
Merge branch 'cassandra-4.0' into cassandra-4.1
...
# Conflicts:
# CHANGES.txt
# src/java/org/apache/cassandra/repair/consistent/CoordinatorSession.java
2022-08-19 12:34:33 -04:00
Josh McKenzie
0353df7542
Prevent infinite loop in repair coordinator on FailSession
...
Patch by Marcus Eriksson; reviewed by David Capwell, Blake Eggleston, and Josh McKenzie for CASSANDRA-17834
Co-authored-by: Marcus Eriksson <marcuse@apache.org>
Co-authored-by: Josh McKenzie <jmckenzie@apache.org>
2022-08-19 12:33:24 -04:00
Yifan Cai
590de42a06
Merge branch 'cassandra-4.0' into cassandra-4.1
2022-08-16 15:24:34 -07:00
Yifan Cai
84e10d0cad
Fix race condition on updating cdc size and advancing to next segment
...
patch by Yifan Cai; reviewed by Josh McKenzie for CASSANDRA-17792
2022-08-16 15:21:37 -07:00
Jacek Lewandowski
c1d89c32d2
Fix a race condition where a keyspace can be opened while it is being removed
...
patch by Jacek Lewandowski; reviewed by Andrés de la Peña and Ekaterina Dimitrova for CASSANDRA 17658
2022-08-12 13:26:16 +02:00
Andrés de la Peña
16be1ab073
Merge branch 'cassandra-4.0' into cassandra-4.1
2022-08-12 10:31:30 +01:00
Andrés de la Peña
174e0dc399
Merge branch 'cassandra-3.11' into cassandra-4.0
2022-08-12 10:28:42 +01:00
Andrés de la Peña
4e410fc46d
Document usage of closed token intervals in manual compaction
...
patch by Andrés de la Peña; reviewed by Ekaterina Dimitrova for CASSANDRA-17575
2022-08-12 10:21:19 +01:00
Brandon Williams
f5dc9a1c1e
Set default FD in DD client initialization
...
Patch by Doug Rohrer; reviewed by brandonwilliams and maedhroz for
CASSANDRA-17782
2022-08-10 14:09:52 -05:00
Blake Eggleston
2bc4a36179
Use seeded crc for PaxosBallotTracker checksum
...
Patch by Blake Eggleston; Reviewed by Benedict Elliot Smith for CASSANDRA-17793
2022-08-09 08:58:27 -07:00
Ekaterina Dimitrova
a7d7708976
Merge branch 'cassandra-4.0' into cassandra-4.1
2022-08-08 13:02:48 -04:00
Ekaterina Dimitrova
e5e13c02cc
Fix default value for compaction_throughput_mb_per_sec in Config class to match the one in cassandra.yaml
...
patch by Ekaterina Dimimtrova; reviewed by Francisco Guerrero, Michael Semb Wever for CASSANDRA-17790
2022-08-08 12:45:36 -04:00
Runtian Liu
299bfaed35
Fix missing state resetting on CompressedRandomAccessReader read errors
...
patch by Runtian Liu; reviewed by Andrés de la Peña and Berenguer Blasi for CASSANDRA-17314
2022-08-08 13:52:10 +01:00
Caleb Rackliffe
5e39c54678
Avoid initializing schema via SystemKeyspace.getPreferredIP() with the BulkLoader tool
...
patch by Caleb Rackliffe; reviewed by Jon Meredith for CASSANDRA-17740
Co-authored-by: Caleb Rackliffe <calebrackliffe@gmail.com>
Co-authored-by: Jon Meredith <jmeredithco@gmail.com>
2022-08-05 15:31:40 -05:00
Ekaterina Dimitrova
dd08314ed6
Uncomment prepared_statements_cache_size, key_cache_size, counter_cache_size, index_summary_capacity which were
...
commented out by mistake in a previous patch;
Fix breaking change with cache_load_timeout; cache_load_timeout_seconds <=0 and cache_load_timeout=0 are equivalent
and they both mean disabled;
Deprecate public method setRate(final double throughputMbPerSec) in Compaction Manager in favor of
setRateInBytes(final double throughputBytesPerSec);
Revert breaking change removal of StressCQLSSTableWriter.Builder.withBufferSizeInMB(int size). Deprecate it in favor
of StressCQLSSTableWriter.Builder.withBufferSizeInMiB(int size);
Fix precision issues, add new -m flag (for nodetool/setstreamthroughput, nodetool/setinterdcstreamthroughput,
nodetool/getstreamthroughput and nodetoo/getinterdcstreamthroughput), add new -d flags (nodetool/getstreamthroughput,
nodetool/getinterdcstreamthroughput, nodetool/getcompactionthroughput);
Fix a bug with precision in nodetool/compactionstats;
Deprecate StorageService methods and add new ones for stream_throughput_outbound, inter_dc_stream_throughput_outbound,
compaction_throughput_outbound in the JMX MBean `org.apache.cassandra.db:type=StorageService`;
Removed getEntireSSTableStreamThroughputMebibytesPerSec in favor of new getEntireSSTableStreamThroughputMebibytesPerSecAsDouble
in the JMX MBean `org.apache.cassandra.db:type=StorageService`;
Removed getEntireSSTableInterDCStreamThroughputMebibytesPerSec in favor of getEntireSSTableInterDCStreamThroughputMebibytesPerSecAsDouble
in the JMX MBean `org.apache.cassandra.db:type=StorageService`
Patch by Ekaterina Dimitrova; reviewed by Caleb Rackliffe, Francisco Guerrero for CASSANDRA-17225
2022-08-01 19:05:13 -04:00