Commit Graph

1672 Commits

Author SHA1 Message Date
Abe Ratnofsky c853efffa8 Support audit logging for JMX operations
Patch by Abe Ratnofsky; reviewed by Bernardo Botella, Doug Rohrer, Francisco Guerrero for CASSANDRA-20128
2025-01-02 09:15:59 -08:00
Stefan Miklosovic 8ac5efb666
Merge branch 'cassandra-5.0' into trunk 2024-09-06 10:10:30 +02:00
Stefan Miklosovic 7524b774f9
Set executable flag for shell scripts in .build directory for source artifact
patch by Stefan Miklosovic; reviewed by Michael Semb Wever for CASSANDRA-19896
2024-09-06 10:08:09 +02:00
ci worker 7f246d5419 Harry Simulation test halts the JVM when errors are detected which loose all history in CI
patch by David Capwell; reviewed by Alex Petrov for CASSANDRA-19802
2024-07-25 15:06:41 -07:00
mck ed83e5d4f3
Merge branch 'cassandra-5.0.0' into cassandra-5.0
* cassandra-5.0.0:
  Increment version to 5.0-rc2
2024-07-19 09:55:41 +02:00
mck 08e1fecf36
Increment version to 5.0-rc2 2024-07-19 09:45:39 +02:00
Mick Semb Wever 410cce16b8
Increment version to 5.0-rc1 2024-06-21 16:08:08 +02:00
Mick Semb Wever 397568d033
Merge branch 'cassandra-5.0' into trunk
* cassandra-5.0:
  Honour parameter defaults between builds in Jenkinsfile
2024-04-26 11:37:06 +02: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
Mick Semb Wever 2108f9dcaf
Merge branch 'cassandra-5.0' into trunk
* cassandra-5.0:
  Standalone Jenkinsfile
2024-04-04 11:58:17 +02: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
Branimir Lambov 28efb63df5 Merge branch 'cassandra-5.0' into trunk 2024-03-07 13:19:16 +02:00
Branimir Lambov 06ed1afc34 Add an optimized default configuration to tests and make it available for new users
This patch adds a new configuration file, cassandra_latest.yaml, which changes
some of the settings to use new features we usually recommend to users,
including:
- Big Trie-Indexed SSTables
- Trie memtables
- Unified Compaction Strategy
- Storage Attached Index
- Off-heap objects memtables
- Direct-write commit log
- No storage compatibility

These changes are applied in new test targets for unit, in-jvm and python dtests that are
run pre-commit. When changes are made to the new config file, python dtest will use it
directly, but unit and in-jvm dtests require updates, respectively, to latest_diff.yaml
and InstanceConfig.java.

patch by Branimir Lambov; reviewed by Berenguer Blasi for CASSANDRA-18753
2024-03-07 11:08:44 +02:00
Stefan Miklosovic cf71b602e6
Merge branch 'cassandra-5.0' into trunk 2024-02-23 14:53:56 +01:00
Stefan Miklosovic 2482c8a936
Merge branch 'cassandra-4.1' into cassandra-5.0 2024-02-23 14:52:32 +01:00
Stefan Miklosovic 95fcefede2
Merge branch 'cassandra-4.0' into cassandra-4.1 2024-02-23 14:51:06 +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
Stefan Miklosovic a9a7dd0caf
increment version to 4.1.5 2024-02-14 21:18:44 +01:00
Stefan Miklosovic 2a7c64027d
increment version to 4.0.13 2024-01-23 18:40:10 +01:00
Jacek Lewandowski ca067ca58a Merge branch 'cassandra-5.0' into trunk
* cassandra-5.0:
  Fix storage_compatibility_mode for streaming
2024-01-23 14:31:10 +01:00
Jacek Lewandowski d422eb1f35 Fix storage_compatibility_mode for streaming
- Rename and refactor a bit property for overriding storage compatibility mode
- Fix streaming for tools
- consider bulkloader as a client instead of tool

