Commit Graph

29473 Commits

Author SHA1 Message Date
Mick Semb Wever 3c85def5cc
Honour parameter defaults between builds in Jenkinsfile
Also
– increase splits for jvm-dtests, container size and docker limits for simulator-dtest
– print exit status in .build/docker/run-tests.sh and  .build/docker/_docker_init_tests.sh
– add a summary list of test failures in ci_summary.html
– in ubuntu2004_test.docker make sure /home/cassandra exists and has correct perms (from Marcuse)
– when on ci-cassandra, replace use of copyArtifacts in Jenkinsfile generateTestReports() with manual wget of test files (copyArtifacts is notoriously slow, >4hrs in this case)
– copy ci_summary.html and results_details.tar.xz to nightlies
– capture generateTestReports logs
– stream xz where possible, instead of xz compressing afterwards
– fix ant version in centos7-build.docker
– remove docker login (was meangingless, if credentials exist then docker is logged in)
– prefetch docker images from jfrog (to reduce dockerhub pull rate limits), relates to CASSANDRA-18931
– use scripts from cassandra-builds to clean and report on agents, relates to CASSANDRA-18130
– use groovy elvis operators to avoid NPEs/failures on blank param values
– parallel jfrog pulls and cache it in jfrog too
– pin alpine docker image version
– don't stash .git (was causing AccessDeniedException on some unstash), needed fix so deb/rpm packaging worked on not-git work directories
– durabilityHint needs PERFORMANCE_OPTIMIZED, controller becomes scale bottleneck and breaks without it

 patch by Mick Semb Wever; reviewed by Brandon Williams for CASSANDRA-19558
2024-04-26 11:36:32 +02:00
Stefan Miklosovic fda12b25d2
ninja: remove unused import in StreamFailedWhileReceivingTest which fails the build 2024-04-26 08:52:28 +02:00
Jon Meredith 6559983d6c Merge branch 'cassandra-4.1' into cassandra-5.0 2024-04-25 14:01:41 -06:00
Jon Meredith 858a2b2321 Merge branch 'cassandra-4.0' into cassandra-4.1 2024-04-25 14:00:47 -06: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 93692a4b17
Merge branch 'cassandra-4.1' into cassandra-5.0 2024-04-23 01:11:21 +02:00
Stefan Miklosovic e471a57dc2
Merge branch 'cassandra-4.0' into cassandra-4.1 2024-04-23 00:51:18 +02: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 82297b490e Merge branch 'cassandra-4.1' into cassandra-5.0
* cassandra-4.1:
  Fix few types issues and implement types compatibility tests
2024-04-18 12:33:55 +02:00
Jacek Lewandowski 445ae1a4b1 Merge branch 'cassandra-4.0' into cassandra-4.1
* cassandra-4.0:
  Fix few types issues and implement types compatibility tests
2024-04-18 12:33:54 +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
Caleb Rackliffe 9bfaee91c4 Optionally fail writes when SAI refuses to index a term value exceeding a configured maximum size
patch by Caleb Rackliffe; reviewed by Berenguer Blasi and Stefan Miklosovic for CASSANDRA-19493
2024-04-17 11:12:42 -05:00
Brandon Williams 1a66347e70 Update in-tree docker versions 2024-04-17 05:54:00 -05:00
Brandon Williams 0c34234f67 Merge branch 'cassandra-4.1' into cassandra-5.0 2024-04-16 13:27:24 -05:00
Brandon Williams 643d7f1751 Merge branch 'cassandra-4.0' into cassandra-4.1 2024-04-16 13:27:18 -05: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 e127ddf7dd Merge branch 'cassandra-4.1' into cassandra-5.0 2024-04-15 11:25:34 -05:00
Brandon Williams a6209d0cfc Merge branch 'cassandra-4.0' into cassandra-4.1 2024-04-15 11:25:24 -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 42498a14fa Merge branch 'cassandra-4.1' into cassandra-5.0 2024-04-12 13:50:57 -05:00
Brandon Williams b525f5fff4 Merge branch 'cassandra-4.0' into cassandra-4.1 2024-04-12 13:50:49 -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 a620a9df86 Merge branch 'cassandra-4.1' into cassandra-5.0 2024-04-11 13:51:29 -05:00
Brandon Williams b3bca0ad6a Merge branch 'cassandra-4.0' into cassandra-4.1 2024-04-11 13:51: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
Mick Semb Wever cada1a13c8
Vector search should be able to restrict on clustering keys when filtering isn't required
patch by Mick Semb Wever; reviewed by Caleb Rackliffe for CASSANDRA-19544
2024-04-11 00:25:59 +02:00
Caleb Rackliffe 7c29439cef Merge branch 'cassandra-4.1' into cassandra-5.0
* cassandra-4.1:
  Optionally avoid hint transfer during decommission
