Mick Semb Wever
49a0f0111c
Add dtest-upgrade and dtest-large-novnode to Jenkins pipeline
...
patch by Mick Semb Wever; reviewed by Jacek Lewandowski,Tomek Łasica for CASSANDRA-16377
2021-02-10 12:50:07 +01:00
Mick Semb Wever
19b3945297
Merge branch 'cassandra-2.2' into cassandra-3.0
2021-02-08 12:06:47 +01:00
Mick Semb Wever
9fa2c28dc2
Jenkins builds to provide link to nightlies archive, and remove the Jenkins plaintext reports
...
patch by Mick Semb Wever; reviewed by Tomek Łasica for CASSANDRA-16401
2021-02-08 12:05:14 +01:00
Mick Semb Wever
4333b5c7d5
Merge branch 'cassandra-2.2' into cassandra-3.0
2021-02-08 11:05:14 +01:00
Mick Semb Wever
d19f352437
Generate JMH json report with `ant microbench`
...
patch by Mick Semb Wever; reviewed by Tomek Łasica for CASSANDRA-16371
2021-02-08 10:55:58 +01:00
Andrés de la Peña
08be5e0c54
Merge branch 'cassandra-2.2' into cassandra-3.0
...
# Conflicts:
# CHANGES.txt
# src/java/org/apache/cassandra/locator/TokenMetadata.java
2021-02-01 17:23:37 +00:00
Caleb Rackliffe
d3e48e4e00
Make TokenMetadata's ring version increments atomic
...
patch by Caleb Rackliffe; reviewed by Andrés de la Peña and Yifan Cai for CASSANDRA-16286
2021-02-01 17:11:31 +00:00
Alex Petrov
f35ab19dbe
Increment version to 3.0.25
2021-02-01 15:59:15 +01:00
Alex Petrov
6748ecd63c
Prepare debian changelog for 3.0.24
2021-01-29 12:21:13 +01:00
Aleksey Yeshchenko
c2f24d2c45
Fix inbound TLS enforcement
2021-01-29 10:50:20 +00:00
Alex Petrov
88e7430bad
Merge branch 'cassandra-2.2' into cassandra-3.0
2021-01-28 15:23:37 +01:00
Alex Petrov
276249910e
Fix schema agreement race conditions in in-JVM dtests
...
Patch by Alex Petrov; reviewed by David Capwell and Caleb Rackliffe for CASSANDRA-16394
2021-01-28 15:19:18 +01:00
Ekaterina Dimitrova
44ca3d322d
ninja fix: CASSANDRA-16261, NoSpamLogger substituted with normal logger at TRACE in MemtableAllocator
2021-01-26 12:46:10 -05:00
Sam Tunnicliffe
4d4218c553
Merge branch 'cassandra-2.2' into cassandra-3.0
2021-01-22 14:28:10 +00:00
Sam Tunnicliffe
732ec77238
Clarify order of non-message frame body elements in protocol spec
...
Patch and review by Mick Semb Wever and Sam Tunnicliffe for CASSANDRA-14541
2021-01-22 14:27:47 +00:00
Ekaterina Dimitrova
0a1e900a0a
Prevent unbounded number of pending flushing tasks; Add PendingFlushTasks metric (CASSANDRA-16261)
...
Authored by Ekaterina Dimitrova; reviewed by Caleb Rackliffe and Andres de la Pena for CASSANDRA-16261
2021-01-19 17:31:24 -05:00
Ekaterina Dimitrova
f42a4ebb8d
Merge branch 'cassandra-2.2' into cassandra-3.0
2021-01-19 09:33:34 -05:00
Ekaterina Dimitrova
92182bcc23
build.xml first test commit
2021-01-17 14:29:28 -05:00
Marcus Eriksson
f02e53568d
Improve empty/corrupt hint file handling on startup
...
Patch by marcuse; reviewed by Benjamin Lerer and Yifan Cai for CASSANDRA-16162
2021-01-15 09:24:05 +01:00
Aleksandr Sorokoumov
a542b86504
Allow empty string in collections with COPY FROM in cqlsh
...
Patch by Aleksandr Soromoukov, reviewed by brandonwilliams for
CASSANDRA-16372
2021-01-12 13:22:18 -06:00
Aleksandr Sorokoumov
c1008cc1ea
CASSANDRA-16372 COPY FROM does not report failed rows as imported
2021-01-12 13:21:03 -06:00
Benjamin Lerer
77e2205aed
Merge branch cassandra-2.2 into cassandra-3.0
2021-01-11 17:54:07 +01:00
Benjamin Lerer
b5f52bfd0e
Remove OpenJDK log warning
...
patch by Benjamin Lerer; reviewed by Brandon Williams for CASSANDRA-15563
2021-01-11 17:52:18 +01:00
Caleb Rackliffe
f8500ee911
Fix skipping on pre-3.0 created compact storage sstables due to missing primary key liveness
...
Check primary key liveness information only if it exists, and fall back to checking cell contents, which makes skipping possible for COMPACT STORAGE tables after and upgrade to 3.0+
patch by Caleb Rackliffe; reviewed by Alex Petrov, Mick Semb Wever for CASSANDRA-16226
2021-01-07 23:02:02 +01:00
Mick Semb Wever
c2487f5836
Merge branch 'cassandra-2.2' into cassandra-3.0
2021-01-07 22:17:33 +01:00
Mick Semb Wever
457422ac1a
Use ubuntu2004_* docker testing images, from the apache organisation in dockerhub
...
patch by Mick Semb Wever; reviewed by Sam Tunnicliffe for CASSANDRA-16373
2021-01-07 22:16:20 +01:00
Zhao Yang
a2aa78d7f4
Avoid decimal-serializer.toString() creating huge string
...
patch by Zhao Yang; reviewed by Benjamin Lerer for CASSANDRA-14925
2020-12-20 01:49:41 +08:00
Alex Petrov
07c469ca13
Merge branch 'cassandra-2.2' into cassandra-3.0
2020-12-14 14:06:55 +01:00
Alex Petrov
033e099f9a
Add Metrics to instance API
...
Patch by Alex Petrov; reviewed by Benedict Elliott Smith for CASSANDRA-16136
2020-12-14 14:05:12 +01:00
Stefan Miklosovic
fa77676daa
Extend the exclusion of replica filtering protection to other indices instead of just SASI
...
patch by Stefan Miklosovic; reviewed by Andrés de la Peña and Zhao Yang for CASSANDRA-16311#
2020-12-11 18:05:52 +00:00
Sam Tunnicliffe
dc09f1480d
Ninja: fix docker image in config.yml
2020-12-11 17:11:43 +00:00
Andrés de la Peña
ac7df513ac
Merge branch 'cassandra-2.2' into cassandra-3.0
2020-12-11 15:25:06 +00:00
Andrés de la Peña
20d1f9a69c
Satisfy Java 1.7 in sources
...
patch by Andrés de la Peña; reviewed by Ekaterina Dimitrova and Brandon Williams for CASSANDRA-16300
2020-12-11 15:15:49 +00:00
Brandon Williams
2bcbd92a25
Ninja fix CASSANDRA-16225 and update changes.
2020-12-02 12:13:40 -06:00
Benjamin Lerer
6baeb9247b
Fix the counting of cells per partition
...
patch by Benjamin Lerer; reviewed by Berenguer Blasi and ZhaoYang for
CASSANDRA-16259
The number of cells per partition is updated upon the closing of the
RowIterator. As UnfilteredRowIterator.close() was called twice the number
of cells could have been counted twice (depending on the
RowIterator implementation).
2020-12-02 14:36:42 +01:00
Benjamin Lerer
d3770b45be
Merge branch cassandra-2.2 into cassandra-3.0
2020-12-02 14:25:25 +01:00
Benjamin Lerer
e96b60bd9f
Fix the histogram merge of the table metrics
...
patch by Benjamin Lerer; reviewed by Berenguer Blasi and ZhaoYang for
CASSANDRA-16259
The logic to merge two histograms in the table metrics was wrong. It was
causing an IndexArrayOutOfBondsException if one of the SSTable histograms
has less buckets than the previous SSTable.
2020-12-02 14:16:59 +01:00
Sam Tunnicliffe
de85f43dda
Merge branch 'cassandra-2.2' into cassandra-3.0
2020-12-01 18:53:34 +00:00
Sam Tunnicliffe
466c65a6c2
Update to latest docker image for CircleCI
...
Patch by Sam Tunnicliffe; reviewed by Mick Semb Wever for CASSANDRA-16275
2020-12-01 18:52:13 +00:00
Sylvain Lebresne
2d0b168047
Fix serial read/non-applying CAS linearizability
...
Before this patch, a SERIAL read or a non-applying CAS replay any
in-progress commit by calling `beginAndRepairPaxos`, but only a quorum
of nodes is contacted, so a minority of nodes could have an unfinished
in-progress proposal in their Paxos state. If such in-progress proposal
is not replayed by a SERIAL read/non-applying CAS, it should never be
replayed by any following operation as that would break serializability,
but nothing was done to avoid this.
This patch ensures that both a SERIAL read or a non-applying CAS commit
an empty update before succeeding. This ensures that no prior incomplete
in-progress proposal can be replayed (such proposal will be discarded as
older than the last committed ballot).
As this fix has a performance impact on SERIAL reads, a flag is provided
to disable the new code (even if this is discouraged by a warning).
Patch by Sylvain Lebresne, reviewed by Benjamin Lerer for CASSANDRA-12126
2020-11-27 17:04:56 +01:00
Sam Tunnicliffe
068d87acfb
Avoid potential NPE in JVMStabilityInspector
...
Patch by Sam Tunnicliffe; reviewed by David Capwell for CASSANDRA-16294
2020-11-23 15:27:40 +00:00
Stefan Miklosovic
bfd5d20a13
Check between num_tokens and initial_token only applies to vnodes usage
...
patch by Stefan Miklosovic; reviewed by Mick Semb Wever for CASSANDRA-14477
2020-11-18 12:52:17 +01:00
Stefan Miklosovic
8ef5a88631
Improved check of num_tokens against initial_token in the cassandra.yaml
...
patch by Stefan Miklosovic; reviewed by Mick Semb Wever for CASSANDRA-14477
2020-11-17 21:47:21 +01:00
David Capwell
17ebee3186
CASSANDRA-15158 fixed SCHEMA_DELAY to use getSchemaDelay and no longer convert it from secones to millis (since its already millis)
...
patch by David Capwell; reviewed by Blake Eggleston for CASSANDRA-15158
2020-11-13 12:36:27 -08:00
David Capwell
22279a4b75
Merge branch 'cassandra-2.2' into cassandra-3.0
2020-11-10 10:47:20 -08:00
David Capwell
4d1d024136
jvm dtest is strict on properties which causes upgrade tests to fail
...
patch by David Capwell; reviewed by Caleb Rackliffe, Ekaterina Dimitrova, Jordan West, Yifan Cai for CASSANDRA-16256
2020-11-10 10:46:28 -08:00
Ekaterina Dimitrova
a1a26e8c35
Add synchronization to LogTransaction
...
Patch by Ekaterina Dimitrova, reviewed by brandonwilliams for
CASSANDRA-16225
2020-11-10 11:15:42 -06:00
Ekaterina Dimitrova
548ef43856
Fix a race condition on ColumnFamilyStore and TableMetrics
...
patch by Ekaterina Dimitrova; reviewed by Benjamin Lerer for
CASSANDRA-16228
2020-11-10 12:24:52 +01:00
Benjamin Lerer
3b970ddbd6
Remove the SEPExecutor blocking behavior
...
patch by Benjamin Lerer; reviewed by Andrés de la Peña for CASSANDRA-16186
If the number of tasks added to a SEPExecutor exceed the max queue size,
the threads adding those task will be block until enough space become
available for all the blocked tasks. At this point all the blocked threads
will be released at once.
As the maxTasksQueued was always set to INTEGER.MAX_VALUE, the code was in
practice never using. By consequence, removing the code was a better
option than trying to fix it.
2020-11-10 09:55:20 +01:00
Blake Eggleston
0845008061
Wait for schema agreement when bootstrapping
...
Patch by Blake Eggleston & Stefan Miklosovic;
Reviewed by Aleksey Yeschenko and Stefan Miklosovic for CASSANDRA-15158
Co-authored-by: Stefan Miklosovic <stefan.miklosovic@instaclustr.com>
2020-11-09 12:15:21 -08:00