Commit Graph

29561 Commits

Author SHA1 Message Date
Brandon Williams 8ea4111124 Merge branch 'cassandra-4.1' into cassandra-5.0 2024-06-04 08:26:30 -05:00
Brandon Williams 258a04a361 Ninja remove unused imports 2024-06-04 08:26:10 -05:00
Alex Petrov 617a75843c Merge branch 'cassandra-4.1' into cassandra-5.0 2024-05-31 11:24:37 +02:00
Alex Petrov dc17c29724 Add native transport deadline, an ultimate deadline for all tasks related to a specific request
* Add an ability to base _replica_ side queries on the queue time
      * Use queue time as a base for message timeouts
      * Use native transport deadline for internode messages
      * Make sure that local runnables respect transport timeouts and deadlines
      * Make sure that remote mutation handler respects message expiration times

Patch by Alex Petrov; reviewed by Caleb Rackliffe for CASSANDRA-19534
2024-05-31 11:10:58 +02:00
Josh McKenzie 9ebe0aa08a Replace getStderr calls with getCleanedStderr calls in tests checking for emptiness
Patch by Jon Meredith; reviewed by Josh McKenzie and Berenguer Blasi for CASSANDRA-17815

Co-authored-by: Jon Meredith <jmeredithco@gmail.com>
Co-authored-by: Josh McKenzie <jmckenzie@apache.org>
2024-05-31 10:59:56 +02:00
Mick Semb Wever fbfa77e70f
Merge branch 'cassandra-4.1' into cassandra-5.0
* cassandra-4.1:
  Update netbeans project file for latest deps
2024-05-29 11:11:41 +02:00
Mick Semb Wever aa20c9ab11
Merge branch 'cassandra-4.0' into cassandra-4.1
* cassandra-4.0:
  Update netbeans project file for latest deps
2024-05-29 11:09:35 +02:00
Mick Semb Wever 8be9b583b2
Merge branch 'cassandra-4.1' into cassandra-5.0
* cassandra-4.1:
  Increment version
2024-05-29 11:01:20 +02:00
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
Brandon Williams 5c3efdd35d Increment version 2024-05-20 09:39:22 -05:00
Stefan Miklosovic 59a5c6477d
Merge branch 'cassandra-4.1' into cassandra-5.0 2024-05-14 11:31:40 +02:00
Мещеряков Вячеслав Юрьевич d1f2936ccb
Support legacy plain_text_auth section in credentials file removed unintentionally
patch by Мещеряков Вячеслав Юрьевич; reviewed by Stefan Miklosovic and Brad Schoening for CASSANDRA-19498
2024-05-14 10:07:19 +02:00
Maxim Muzafarov ccdeb12419 Enforce metric naming contract if scope is used in a metric name
patch by Maxim Muzafarov; reviewed by Caleb Rackliffe, Michael Semb Wever for CASSANDRA-19619
2024-05-08 19:44:51 +02:00
Brandon Williams 3b8c48024e Merge branch 'cassandra-4.1' into cassandra-5.0 2024-05-08 10:28:46 -05:00
Brandon Williams c6017aca77 Merge branch 'cassandra-4.0' into cassandra-4.1 2024-05-08 10:28:12 -05: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 049160e70a Avoid reading of the same IndexInfo from disk many times for a large
partition when ShallowIndexedEntry is used

Patch by Dmitry Konstantinov; reviewed by bereng and brandonwilliams for
CASSANDRA-19557
2024-05-06 10:27:29 -05:00
Brandon Williams 1902195d99 Merge branch 'cassandra-4.1' into cassandra-5.0 2024-05-06 08:37:01 -05:00
Brandon Williams 103e9cca1a Merge branch 'cassandra-4.0' into cassandra-4.1 2024-05-06 08:35:07 -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
Stefan Miklosovic 326bf4b3f5
Resolve the oldest hints just from descriptors and current writer if available
patch by Stefan Miklosovic; reviewed by Aleksey Yeschenko for CASSANDRA-19600
2024-05-02 23:02:09 +02:00
Caleb Rackliffe e22f67a2f7 Make sure IntersectFilteringQueryTest#shouldNotWarnOrFailOnIndexQuery waits for indexes to be available before making queries
patch by Caleb Rackliffe; reviewed by Brandon Williams for CASSANDRA-19612
2024-05-02 13:32:00 -05:00
Brandon Williams 7402bcb8f7 Merge branch 'cassandra-4.1' into cassandra-5.0 2024-05-02 10:47:01 -05:00
Brandon Williams 6b13426562 Prepare debian changelog for 4.1.5 2024-05-02 10:19:47 -05:00
Brandon Williams d7aa3c60f9 Merge branch 'cassandra-4.1' into cassandra-5.0 2024-05-02 10:14:11 -05:00
Brandon Williams 5cf8a4cbbb Merge branch 'cassandra-4.0' into cassandra-4.1 2024-05-02 10:13:53 -05:00
Brandon Williams a6fb3b76fe Prepare debian changelog for 4.0.13 2024-05-02 09:52:04 -05:00
Brandon Williams 3262847ad7 Install ed from bullseye repo
Patch by brandonwilliams; reviewed by smiklosovic for CASSANDRA-19606
2024-05-02 08:48:38 -05:00
Stefan Miklosovic d1101eeccc
Merge branch 'cassandra-4.1' into cassandra-5.0 2024-05-02 10:43:28 +02:00
Stefan Miklosovic 85039aa8c5
Merge branch 'cassandra-4.0' into cassandra-4.1 2024-05-02 10:39:28 +02: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
ci worker 1b1f88e38a Merge branch 'cassandra-4.1' into cassandra-5.0 2024-05-01 14:35:08 -07:00
ci worker 7c79d91b6f Merge branch 'cassandra-4.0' into cassandra-4.1 2024-05-01 14:34:02 -07: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
Caleb Rackliffe a9da19c311 Merge branch 'cassandra-4.1' into cassandra-5.0
* cassandra-4.1:
  Make queries visible to the "system_views.queries" virtual table at the coordinator level
2024-05-01 14:41:57 -05:00
Caleb Rackliffe 428fa1f445 Make queries visible to the "system_views.queries" virtual table at the coordinator level
patch by Caleb Rackliffe; reviewed by David Capwell and Chris Lohfink for CASSANDRA-19577
2024-05-01 14:32:12 -05:00
Brandon Williams ae9be29918 Merge branch 'cassandra-4.1' into cassandra-5.0 2024-04-30 17:01:23 -05:00
Chris Lohfink a6e80317de apply schema if schema digest differs
Patch by clohfink; reviewed by brandonwilliams and jwest for
CASSANDRA-19578
2024-04-30 16:59:34 -05:00
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