2024-04-08 15:29:17 -05:00
Caleb Rackliffe 39bd3c2261 Merge branch 'cassandra-4.0' into cassandra-4.1
* cassandra-4.0:
  Optionally avoid hint transfer during decommission
2024-04-08 15:28:06 -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
Stefan Miklosovic 9752ceb439
Merge branch 'cassandra-4.1' into cassandra-5.0 2024-04-05 11:28:08 +02:00
Stefan Miklosovic 5fb562d7ef
Fix hints delivery for a node going down repeatedly
patch by Stefan Miklosovic; reviewed by Brandon Williams, Paul Chandler for CASSANDRA-19495
2024-04-05 10:53:54 +02:00
Brandon Williams 00dccf25ab Merge branch 'cassandra-4.1' into cassandra-5.0 2024-04-04 11:00:24 -05:00
Brandon Williams 659e41db9a Merge branch 'cassandra-4.0' into cassandra-4.1 2024-04-04 11:00:07 -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
Mick Semb Wever f7c11bdcd4
Standalone Jenkinsfile
– ensure test file paths, and their suite names are unique (the latter was broken for cqlshlib and python dtests)
 – removal of properties and system-out in test xml happens in CassandraXMLJUnitResultFormatter
 – new jenkins agent labels and introduce agents sizes
 - ci_summary.html generation script, ref work submitted in apache/cassandra-builds#99
 – fix for stress-test and fqltool-test running on small
 - ant generate-test-report is limited to only running on individual test types (ci_parser.py provides ci_summary.html for the overview now)
 - each cell has a single retry, and the retry will happen on a different agent
 - on ci-cassandra the summary stage happens on the builtin, bc copyArtifacts on 15k+ files takes many hours otherwise
 - test-burn only needs two splits
 - dependency-check is disabled from the lint target until CASSANDRA-19213
 - add $DEBUG env var to in-tree scripts, turns on bash debug
 - fix FBUtilities' handling of gcp cos_containerd (kernel version comes with a trailing '+' character)

 patch by Aleks Volochnev, Mick Semb Wever; reviewed by Aleksandr Volochnev, Josh McKenzie, Maxim Muzafarov, Stefan Miklosovic for CASSANDRA-18594

Co-authored-by: Aleksandr Volochnev <a.volochnev@gmail.com>
Co-authored-by: Mick Semb Wever <mck@apache.org>
Co-authored-by: Josh McKenzie <jmckenzie@apache.org>
Co-authored-by: Artem Chekunov <artem.v.chekunov@gmail.com>
2024-04-04 11:56:36 +02:00
Ekaterina Dimitrova b0150e86fb Clean up KeyRangeIterator classes
* replace KeyRangeConcatIterator's PriorityQeueu with List
* remove KeyRangeIterator.current and simplify
* remove injected exception and tests - not relevant to the current implementation
* expand randomized testing
* inline getCurrent() -> peek(); rename getCount to getMaxKeys
* redefine skipTo contract to not return a value (which saves unnecessary work when skipTo is called multiple times in a row)
* calling hasNext in skipTo is a pessimization; if the iterator is in DONE state, then skipTo will see it and avoid further effort; if it is not, then we are computing a next value that we're just going to throw away
* fix SingleNodeQueryFailureTest - tests now multi and single index
* rationalize/standardize the way we release SSTableIndexes in QueryController

patch by Ekaterina Dimitrova; reviewed by Caleb Rackliffe, Ekaterina Dimitrova for CASSANDRA-19428

Co-authored-by: Caleb Rackliffe <calebrackliffe@gmail.com>
Co-authored-by: Jonathan Ellis <jbellis@apache.org>
Co-authored-by: Piotr Kolaczkowski <pkolaczk@datastax.com>
Co-authored-by: Michael Marshall <michael.marshall@datastax.com>
2024-04-03 18:24:27 -04:00
Brandon Williams 973aad7b68 Merge branch 'cassandra-4.1' into cassandra-5.0 2024-04-03 17:01:32 -05:00
Brandon Williams 7cbf59e9a1 Merge branch 'cassandra-4.0' into cassandra-4.1 2024-04-03 16:50:43 -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
Caleb Rackliffe be507c6e99 Warn clients about possible consistency violations for filtering queries against multiple mutable columns
patch by Caleb Rackliffe; reviewed by David Capwell and Berenguer Blasi for CASSANDRA-19489
2024-04-03 16:31:55 -05:00