Commit Graph

95 Commits

Author SHA1 Message Date
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
Maxim Muzafarov e1ee0acc02
Enable check for unnecessary import from the same package and from java.lang package in IntelliJ IDE
patch by Maxim Muzafarov; reviewed by Berenguer Blasi and Stefan Miklosovic for CASSANDRA-18865
2023-09-25 10:25:13 +02:00
Bereng 4bfca2badb IDEA to mark unused imports as error
patch by Berenguer Blasi; reviewed by Caleb Rackliffe, Francisco Guerrero, Jacek Lewandowski, Maxim Muzafarov, Stefan Miklosovic for CASSANDRA-18853
2023-09-19 06:34:34 +02:00
Mick Semb Wever 192a639088
Update netbeans project files: new src/test paths, new dependencies classpath, and removal of jdk selection
WRT to the "jdk selection" removal, which no longer appears to be working for freeform projects, you now have to start netbeans with the jdk you want to run contextual actions with.

 patch by Mick Semb Wever; reviewed by Brandon Williams for CASSANDRA-18687
2023-07-28 21:30:39 +02:00
Jacek Lewandowski c6cb1cd245 Merge branch 'cassandra-4.1' into trunk 2023-07-27 11:26:21 +02:00
Jacek Lewandowski efba69dbe1 Add simulator/test to IntelliJ configuration
Patch by Jacek Lewandowski; reviewed by Stefan Miklosovic for CASSANDRA-18698
2023-07-27 11:25:08 +02:00
Ekaterina Dimitrova 3755934e52 Drop JDK8 and add JDK17, remove eclipse-warnings in favor of Checker Framework and upgrade checkstyle
patch by Ekaterina Dimitrova; reviewed by Jeremiah Jordan, Berenguer Blasi, Michael Semb Wever and Jacek Lewandowski for CASSANDRA-18255
2023-07-24 15:16:53 -04:00
Mick Semb Wever 7ca806c60a
Change trunk from 4.2 to 5.0
– update MessagingService (remove the 4.1 version that was only a placeholder in test code bc serialisation test files were previously incorrectly serialising random UUIds for TimeUUIDs)
 – update upgrade jvm-dtests
 – remove older serialization binary files we are no longer testing against

 patch by Mick Semb Wever; reviewed by Brandon Williams for CASSANDRA-17973
2023-03-07 11:03:38 +01:00
Stefan Miklosovic 9a08062f1b
Merge branch 'cassandra-4.1' into trunk 2023-02-17 16:40:15 +01: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
Jon Meredith e107b85571 Merge branch 'cassandra-4.1' into trunk 2023-02-13 17:51:09 -07:00
Jon Meredith 5c4c7b69aa Merge branch 'cassandra-4.0' into cassandra-4.1 2023-02-13 17:46:28 -07:00
Jon Meredith 4e0aad3319 Split and order IDEA workspace template VM_PARAMETERS
patch by Jon Meredith; reviewed by David Capwell for CASSANDRA-18242
2023-02-13 17:43:21 -07:00
Jacek Lewandowski 763793e89d Merge branch 'cassandra-4.1' into trunk 2023-02-01 09:49:17 +01: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
Stefan Miklosovic 386bf7815a Merge branch 'cassandra-4.1' into trunk 2023-01-10 09:08:36 +01:00
Stefan Miklosovic da5ec9a8e3 Merge branch 'cassandra-4.0' into cassandra-4.1 2023-01-10 09:06:56 +01:00
Stefan Miklosovic f17e431f24 Merge branch 'cassandra-3.11' into cassandra-4.0 2023-01-10 09:04:51 +01:00
Stefan Miklosovic 156cc6fedc Merge branch 'cassandra-3.0' into cassandra-3.11 2023-01-10 09:02:46 +01:00
Maxim Muzafarov 877d6e6e95 Add to the IntelliJ Git Window issue navigation links to Cassandra's Jira
patch by Maxim Muzafarov; reviewed by David Capwell, Aleksey Yeschenko, Stefan Miklosovic for CASSANDRA-18126
2023-01-09 09:37:53 +01:00
Mick Semb Wever 9603d03938
Merge branch 'cassandra-4.1' into trunk
* cassandra-4.1:
  Update NetBeans project file for dependency changes since 7th July 2021
2022-11-02 18:33:32 +01:00
Mick Semb Wever b7ef579703
Merge branch 'cassandra-4.0' into cassandra-4.1
* cassandra-4.0:
  Update NetBeans project file for dependency changes since 7th July 2021
2022-11-02 18:32:53 +01:00
Mick Semb Wever 0db0b8f781
Update NetBeans project file for dependency changes since 7th July 2021
patch by Mick Semb Wever; reviewed by Ekaterina Dimitrova for CASSANDRA-18002
2022-11-02 18:31:05 +01:00
Mick Semb Wever b0ae3de1c9
Merge branch 'cassandra-4.1' into trunk
* cassandra-4.1:
  Fix JMX security vulnerabilities
2022-10-18 22:58:57 +02: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
Josh McKenzie 3e0b94565a Add support to generate a One-Shot heap dump on unhandled exceptions
Patch by Caleb Rackliffe; reviewed by Josh McKenzie, David Capwell, and Jon Meredith for CASSANDRA-17795

