Stefan Miklosovic
6a39d88bce
Merge branch 'cassandra-4.0' into cassandra-4.1
2026-01-20 15:19:24 +01:00
omniCoder77
5101d76b21
Fix links in README
...
patch by Rishabh Saraswat; reviewed by Brad Schoening, Jyothsna Konisa, Stefan Miklosovic for CASSANDRA-21110
2026-01-20 15:14:12 +01:00
Mick Semb Wever
99db2874ba
Merge branch 'cassandra-4.0' into cassandra-4.1
...
* cassandra-4.0:
3.x cqlshlib tests broken on python2.7
2025-12-19 23:43:16 +01:00
Mick Semb Wever
3c66c74a0f
Merge branch 'cassandra-3.11' into cassandra-4.0
...
* cassandra-3.11:
3.x cqlshlib tests broken on python2.7
2025-12-19 23:34:52 +01:00
Mick Semb Wever
0293e8b750
Merge branch 'cassandra-3.0' into cassandra-3.11
...
* cassandra-3.0:
3.x cqlshlib tests broken on python2.7
2025-12-19 23:34:02 +01:00
Mick Semb Wever
9e04193c3f
3.x cqlshlib tests broken on python2.7
...
patch by Mick Semb Wever; reviewed by Brandon Williams for CASSANDRA-21079
2025-12-19 23:22:13 +01:00
Abe Ratnofsky
2d0fda4511
Merge branch 'cassandra-4.0' into cassandra-4.1
...
* cassandra-4.0:
Switch lz4-java to at.yawk.lz4 version due to CVE
2025-12-18 10:54:14 -08:00
Abe Ratnofsky
ec3b425c38
Switch lz4-java to at.yawk.lz4 version due to CVE
...
Patch by Abe Ratnofsky; reviewed by Jyothsna Konisa, Dmitry Konstantinov for CASSANDRA-21052
2025-12-18 10:51:26 -08:00
Stefan Miklosovic
efa0ead445
Merge branch 'cassandra-4.0' into cassandra-4.1
2025-12-11 11:02:05 +01:00
Mikołaj Diakowski
4c33f1f2d7
Restrict BytesType compatibility to scalar types only
...
Converting collections or UDTs to raw bytes is nonsensical - it
allows reading raw serialized bytes which have no meaningful
interpretation.
patch by Mikołaj Diakowski; reviewed by Stefan Miklosovic, Brandon Williams for CASSANDRA-20982
2025-12-11 10:53:29 +01:00
ireath
c79f176685
Fix disk usage guardrail disablement when failure threshold is reached
...
patch by Isaac Reath; reviewed by Jyothsna Konisa, Stefan Miklosovic for CASSANDRA-21057
2025-12-10 12:24:22 +01:00
Stefan Miklosovic
73648c8215
Merge branch 'cassandra-4.0' into cassandra-4.1
2025-12-10 11:56:34 +01:00
Stefan Miklosovic
34c3736c9e
Backport fix to nodetool gcstats output for direct memory
...
patch by Stefan Miklosovic; reviewed by Brad Schoening for CASSANDRA-21037
2025-12-10 11:21:16 +01:00
Marcus Eriksson
cbf974f2f0
Merge branch 'cassandra-4.0' into cassandra-4.1
2025-12-05 12:57:31 +01:00
Marcus Eriksson
76a7e43613
ArrayIndexOutOfBoundsException with repaired data tracking and counters
...
Patch by marcuse; reviewed by Sam Tunnicliffe for CASSANDRA-20871
2025-12-05 12:55:59 +01:00
Dmitry Konstantinov
7f592803a4
Merge branch 'cassandra-4.0' into cassandra-4.1
...
* cassandra-4.0:
Fix cleanup of old incremental repair sessions in case of owned token range changes or a table deleting
2025-11-22 11:23:21 +00:00
Dmitry Konstantinov
8d2c11ed2e
Fix cleanup of old incremental repair sessions in case of owned token range changes or a table deleting
...
Patch by Dmitry Konstantinov; reviewed by Marcus Eriksson, Jaydeepkumar Chovatia for CASSANDRA-20877
2025-11-22 11:17:35 +00:00
Dmitry Konstantinov
ed7d5840b7
Merge branch 'cassandra-4.0' into cassandra-4.1
...
* cassandra-4.0:
Fix memory leak in BufferPoolAllocator when a capacity needs to be extended
2025-11-14 17:34:10 +00:00
Dmitry Konstantinov
3f079b2345
Fix memory leak in BufferPoolAllocator when a capacity needs to be extended
...
Before the fix during a capacity extension BufferPoolAllocator returned to BufferPool a sliced ByteBuffer wrapper object instead of the originally allocated one, so the ByteBuffer was not recycled by BufferPool
Adjust BufferPoolAllocatorTest to test the ByteBuf capacity extension with a real BufferPool behavior
Patch by Dmitry Konstantinov; reviewed by Michael Semb Wever for CASSANDRA-20753
2025-11-14 17:11:25 +00:00
David Capwell
e4ea61c1cc
Merge branch 'cassandra-4.0' into cassandra-4.1
2025-11-07 11:46:57 -08:00
Nikhil Kumawat
61014f2ae7
Leveled Compaction doesn't validate maxBytesForLevel when the table is altered/created
...
patch by Nikhil Kumawat, Nikhil; reviewed by David Capwell, guo Maxwell for CASSANDRA-20570
2025-11-07 11:44:12 -08:00
Stefan Miklosovic
7b312d4329
Merge branch 'cassandra-4.0' into cassandra-4.1
2025-11-07 13:57:43 +01:00
Ruslan Fomkin
2d7e99f7b9
Document new table name length limit
...
CASSANDRA-20389 implemented limit on table name length of 222
characters. This commit updates the documentation to reflect this.
It also adds an assert in CreateTableValidationTest to ensure that the
documented limit matches the actual constant.
patch by Ruslan Fomkin; reviewed by Brad Schoening, Dmitry Konstantinov for CASSANDRA-20914
2025-11-07 13:54:03 +01:00
Mick Semb Wever
fca850c737
ninja – fix CHANGES.txt (cassandra-4.1 still on 4.1.11)
2025-10-31 09:12:20 +01:00
Mick Semb Wever
fdc422c16f
ninja-fix – Fix (again) eclipse-warnings error for CASSANDRA-19564
2025-10-27 10:31:08 +01:00
Jaydeepkumar Chovatia
bfcba9c7c4
ninja-fix – Fix eclipse-warnings error for CASSANDRA-19564
...
```
eclipse-warnings:
[mkdir] Created dir: /home/jenkins/jenkins-slave/workspace/Cassandra-4.1-artifacts/jdk/jdk_1.8_latest/label/cassandra/build/ecj
[echo] Running Eclipse Code Analysis. Output logged to /home/jenkins/jenkins-slave/workspace/Cassandra-4.1-artifacts/jdk/jdk_1.8_latest/label/cassandra/build/ecj/eclipse_compiler_checks.txt
[java] ----------
[java] 1. ERROR in /home/jenkins/jenkins-slave/workspace/Cassandra-4.1-artifacts/jdk/jdk_1.8_latest/label/cassandra/src/java/org/apache/cassandra/index/SecondaryIndexManager.java (at line 931)
[java] partition = ImmutableBTreePartition.create(onePartition).unfilteredIterator();
[java] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[java] Resource 'partition' should be managed by try-with-resource
[java] ----------
[java] 1 problem (1 error)
```
2025-10-27 09:46:21 +01:00
Runtian Liu
59574a86a3
ReadCommandController should close fast to avoid deadlock when building secondary index
...
patch by Runtian Liu; reviewed by Caleb Rackliffe, Jaydeepkumar Chovatia for CASSANDRA-19564
2025-10-26 17:39:39 -07:00
Doug Rohrer
c988b609b0
Merge branch 'cassandra-4.0' into cassandra-4.1
...
* cassandra-4.0:
CASSANDRA-20884 - Move JMX classes to the in-jvm-dtest API project
2025-10-24 14:23:42 -04:00
Doug Rohrer
aa0e2f1631
CASSANDRA-20884 - Move JMX classes to the in-jvm-dtest API project
...
patch by Doug Rohrer; reviewed by Francisco Guerrero and Bernardo Botella Corbi for CASSANDRA-20884
2025-10-24 13:37:08 -04:00
Mick Semb Wever
176519a45c
Merge branch 'cassandra-4.0' into cassandra-4.1
...
* cassandra-4.0:
increment version to 4.0.20
2025-10-20 13:46:50 +02:00
Mick Semb Wever
5d30dc17b8
increment version to 4.0.20
2025-10-20 13:45:57 +02:00
Mick Semb Wever
c157886f9a
Merge branch 'cassandra-4.0' into cassandra-4.1
...
* cassandra-4.0:
Prepare debian changelog for 4.0.19
2025-10-15 10:12:24 +02:00
Mick Semb Wever
45fa31beb4
Prepare debian changelog for 4.0.19
2025-10-14 21:35:24 +02:00
Stefan Miklosovic
4757411e94
Merge branch 'cassandra-4.0' into cassandra-4.1
2025-09-26 16:06:15 +02:00
Stefan Miklosovic
0026c0dc4c
Update OWASP dependency-check to 12.1.6, suppress unrelevant CVEs
...
patch by Stefan Miklosovic; reviewed by Brandon Williams for CASSANDRA-20924
2025-09-26 16:02:06 +02:00
Stefan Miklosovic
4a201d4f6f
Merge branch 'cassandra-4.0' into cassandra-4.1
2025-09-24 10:20:21 +02:00
Yifan Cai
90f231ad56
Fixed incorrect error message constant for keyspace name length validation
...
patch by Yifan Cai; reviewed by Maxwell Guo, Stefan Miklosovic for CASSANDRA-20915
2025-09-24 10:13:04 +02:00
Stefan Miklosovic
02ef8f8a0d
Merge branch 'cassandra-4.0' into cassandra-4.1
2025-09-19 14:18:29 +02:00
Stefan Miklosovic
d966547d01
update shaded cassandra-driver-core to 3.11.5
...
patch by Stefan Miklosovic; reviewed by Brandon Williams for CASSANDRA-20904
2025-09-19 14:12:00 +02:00
Dmitry Konstantinov
bff43df7db
Merge branch 'cassandra-4.0' into cassandra-4.1
...
* cassandra-4.0:
Prevent too long table names not fitting file names
2025-09-10 22:59:34 +01:00
Ruslan Fomkin
6c29686ea7
Prevent too long table names not fitting file names
...
The length of table names was not controlled. This is likely due to
confusion between validation methods with similar names. As result
creating tables with too long names led to the too long file name
exceptions during table creations.
This commit adds a validation of table name lengths to avoid the too
long file name errors. The validation length is based on how the table
name is used to create file/directory names, and needs to be exact to
prevent the too long file name exception, but allow all other table
names, which didn't lead to the too long file name exception. This
length limit is different from the existing name length limit of 48
characters used by common validation functions.
Thus, this commit moves out the length validation from the validation
methods into a separate length validation method, so the errors on
names are more specific. The non-length validation methods combined
into a single method, which checks for empty names and valid characters.
New constants are added for the length limits.
Table name related code are moved into methods in TableMetadata class,
so their semantics are more clear and to allow reuse, e.g., in
asserting the table name length constant.
Tests are added for the long table names and non-alphanumeric names.
Keyspace name validation function is now shared between two classes and
a unit test of it is added.
Patch by Ruslan Fomkin; reviewed by Piotr Kołaczkowski, Dmitry
Konstantinov, Maxwell Guo for CASSANDRA-20389
2025-09-10 22:48:43 +01:00
Dmitry Konstantinov
04d56d4bab
Merge branch 'cassandra-4.0' into cassandra-4.1
...
* cassandra-4.0:
Add VS code local folder to gitignore
2025-09-08 00:37:38 +01:00
Ruslan Fomkin
4484f2b73c
Add VS code local folder to gitignore
...
patch by Ruslan Fomkin; reviewed by Piotr Kolaczkowski, Dmitry Konstantinov, Maxwell Guo for CASSANDRA-20389
2025-09-08 00:36:11 +01:00
Stefan Miklosovic
b907c1e973
bump version in build.xml to 4.1.11
2025-09-03 13:36:06 +02:00
Stefan Miklosovic
c9717b4ed5
Redact security-sensitive information in system_views.settings
...
patch by Stefan Miklosovic; reviewed by Maxwell Guo, Francisco Guerrero for CASSANDRA-20856
2025-09-01 12:44:43 +02:00
Stefan Miklosovic
d48bfcce44
Prepare debian changelog for 4.1.10
2025-08-28 12:02:40 +02:00
Stefan Miklosovic
c632e66e85
Merge branch 'cassandra-4.0' into cassandra-4.1
2025-08-28 11:46:58 +02:00
Stefan Miklosovic
29e45b5d82
Increase memory available for javadoc generation
...
javadoc target is behaving unpredictably, sometimes fails, sometimes does not.
I strongly suspect that it just does not have enough memory available and it fails.
This is currently a blocker for releases. My empirical testing shows that more memory
we assign to javadoc generation, less probable it is it will fail to finish successfuly.
patch by Stefan Miklosovic for CASSANDRA-20868
2025-08-28 11:43:13 +02:00
Stefan Miklosovic
792e823af0
Merge branch 'cassandra-4.0' into cassandra-4.1
2025-08-27 19:01:31 +02:00
Dmitry Konstantinov
1c5286f4d1
Fix IndexOutOfBoundsException in sstablemetadata tool when a range tombstone is a max clustering value
...
patch by Dmitry Konstantinov; reviewed by Stefan Miklosovic for CASSANDRA-20855
2025-08-27 18:54:10 +02:00