Commit Graph

27526 Commits

Author SHA1 Message Date
Mick Semb Wever 34e7fe4b4f
Update netbeans project file for latest deps
patch by Mick Semb Wever; reviewed by Enrico Olivelli for CASSANDRA-19667
2024-05-29 10:55:59 +02:00
Raymond Huffman 057d082e00 Add option to override the FatClient timeout for Bootstrapping nodes
Patch by Raymond Huffman; reviewed by brandonwilliams and dcapwell for
CASSANDRA-15439
2024-05-07 16:32:41 -05:00
Brandon Williams f12f928dee Bring dirs/ownership/perms in line with Debian package
Patch by brandonwilliams; reviewed by bereng for CASSANDRA-19565
2024-05-06 08:34:15 -05:00
Brandon Williams a6fb3b76fe Prepare debian changelog for 4.0.13 2024-05-02 09:52:04 -05:00
Stefan Miklosovic 334ca05730
Make nodetool import congruent with the documentation by not relying on the folder structure of the imported SSTable files
nodetool import requires keyspace and table on the command line to import SSTables to. This
was not always working as specifying keypace and table while having SSTables located in the
directory structure which differed on keyspace and table (dir and parent dir) just
ignored them.

patch by Stefan Miklosovic; reviewed by Brandon Williams for CASSANDRA-19401
2024-05-02 10:32:55 +02:00
David Capwell c14abb40b2 IR may leak SSTables with pending repair when coming from streaming
patch by David Capwell; reviewed by Blake Eggleston for CASSANDRA-19182
2024-05-01 14:32:07 -07:00
Jon Meredith 9157d98e4c Streaming exception race creates corrupt transaction log files that prevent restart
patch by Jon Meredith; reviewed by Caleb Rackliffe, David Capwell for CASSANDRA-18736
2024-04-25 13:59:59 -06:00
Stefan Miklosovic fba4a85b97
Fix CQL tojson timestamp output on negative timestamp values before Gregorian calendar reform in 1582
patch by Stefan Miklosovic; reviewed by Brandon Williams, Berenguer Blasi for CASSANDRA-19566
2024-04-23 00:44:37 +02:00
Jacek Lewandowski f92998190c Fix few types issues and implement types compatibility tests
Patch by Jacek Lewandowski; reviewed by Stefan Miklosovic for CASSANDRA-19479
2024-04-18 12:33:52 +02:00
Brandon Williams 0662094b84 Merge branch 'cassandra-3.11' into cassandra-4.0 2024-04-16 13:27:12 -05:00
Brandon Williams 2856a34636 Increment version 2024-04-16 13:26:59 -05:00
Brandon Williams 53f07f9610 Merge branch 'cassandra-3.11' into cassandra-4.0 2024-04-15 11:25:18 -05:00
Brandon Williams 7af7f42f5f Merge branch 'cassandra-3.0' into cassandra-3.11 2024-04-15 11:25:11 -05:00
Brandon Williams 44f472d742 Increment version 2024-04-15 11:24:55 -05:00
Brandon Williams fd46d400b5 Merge branch 'cassandra-3.11' into cassandra-4.0 2024-04-12 13:50:34 -05:00
Brandon Williams d079952c50 Prepare debian changelog for 3.11.17 2024-04-12 12:30:17 -05:00
Brandon Williams 9a1d7912ef Merge branch 'cassandra-3.11' into cassandra-4.0 2024-04-11 13:51:08 -05:00
Brandon Williams a766c18481 Merge branch 'cassandra-3.0' into cassandra-3.11 2024-04-11 13:50:48 -05:00
Brandon Williams 657e595b78 Prepare debian changelog for 3.0.30 2024-04-11 11:30:02 -05:00
Brandon Williams 296b9cb889 Prepare debian changelog for 3.0.30 2024-04-11 11:24:51 -05:00
Brandon Williams 00c45611c9 Prepare debian changelog for 3.0.30 2024-04-11 11:23:07 -05:00
Brandon Williams ccb83d0b6b Prepare debian changelog for 3.0.30 2024-04-11 11:13:02 -05:00
Caleb Rackliffe 0974a3656d Optionally avoid hint transfer during decommission
patch by Paul Chandler; reviewed by Caleb Rackliffe and Brandon Williams for CASSANDRA-19525
2024-04-08 15:22:10 -05:00
Mohammad Aburadeh 6a640b0c4e Change logging to TRACE when failing to get peer certificates
Patch by Mohammad Aburadeh; reviewed by brandonwilliams and jonmeredith
for CASSANDRA-19508
2024-04-04 10:58:19 -05:00
Brandon Williams f0aa6744d2 Merge branch 'cassandra-3.11' into cassandra-4.0 2024-04-03 16:49:35 -05:00
Tibor Répási 338e4ed618 Docs: deprecate the usage of apt-key and adopt distribution name
Patch by Tibor Répási; reviewed by brandonwilliams for CASSANDRA-19110
2024-04-03 16:48:06 -05:00
Ariel Weisberg c73683c1a8 Merge branch 'cassandra-3.11' into cassandra-4.0 2024-03-27 12:50:38 -04:00
Ariel Weisberg e276173d37 Merge branch 'cassandra-3.0' into cassandra-3.11 2024-03-27 12:49:32 -04:00
Ariel Weisberg 46bf9bcace Add properties for redirecting build-resolve to mirrors
patch by Ariel Weisberg; reviewed by Brandon Williams for CASSANDRA-19496
2024-03-27 12:48:57 -04:00
Ariel Weisberg 5dd9213149 Merge branch 'cassandra-3.11' into cassandra-4.0 2024-03-22 16:43:20 -04:00
Ariel Weisberg de2a965a18 Merge branch 'cassandra-3.0' into cassandra-3.11 2024-03-22 16:42:31 -04:00
Ariel Weisberg 38eb339557 Add support for providing nvdDatafeedUrl to OWASP
patch by Ariel Weisberg; reviewed by Berenguer Blasi for CASSANDRA-19484
2024-03-22 16:41:57 -04:00
arkn98 a2fbb17867 Push LocalSessions info logs to debug
Patch by arkn98; reviewed by bereng and brandonwilliams for CASSANDRA-18335
2024-03-14 10:24:38 -05:00
Stefan Miklosovic a124cfce85
Merge branch 'cassandra-3.11' into cassandra-4.0 2024-02-29 11:38:39 +01:00
Abe Ratnofsky 099fdf2673
Move ClientWarn.State#warnings to a thread-safe list
patch by Abe Ratnofsky; reviewed by Caleb Rackliffe, Stefan Miklosovic for CASSANDRA-19427
2024-02-29 11:33:03 +01:00
Bereng dee7947422 Bug in generate.sh removal of jobs 2024-02-26 07:43:40 +01:00
Stefan Miklosovic 5430e69e77
Merge branch 'cassandra-3.11' into cassandra-4.0 2024-02-23 14:49:06 +01:00
Stefan Miklosovic af5733124d
Merge branch 'cassandra-3.0' into cassandra-3.11 2024-02-23 14:48:02 +01:00
Jack Green 98eea87aa5
Fix SCM URL links
patch by Jack Green; reviewed by Stefan Miklosovic and Brandon Williams for CASSANDRA-19422
2024-02-23 14:43:41 +01:00
Runtian Liu c2041ba45b
Filter remote DC replicas out when constructing the initial replica plan for the local read repair
patch by Runtian Liu; reviewed by Blake Eggleston and Stefan Miklosovic for CASSANDRA-19120
2024-02-22 23:21:16 +01:00
maoling 8c4a58f035
Remove redundant code in StorageProxy#sendToHintedReplicas
patch by Ling Mao; reviewed by Stefan Miklosovic, Brandon Williams and Maxwell Guo for CASSANDRA-19412
2024-02-22 09:54:08 +01:00
Stefan Miklosovic 98d0e181d5
Remove bashisms for mx4j tool in cassandra-env.sh
/bin/sh (our shebang in bin/cassandra) does not recognize the
`if` construct which is available in /bin/bash only hence if
MX4J_ADDRESS or MX4J_PORT was not commented out, the script would
fail to execute it.

