Mick Semb Wever
921609eff7
ninja-fix: CHANGES.txt entry for CASSANDRA-15158 corrected to 3.11.10
...
ref: https://the-asf.slack.com/archives/CK23JSY2K/p1608217828111400
2020-12-18 18:12:34 +01:00
Caleb Rackliffe
d9859d231f
DROP COMPACT STORAGE should invalidate prepared statements still using CompactTableMetadata
...
patch by Caleb Rackliffe; reviewed by Alex Petrov, Mick Semb Wever for CASSANDRA-16361
2020-12-18 18:06:07 +01:00
Jeremy Hanna
3cfc8502b8
Updated default num_tokens from 256 to 16 with associated allocate_tokens_for_local_replication_factor set to 3
...
patch by Jeremy Hanna; reviewed by Alexander Dejanovski, Paulo Motta, Brandon Williams, Michael Semb Wever for CASSANDRA-13701
2020-12-17 22:18:17 +01:00
Adam Holmberg
cb71f23958
cqlsh row_id resets on page boundaries
...
patch by Adam Holmberg; reviewed by Brandon Williams, David Capwell for CASSANDRA-16160
2020-12-17 09:17:43 -08:00
Benjamin Lerer
0d56f70ae7
Remove use of String.intern()
...
patch by Benjamin Lerer; reviewed by Brandon Williams for CASSANDRA-15810
2020-12-17 17:48:59 +01:00
David Capwell
5879813db7
Cannot replace_address /X because it doesn't exist in gossip
...
patch by David Capwell; reviewed by Brandon Williams, Jon Meredith, Paulo Motta, Sam Tunnicliffe for CASSANDRA-16213
2020-12-15 14:53:59 -08:00
Brandon Williams
6e27e8bd4c
Fix errant deprecation
2020-12-15 11:54:28 -06:00
jacek-lewandowski
1102687d06
Fix the missing bb position in ByteBufferAccessor.getUnsignedShort
...
patch by Jacek Lewandowski; reviewed by Berenguer Blasi and Benjamin Lerer
for CASSANDRA-16249
The patch also update tests to show the failure and to check that the code
does not assume a zero position for the ByteBuffers.
2020-12-15 14:51:22 +01:00
Serban Teodorescu
053ad91741
Remove unused static variable in TableParams
...
patch by Serban Teodorescu; reviewed by Benjamin Lerer for CASSANDRA-16351
2020-12-15 13:52:33 +01:00
Marcus Eriksson
242ab778f2
Make sure OOM errors are rethrown on truncation failure
...
Patch by marcuse; reviewed by Benjamin Lerer and Berenguer Blasi for CASSANDRA-16254
2020-12-15 10:55:46 +01:00
Marcus Eriksson
786cb11e18
Send back client warning if creating too many tables/keyspaces
...
Patch by marcuse; reviewed by Alex Petrov, Brandon Williams, Yifan Cai for CASSANDRA-16309
2020-12-15 10:32:43 +01:00
David Capwell
1515a6e60c
python upgrade tests include tests which are not impacted by the version under test
...
patch by David Capwell, Michael Semb Wever; reviewed by Marcus Eriksson, Michael Semb Wever for CASSANDRA-16328
2020-12-14 10:28:34 -08:00
Alex Petrov
d41fe2aa8e
Merge branch 'cassandra-3.11' into trunk
2020-12-14 14:34:35 +01:00
Alex Petrov
850157e7cf
Merge branch 'cassandra-3.0' into cassandra-3.11
2020-12-14 14:23:00 +01: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
Andrés de la Peña
8e61e216a6
Merge branch 'cassandra-3.11' into trunk
...
# Conflicts:
# src/java/org/apache/cassandra/index/sasi/SASIIndex.java
# src/java/org/apache/cassandra/service/DataResolver.java
2020-12-11 18:34:25 +00:00
Andrés de la Peña
ae8981236a
Merge branch 'cassandra-3.0' into cassandra-3.11
...
# Conflicts:
# CHANGES.txt
# src/java/org/apache/cassandra/service/DataResolver.java
2020-12-11 18:17:37 +00: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
1193180e54
Merge branch 'cassandra-3.11' into trunk
2020-12-11 17:13:52 +00:00
Sam Tunnicliffe
d8a317f463
Merge branch 'cassandra-3.0' into cassandra-3.11
2020-12-11 17:12:35 +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
19c153a4e1
Merge branch 'cassandra-3.11' into trunk
2020-12-11 15:27:38 +00:00
Andrés de la Peña
d297c78b95
Merge branch 'cassandra-3.0' into cassandra-3.11
2020-12-11 15:25:28 +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
David Capwell
ab9fcd7d10
Circle CI python upgrade test build includes non-upgrade tests
...
patch by David Capwell; reviewed by Brandon Williams for CASSANDRA-16323
2020-12-10 13:49:49 -08:00
Adam Holmberg
4c103447af
DigestResolver.getData throws AssertionError since dataResponse is null
...
patch by Adam Holmberg, Caleb Rackliffe; reviewed by Berenguer Blasi, Brandon Williams, Caleb Rackliffe, David Capwell for CASSANDRA-16097
2020-12-09 10:20:48 -08:00
David Capwell
84d1a3a79b
Revert "DigestResolver.getData throws AssertionError since dataResponse is null" to fix commit message
...
This reverts commit 3436c3efc0 .
2020-12-09 10:16:39 -08:00
yifan-c
c6ea8fabf9
Add dedicated tcp user timeout for streaming connection
...
patch by Yifan Cai; reviewed by Berenguer Blasi, David Capwell, Adam
Holmberg and by Benjamin Lerer for CASSANDRA-16143
2020-12-09 13:33:33 +01:00
Marcus Eriksson
3436c3efc0
DigestResolver.getData throws AssertionError since dataResponse is null
...
patch by Marcus Eriksson, Caleb Rackliffe; reviewed by Berenguer Blasi, Brandon Williams, Caleb Rackliffe, David Capwell for CASSANDRA-16097
2020-12-08 11:03:46 -08:00
Brandon Williams
acf8de28ce
Mck's mvn fix
2020-12-04 15:34:49 -06:00
Aleksey Yeshchenko
ecbb970aec
Update build.xml for the newly pulled Netty version
2020-12-04 14:55:27 +00:00
Mick Semb Wever
2346ed8241
Offline token allocation strategy generator tool
...
Provides the tools/bin/generate-tokens script that can be used to pregenerate allocation strategy tokens.
Refactors TokenAllocation for extensibility (and better re-use between strategies), and adds OfflineTokenAllocator.
TokenMetadata now has a configurable snitch (instead of hardcoded to DatabaseDescriptor.getEndpointSnitch()) for testability.
Adds logging of growth and stddev changes to allocate_tokens_for_local_replication_factor usages.
patch by Mick Semb Wever; reviewed by Paul Motta, Ekaterina Dimitrova for CASSANDRA-16205
2020-12-03 19:20:59 +01:00
Jon Meredith
919a8964a8
Bring back the accepted encryption protocols list as configurable option
...
patch by Jon Meredith; reviewed by Berenguer Blasi, David Capwell, Dinesh Joshi for CASSANDRA-13325
2020-12-02 16:44:54 -08:00
David Capwell
876ac8c611
When a table attempts to clean up metrics, it was cleaning up all global table metrics
...
patch by David Capwell; reviewed by Jon Meredith, Jordan West, Yifan Cai for CASSANDRA-16095
2020-12-02 15:20:02 -08:00
Brandon Williams
7bdecd2176
Merge branch 'cassandra-3.11' into trunk
2020-12-02 12:15:25 -06:00
Brandon Williams
80a8deb81c
Merge branch 'cassandra-3.0' into cassandra-3.11
2020-12-02 12:15:19 -06:00
Brandon Williams
2bcbd92a25
Ninja fix CASSANDRA-16225 and update changes.
2020-12-02 12:13:40 -06:00
Yuki Morishita
d9e2ed00af
Remove windows scripts and their references
...
patch by Yuki Morishita; reviewed by Berenguer Blasi and Andrés de la Peña for CASSANDRA-16171
2020-12-02 16:43:45 +00:00
Benjamin Lerer
39d2974379
Merge branch cassandra-3.11 into trunk
2020-12-02 14:50:16 +01:00
Benjamin Lerer
e94459c695
Merge branch cassandra-3.0 into cassandra-3.11
2020-12-02 14:41:59 +01: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
Marcus Eriksson
90b2f3e068
CASSANDRA-16274 followup 2 - reduce iterations in OptimiseStreamsRepairTest to make it pass in low resource CI
2020-12-02 13:18:43 +01:00
Benjamin Lerer
c7d098c7ac
Remove duplicated code from CQLTester and SchemaLoader
...
patch by Benjamin Lerer; reviewed by Berenguer Blasi for CASSANDRA-16305
2020-12-02 10:30:45 +01:00
Marcus Eriksson
8742f3a414
CASSANDRA-16274 followup - fix JMXCompatabilityTest
2020-12-02 07:42:24 +01:00
Sam Tunnicliffe
df401530a4
Merge branch 'cassandra-3.11' into trunk
2020-12-01 18:55:14 +00:00
Sam Tunnicliffe
3f1126195a
Merge branch 'cassandra-3.0' into cassandra-3.11
2020-12-01 18:54:16 +00:00