Patch by Jacek Lewandowski; reviewed by Berenguer Blasi, Branimir Lambov for CASSANDRA-19126
2024-01-23 14:24:06 +01:00
Alex Petrov 439d1b122a Bring Harry into C* Tree
Patch by Alex Petrov; reviewed by Caleb Rackliffe and Marcus Eriksson for CASSANDRA-19210.
2023-12-23 15:04:25 +01:00
Jacek Lewandowski 481d2fd51d Merge branch 'cassandra-4.0' into cassandra-4.1
* cassandra-4.0:
  Updated the OWASP plugin to 9.0.5 and refactored dependency checks
2023-12-20 12:59:54 +01:00
Jacek Lewandowski 891f1119a0 Merge branch 'cassandra-3.11' into cassandra-4.0
* cassandra-3.11:
  Updated the OWASP plugin to 9.0.5 and refactored dependency checks
2023-12-20 12:59:53 +01:00
Jacek Lewandowski 09c46750f6 Merge branch 'cassandra-3.0' into cassandra-3.11
* cassandra-3.0:
  Updated the OWASP plugin to 9.0.5 and refactored dependency checks
2023-12-20 12:59:52 +01:00
Jacek Lewandowski 4c3b96e4cd Updated the OWASP plugin to 9.0.5 and refactored dependency checks
Configured OWASP database to use caching and NVD key. Properties can be
configured in ~/.ant/build.properties and define both the key and
the storage location

Patch by Jacek Lewandowski; reviewed by Maxim Muzafarov, Stefan Miklosovic for CASSANDRA-19146
2023-12-20 12:59:51 +01:00
Jacek Lewandowski 08c46d0963 Merge branch 'cassandra-5.0' into trunk
* cassandra-5.0:
  Fix the correspondingMessagingVersion of SSTable format and improve TTL overflow tests coverage
2023-12-15 09:44:46 +01:00
Jacek Lewandowski 2fc2be54ca Fix the correspondingMessagingVersion of SSTable format and improve TTL overflow tests coverage
Patch by Jacek Lewandowski; reviewed by Berenguer Blasi for CASSANDRA-19197
2023-12-15 09:40:37 +01:00
Mick Semb Wever bddf368740
Increment version to 5.0-beta2 2023-12-07 11:25:40 +01:00
Jacek Lewandowski d91997cb04 Merge branch 'cassandra-5.0' into trunk
* cassandra-5.0:
  Fix repeated tests on CircleCI and long-testsome/burn-testsome targets
2023-12-01 19:40:47 +01:00
Jacek Lewandowski b48fdc7cf2 Merge branch 'cassandra-4.1' into cassandra-5.0
* cassandra-4.1:
  Fix repeated tests on CircleCI and long-testsome/burn-testsome targets
2023-12-01 19:40:46 +01:00
Jacek Lewandowski 4059faf5b9 Merge branch 'cassandra-4.0' into cassandra-4.1
* cassandra-4.0:
  Fix repeated tests on CircleCI and long-testsome/burn-testsome targets
2023-12-01 19:40:45 +01:00
Jacek Lewandowski e1b0b44f9e Fix repeated tests on CircleCI and long-testsome/burn-testsome targets
Patch by Jacek Lewandowski; reviewed by Berenguer Blasi for CASSANDRA-19086
2023-12-01 19:40:44 +01:00
Sam Tunnicliffe ae0842372f Implementation of Transactional Cluster Metadata as described in CEP-21
An overview of the core components can be found in the included
TransactionalClusterMetadata.md

patch by Alex Petrov, Marcus Eriksson and Sam Tunnicliffe; reviewed by
Alex Petrov, Marcus Eriksson and Sam Tunnicliffe for CASSANDRA-18330

Co-authored-by: Marcus Eriksson <marcuse@apache.org>
Co-authored-by: Alex Petrov <oleksandr.petrov@gmail.com>
Co-authored-by: Sam Tunnicliffe <samt@apache.org>
2023-11-24 10:26:08 +00:00
Mick Semb Wever 337aa5ce33
Merge branch 'cassandra-5.0' into trunk
* cassandra-5.0:
  Add to jenkins pipeline: test-oa, test-system-keyspace-directory, test-trie, jvm-dtest-novnode, jvm-dtest-upgrade-novnode simulator-dtest, dtest-large-novnode, dtest-upgrade-large, dtest-upgrade-novnode, dtest-upgrade-novnode-large.