Co-authored-by: Caleb Rackliffe <calebrackliffe@gmail.com>
Co-authored-by: Josh McKenzie <jmckenzie@apache.org>
2022-08-15 10:48:29 -04:00
Francisco Guerrero a250126f0f Remove commons-lang dependency during build runtime
patch by Francisco Guerrero; reviewed by Dinesh Joshi, Yifan Cai for CASSANDRA-17724
2022-07-06 17:41:12 -07:00
David Capwell 7db3285e7b Migrate track_warnings to more standard naming conventions and use latest configuration types rather than long
patch by David Capwell; reviewed by Andres de la Peña, Caleb Rackliffe for CASSANDRA-17560
2022-04-21 14:32:25 -07:00
Benedict Elliott Smith 209c35aa62 [CEP-10] Phase 4: Cluster and Code Simulation
patch by Benedict; reviewed by Sam Tunnicliffe for CASSANDRA-17008

Co-authored-by: Benedict Elliott Smith <benedict@apache.org>
Co-authored-by: Sam Tunnicliffe <samt@apache.org>
Co-authored-by: Alex Petrov <oleksandr.petrov@gmail.com>
2021-11-30 16:05:54 +00:00
Brandon Williams ec04802e52 Merge branch 'cassandra-4.0' into trunk 2021-10-21 07:39:25 -05:00
Brandon Williams e8d905e636 Merge branch 'cassandra-3.11' into cassandra-4.0 2021-10-21 07:39:15 -05:00
Brandon Williams 386fe19d7d Merge branch 'cassandra-3.0' into cassandra-3.11 2021-10-21 07:38:48 -05:00
Brandon Williams 94611e9f2b Set fork mode to class in IntelliJ default test config
Patch by Jacek Lewandowski; reviewed by brandonwilliams and marcuse for
CASSANDRA-17053
2021-10-21 07:37:53 -05:00
David Capwell c7526f943f Add soft/hard limits to local reads to protect against reading too much data in a single query
patch by David Capwell; reviewed by Caleb Rackliffe and Marcus Eriksson for CASSANDRA-16896
2021-09-28 12:49:12 -05:00
Marcus Eriksson 9e9dffb704 Remove OrderedJUnit4ClassRunner
Patch by marcuse; reviewed by Caleb Rackliffe for CASSANDRA-16942
2021-09-20 13:37:32 +02:00
Caleb Rackliffe 4950878639 update IDEA setup generation to mark test/conf as test resources
patch by Abe Ratnofsky; reviewed by Caleb Rackliffe and Brandon Williams for CASSANDRA-16745
2021-07-25 11:37:33 -05:00
jacek-lewandowski 8857d04489 Fix broken IntelliJ configuration Authored by Jacek Lewandowski; reviewed by Ekaterina Dimitrova and Michael Semb Wever for CASSANDRA-16618 2021-07-25 11:37:33 -05:00
Mick Semb Wever fd7732389a Update IDE, Eclipse and NetBeans, classpaths for tests
patch by Mick Semb Wever, Berenguer Blasi; reviewd by Ekaterina Dimitrova, Benjamin Lerer for CASSANDRA-16560
2021-07-25 11:37:33 -05:00
jacek-lewandowski d3e174fa22 Fix broken IntelliJ configuration Authored by Jacek Lewandowski; reviewed by Ekaterina Dimitrova and Michael Semb Wever for CASSANDRA-16618 2021-07-25 11:35:45 -05:00
Mick Semb Wever 6bf9b8b694 Update IDE, Eclipse and NetBeans, classpaths for tests
patch by Mick Semb Wever, Berenguer Blasi; reviewd by Ekaterina Dimitrova, Benjamin Lerer for CASSANDRA-16560
2021-07-25 11:35:45 -05:00
Mick Semb Wever 3259d6de37 Migrate dependency handling from maven-ant-tasks to resolver-ant-tasks
- This removes lib/ from version control.
- The generated pom files are now the source of truth to the project's depdendencies, and the lib/ folder re-created during the build from compile scope dependencies excluding provided and system scopes. Project dependencies are first downloaded to the maven local repository at `~/.m2/repository`.
- Maven is now required to be installed to build, that is the `mvn` command needs to be found in the path.
- The new resolver-ant-tasks targets have been encapsulated into the `build/build-resolver.xml` ant file.
- Most classpaths in build.xml are replaced with resolver:resolve definitions.
- The build-deps-pom generated pom file is now only used for declaring test dependencies.

 patch by Mick Semb Wever; reviewed by Brandon Williams for CASSANDRA-16557
2021-07-25 11:35:45 -05:00
Mick Semb Wever bd1ffa7617
Merge branch 'cassandra-3.11' into cassandra-4.0 2021-06-17 12:11:01 +02:00
Mick Semb Wever b857aa12bf
Merge branch 'cassandra-3.0' into cassandra-3.11 2021-06-17 11:42:18 +02:00
Jacek Lewandowski d54eff3a4a
Remove full project building from the generate-idea-files ant target
- that target was unnecessarily building the whole project which made it problematic to update the project while merging/rebasing if conflicts in the code were failing the compilation
 - updated system properties for default run test task in Intellij to match those when running tests from Ant
 - fix test-memory target

 patch by Jacek Lewandowski; reviewed by Mick Semb Wever for CASSANDRA-16697
2021-06-17 11:25:58 +02:00
Caleb Rackliffe 6ef3eaf771 update IDEA setup generation to mark test/conf as test resources
patch by Abe Ratnofsky; reviewed by Caleb Rackliffe and Brandon Williams for CASSANDRA-16745
2021-06-16 14:15:40 -05:00
Aleksei Zotov 5578627d74
Update NetBeans classpath after CASSANDRA-16570 (jstackunit) and CASSANDRA-16576 (jflex)
patch by Aleksei Zotov; reviewed by Mick Semb Wever
2021-04-27 20:20:21 +02:00