patch by Stefan Miklosovic; reviewed by Brandon Williams for CASSANDRA-19416
2024-02-21 08:37:23 +01:00
Andrés de la Peña 505f5af645 Ensure that repair doesn't exceed repair_session_space by running limiting validation parallelism
patch by Andrés de la Peña; reviewed by David Capwell for CASSANDRA-19336

Co-authored-by: Andrés de la Peña <a.penya.garcia@gmail.com>
Co-authored-by: David Capwell <dcapwell@apache.org>
2024-02-08 11:09:21 +00:00
Jacek Lewandowski 9613af24f3 Merge branch 'cassandra-3.11' into cassandra-4.0
* cassandra-3.11:
  Backport CASSANDRA-16418 to 3.x
2024-02-07 15:12:01 +01:00
Jacek Lewandowski 2170825f0e Merge branch 'cassandra-3.0' into cassandra-3.11
* cassandra-3.0:
  Backport CASSANDRA-16418 to 3.x
2024-02-07 15:12:00 +01:00
Szymon Miężał 5be57829b0 Backport CASSANDRA-16418 to 3.x
When a node is decommissioned, it triggers data transfer to other nodes.
During this transfer process, receiving nodes temporarily hold token ranges in a pending state.
However, the current cleanup process doesn't account for these pending ranges when calculating token ownership,
leading to inadvertent cleanup of data already stored in SSTables.
To address this issue, this patch introduces two changes.
Firstly, it backports CASSANDRA-16418, introducing a preventive check in `StorageService#forceKeyspaceCleanup`.
This check disallows the initiation of cleanup when a node contains any pending ranges for the requested keyspace.
Secondly, it reintroduces a similar condition to test for the existence of pending ranges in `CompactionManager#performCleanup`.
This ensures the safety of this API as well.

Patch by Szymon Miezal; reviewed by Brandon Williams, Jacek Lewandowski for CASSANDRA-18824

Co-authored-by: Szymon Miezal <szymon.miezal@datastax.com>
Co-authored-by: Jacek Lewandowski <lewandowski.jacek@gmail.com>
2024-02-07 15:11:59 +01:00
Brandon Williams 1e450dbb1a Merge branch 'cassandra-3.11' into cassandra-4.0 2024-02-02 07:24:13 -06:00
Brandon Williams 653337ed06 Merge branch 'cassandra-3.0' into cassandra-3.11 2024-02-02 07:23:02 -06:00
Brandon Williams 0bc95bbebd Set log-cli-level to DEBUG in circle config
Patch by brandonwilliams; reviewed by edimitrova for CASSANDRA-19350
2024-02-02 07:21:53 -06:00
Ekaterina Dimitrova 74079562f2 Merge branch 'cassandra-3.11' into cassandra-4.0 2024-01-31 11:15:49 -05:00