2023-11-14 21:59:14 -05:00
Mick Semb Wever f0655159e6
Add to jenkins pipeline: test-oa, test-system-keyspace-directory, test-trie, jvm-dtest-novnode, jvm-dtest-upgrade-novnode simulator-dtest, dtest-large-novnode, dtest-upgrade-large, dtest-upgrade-novnode, dtest-upgrade-novnode-large.
patch by Mick Semb Wever; reviewed by Berenguer Blasi, Brandon Williams for CASSANDRA-17989, CASSANDRA-18008, CASSANDRA-17145, CASSANDRA-18003
2023-11-14 21:56:57 -05:00
Jacek Lewandowski dc62e1dba1 Merge branch 'cassandra-5.0' into trunk
* cassandra-5.0:
  CASSANDRA-18785: Add support for Sonar analysis
2023-11-13 14:48:30 +01:00
Jacek Lewandowski 4d61359c21 CASSANDRA-18785: Add support for Sonar analysis
Patch by Jacek Lewandowski; reviewed by Brandon Williams, Maxim Muzafarov, Michael Semb Wever, Stefan Miklosovic for CASSANDRA-18785
2023-11-13 14:48:28 +01:00
Mick Semb Wever 009d1ca9ee
Increment version to 5.0-beta1
ref: https://lists.apache.org/thread/ndycyjg4zh7zt31gm7w823v0gj506m63
2023-11-06 19:43:46 +01:00
Mick Semb Wever acf6281dd6
Increment version to 5.0-alpha3 2023-11-04 16:58:05 +01:00
Mick Semb Wever 302b272b14
Merge branch 'cassandra-5.0' into trunk
* cassandra-5.0:
  Fixes for in-tree scripts: offline mode, maybe-build for fqltool-test, jvm-dtest-upgrade
2023-10-16 16:02:29 +02:00
Mick Semb Wever 987d03c142
Fixes for in-tree scripts: offline mode, maybe-build for fqltool-test, jvm-dtest-upgrade
- jvm-dtest-upgrade script running in ci-cassandra.a.o (needs default bash)
 - add offline mode (to avoid `git fetch` before building dtest-jars on other branches),
 - avoid rebuilding in fqltool-test target, as is standard for test targets.
 - python detection and override
 - FileTest cleanup (tmp directory was left unreadable and undeletable)
 - reuse ~/.ccm (like normal)
 - remove support for python 3.6
 - remove docker volumes in image (they are added at run time)
 - remove superfluousjava version debug
 – extra mount for build/tmp as hack to prevent buggy hardlinks on overlay

 patch by Mick Semb Wever; reviewed by Brandon Williams, Ekaterina Dimitrova, Josh McKenzie, Maxim Muzafarov for CASSANDRA-18665
2023-10-16 16:01:28 +02:00
Stefan Miklosovic ea6461b870
Merge branch 'cassandra-4.0' into cassandra-4.1 2023-10-10 10:04:42 +02:00
Stefan Miklosovic b57c13603a
Remove byteman-related files from production sources
This patch also removes compress-lzf library (leftover from CASSANDRA-12229)
as well as it makes byte-buddy dependencies to be test scoped.

patch by Stefan Miklosovic; reviewed by Michael Semb Wever for CASSANDRA-18877
2023-10-10 09:51:11 +02:00
Ekaterina Dimitrova 486acc68f1 Merge branch 'cassandra-4.0' into cassandra-4.1 2023-10-03 10:50:41 -04:00
Ekaterina Dimitrova 4eeaf6a6ee Update hdrhistogram to 2.1.12
patch by Ekaterina Dimitrova; reviewed by Brandon Williams and Tobias Lindaaker for CASSANDRA-18893
2023-10-03 10:39:22 -04:00
Stefan Miklosovic 27fe757636
Merge branch 'cassandra-4.0' into cassandra-4.1 2023-09-27 20:57:23 +02:00
Stefan Miklosovic b039f72e6b
Merge branch 'cassandra-3.11' into cassandra-4.0 2023-09-27 20:54:09 +02:00