Joseph Lynch
e73d05bf85
Merge branch 'cassandra-3.11' into cassandra-4.0
2021-12-09 10:29:08 -05:00
Joseph Lynch
1fce84f983
Merge branch 'cassandra-3.0' into cassandra-3.11
2021-12-09 10:26:00 -05:00
Venkata Harikrishna Nukala
1911a887e8
Fix slow keycache load which blocks startup for tables with many sstables.
...
Patch by Venkata Harikrishna Nukala; reviewed by Marcus Eriksson and Joseph Lynch for CASSANDRA-14898
2021-12-09 10:14:16 -05:00
Andrés de la Peña
7871a28542
Add guardrails framework prototype
...
patch by Andrés de la Peña; reviewed by David Capwell and Stefan Miklosovic for CASSANDRA-17147
Co-authored-by: Sylvain Lebresne <lebresne@gmail.com>
Co-authored-by: Andrés de la Peña <a.penya.garcia@gmail.com>
Co-authored-by: Aleksandr Sorokoumov <aleksandr.sorokoumov@gmail.com>
Co-authored-by: Zhao Yang <jasonstack.zhao@gmail.com>
Co-authored-by: Jakub Żytka <jakub.zytka@datastax.com>
2021-12-03 15:20:20 +00:00
Ekaterina Dimitrova
670bcff596
Merge branch 'cassandra-4.0' into trunk
2021-11-16 15:08:54 -05:00
Ekaterina Dimitrova
44ace88585
internode_send_buff_size_in_bytes and internode_recv_buff_size_in_bytes have new names. Backward compatibility with the old names added
...
patch by Ekaterina Dimitrova; reviewed by David Capwell for CASSANDRA-17141
2021-11-16 14:34:04 -05:00
Brandon Williams
be9db0980b
Rename cassandra-topology.properties to example
...
Patch by brandonwilliams; reviewed by bereng for CASSANDRA-16912
2021-11-16 10:10:15 -06:00
Ekaterina Dimitrova
f61d817cb5
Merge branch 'cassandra-4.0' into trunk
2021-11-16 10:37:53 -05:00
Ekaterina Dimitrova
b6f61e850c
Remove unused configuration parameters from cassandra.yaml
...
patch by Ekaterina Dimitrova; reviewed by Berenguer Blasi for CASSANDRA-17132
2021-11-16 10:30:52 -05:00
Ekaterina Dimitrova
4f112af615
Merge branch 'cassandra-4.0' into trunk
2021-11-10 16:41:48 -05:00
Ekaterina Dimitrova
4bb6f411d8
Fix cassandra.yaml formatting of parameters
...
patch by Ekaterina Dimitrova; reviewed by Josh McKenzie for CASSANDRA-17131
2021-11-10 16:36:59 -05:00
Brandon Williams
e0954fa1a8
Revert "Rename cassandra-topology.properties to cassandra-topology.properties.example"
...
This reverts commit 29aa088ab6 .
2021-11-10 14:27:55 -06:00
Francisco Guerrero
77dde2a3c4
Introduce separate rate limiting settings for entire SSTable streaming
...
patch by Francisco Guerrero; reviewed by Dinesh Joshi, Marcus Eriksson, Yifan Cai for CASSANDRA-17065
2021-11-10 10:35:01 -08:00
Bereng
29aa088ab6
Rename cassandra-topology.properties to cassandra-topology.properties.example
...
Patch by bereng; reviewed by brandonwilliams for CASSANDRA-16912
2021-11-10 11:17:31 -06:00
Blake Eggleston
eae7b9c3ad
Actively update auth caches in the background
...
Patch by Blake Eggleston; reviewed by Sam Tunnicliffe, Jason Brown, and Caleb Rackliffe for CASSANDRA-16957
Co-authored-by: Blake Eggleston <bdeggleston@gmail.com>
Co-authored-by: Josh McKenzie <jmckenzie@apache.org>
2021-11-09 15:32:36 -05:00
dcapwell
5b4d369266
coordinator_read_size had wrong name in cassandra.yaml
...
patch by Ekaterina Dimitrova, reviewed by David Capwell for CASSANDRA-17118
2021-11-03 15:32:40 -07:00
Josh McKenzie
ab920c3031
Add a Denylist to block reads and writes on specific partition keys
...
Patch by Josh McKenzie, reviewed by Aleksei Zotov and Sumanth Pasupuleti for CASSANDRA-12106
Co-authored by Josh McKenzie <jmckenzie@apache.org>
Co-authored by Sam Overton
2021-11-01 12:43:51 -04:00
kurt
b2ccd0f3f5
ensure hint window is persistent across restarts of a node
...
patch by Kurt Greaves; reviewed by Brandon Williams, Mick Semb Wever and Stefan Miklosovic for CASSANDRA-14309
2021-10-22 17:23:06 +02:00
Sumanth Pasupuleti
5fdadb25f9
add default_keyspace_rf and minimum_keyspace_rf configuration options
...
Patch by Sumanth Pasupuleti; reviewed by Jaydeepkumar Chovatia, Alex Petrov, Stefan Miklosovic and Alexander Zotov for CASSANDRA-14557.
2021-10-13 10:15:24 +02:00
Bowen Song
917d74bd35
add credentials file support for CQLSH
...
patch by Bowen Song; reviewed by Brian Houser, Stefan Miklosovic and Brandon Williams for CASSANDRA-16983
2021-10-11 18:33:16 +02:00
Josh McKenzie
5ab15316e1
Allow reverse iteration order during resource permissions checking
...
Patch by Sam Tunnicliffe; reviewed by Blake Eggleston, Jeff Jirsa, and Aleksei Zotov for CASSANDRA-17016
Co-authored by Sam Tunnicliffe <sam@beobal.com>
Co-authored by Josh McKenzie <jmckenzie@apache.org>
2021-10-08 08:49:42 -04:00
Bereng
6e35f30f66
Merge branch 'cassandra-4.0' into trunk
2021-09-30 07:48:44 +02:00
Bereng
42905e94b5
Merge branch 'cassandra-3.11' into cassandra-4.0
2021-09-30 07:47:16 +02:00
Bereng
7c067b6d7d
Add indication in cassandra.yaml that rpc timeouts going too high will cause memory build up
...
patch by Berenguer Blasi, Jeremy Hanna; reviewed by Andres de la Peña for CASSANDRA-8969
Co-authored-by: Berenguer Blasi <berenguerblasi@gmail.com>
Co-authored-by: Jeremy Hanna <jeromatron@gmail.com>
2021-09-30 07:38:40 +02: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
Josh McKenzie
9f15ec6de1
Evaluate consistency levels of auth reads
...
Patch by Jason Brown; reviewed by Matthew Byrd, Sankalp Kohli, and Benjamin Lerer for CASSANDRA-12988
Co-authored by Jason Brown (jasedbrown@gmail.com )
Co-authored by Josh McKenzie (jmckenzie@apache.org )
2021-09-24 11:15:59 -04:00
Brandon Williams
08444cbc3f
Reduce max native frame size to 16MB
...
Patch by brandonwilliams; reviewed by blerer for CASSANDRA-16886
2021-09-09 14:20:19 -05:00
David Capwell
4ec4ab992f
Add client warnings and abort to tombstone and coordinator reads which go past a low/high watermark
...
patch by David Capwell; reviewed by Blake Eggleston, Marcus Eriksson for CASSANDRA-16850
2021-08-26 13:41:31 -07:00
David Capwell
4b3f07fc74
allow blocking IPs from updating metrics about traffic
...
patch by David Capwell; reviewed by Benjamin Lerer, Caleb Rackliffe, Jon Meredith for CASSANDRA-16859
2021-08-20 17:24:16 -07:00
Yifan Cai
8acbbe042b
Background schedule to clean up orphaned hints files
...
patch by Yifan Cai; reviewed by Brandon Williams, Chris Lohfink for CASSANDRA-16815
2021-08-10 21:48:16 -07:00
Marcus Eriksson
296f65e8d1
Log when compacting many tombstones
...
Patch by marcuse; reviewed by Brandon Williams for CASSANDRA-16780
2021-07-02 09:36:06 +02:00
Brandon Williams
4c4e84fe78
Merge branch 'cassandra-4.0' into trunk
2021-06-29 16:00:11 -05:00
Brandon Williams
96884ee705
Merge branch 'cassandra-3.11' into cassandra-4.0
2021-06-29 15:59:50 -05:00
Brandon Williams
c3ae22d654
Merge branch 'cassandra-3.0' into cassandra-3.11
2021-06-29 15:58:38 -05:00
Brandon Williams
2d8b304e75
Ninja fix comments saying mx4j defaults to 0.0.0.0
...
CASSANDRA-13574
2021-06-29 15:57:55 -05:00
Benjamin Lerer
c9130d454c
Merge branch cassandra-4.0 into trunk
2021-06-18 15:17:52 +02:00
Benjamin Lerer
bdb7c3b377
Merge branch cassandra-3.11 into cassandra-4.0.0
2021-06-18 15:11:27 +02:00
Benjamin Lerer
91c12bd750
Merge branch cassandra-3.0 into cassandra-3.11
2021-06-18 14:53:54 +02:00
Benjamin Lerer
9b6dd382bd
Add flag to disable ALTER...DROP COMPACT STORAGE statements
...
patch by Benjamin Lerer; review by Andres de la Pena and Brandon Williams for CASSANDRA-16733
2021-06-18 14:42:48 +02:00
fibersel
33ff36cc42
Add a system property to set hostId if not yet initialized
...
patch by Abi Palagashvili; reviewed by Stefan Miklosovic and Paulo Motta for CASSANDRA-14582
2021-06-07 21:01:44 +02:00
Ekaterina Dimitrova
658f3e11a6
Improve AuditLogging documentation and logback.xml
...
authored by Ekaterina Dimitrova, reviewed by Sarma Pydipally, Brandon Williams for CASSANDRA-16682
2021-05-21 14:42:53 -04:00
Mick Semb Wever
7337fc0ab4
Merge branch 'cassandra-3.11' into trunk
2021-04-19 17:39:10 +02:00
Mick Semb Wever
2ec96ae669
Merge branch 'cassandra-3.0' into cassandra-3.11
2021-04-19 17:34:05 +02:00
Sam Tunnicliffe
dd6c261119
Add io.netty.tryReflectionSetAccessible=true to j11 server options in order to enable netty to use Unsafe direct byte buffer construction
...
Patch by Sam Tunnicliffe; reviewed by Brandon Williams, Ekaterina Dimitrova and Berenguer Blasi for CASSANDRA-16493
2021-03-19 17:36:13 -04:00
Jeff Widman
3d539d908f
Update python2 doc references to point to py3
...
Patch by Jeff Widman; reviewed by brandonwilliams for CASSANDRA-16505
2021-03-09 17:15:07 -06:00
Yifan Cai
425f750a6f
Document the side-effect of Zero Copy Streaming when using multiple data directories
2021-02-26 09:42:54 -08:00
Benjamin Lerer
f69b11eee9
Improve system tables handling in case of disk failures
...
patch by Benjamin Lerer; reviewed by Andrés de la Peña and Marcus
Eriksson for CASSANDRA-14793
2021-02-04 15:04:22 +01:00
Adam Holmberg
023eecb03a
Fix check for -Xlog in cassandra-env.sh
...
patch by Yakir Gibraltar; reviewed by Adam Holmberg, Mick Semb Wever for CASSANDRA-16279
2021-01-08 22:06:23 +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
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
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
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
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
Sam Tunnicliffe
a7c4ba9eee
Improve checksumming and compression in protocol V5
...
This reverts the changes made to the native protocol V5 wire format in
CASSANDRA-13304 and subsequent follow up JIRAs (CASSANDRA-15556 &
CASSANDRA-14716). The framing format has been re-implemented based on the
internode messaging format developed in CASSANDRA-15066.
OPTIONS and STARTUP messages are unframed (i.e. identical to the V4 format).
After sending its response to a STARTUP message, the server modifies the
pipeline and all further messages are sent (and should be expected by the
client to be received) in the format determined by the protocol version of
the STARTUP message.
Patch by Sam Tunnicliffe; reviewed by Alex Petrov and Caleb Rackliffe
for CASSANDRA-15299
2020-12-01 18:49:06 +00:00
Jordan West
fae1f88354
Set dynamic snitch default badness threshold to 1.0
...
Patch by Jordan West; Reviewed by David Capwell for CASSANDRA-16285
2020-11-18 16:04:30 -08:00
Jeff Jirsa
85f69cf394
Add a ratelimiter to snapshot creation and deletion
...
Patch by Jeff Jirsa; Reviewed by Aleksey Yeschenko, Chris Lohfink,
maxwellguo for CASSANDRA-13019
2020-11-09 15:03:10 +01:00
Zhao Yang
699a1f74fc
CASSANDRA-15229: Segregate Network and Chunk Cache BufferPools and Recirculate Partially Freed Chunks
...
* initiate multiple buffer pool for different lifespan and usages
- Chunk Cache Buffer Pool - conf.file_cache_size_in_mb=512mb
- Networking Buffer Pool - conf.temporary_cache_size_in_mb=128mb
* Add overflowSize and usedSize to buffer pool metrics
* re-circulate buffer pool Chunk for ChunkCache whenever it has free space, even thoughput it may not be able to allocate due to fragmentation
patch by Zhao Yang; reviewed by Caleb Rackliffe and Aleksey Yeschenko for CASSANDRA-15229
2020-10-15 22:55:06 +08:00
David Capwell
79e693e16e
Add flag to disable chunk cache and disable by default
...
patch by David Capwell; reviewed by Jon Meredith, Zhao Yang for CASSANDRA-16036
2020-09-29 17:07:07 -07:00
Caleb Rackliffe
292650d968
Merge branch 'cassandra-3.11' into trunk
2020-07-30 14:10:48 +01:00
Caleb Rackliffe
2ef1f1c150
Merge branch 'cassandra-3.0' into cassandra-3.11
2020-07-30 13:27:53 +01:00
Caleb Rackliffe
e5c3d08a14
Operational improvements and hardening for replica filtering protection
...
patch by Caleb Rackliffe; reviewed by Andrés de la Peña for CASSANDRA-15907
2020-07-30 12:53:52 +01:00
Benedict Elliott Smith
d8993934e9
Remove BackPressureStrategy
...
patch by Benedict; reviewed by Sergio Bossa and Robert Stupp for CASSANDRA-15375
2020-07-17 13:39:16 +01:00
Jeremy Hanna
688bb664c5
USING_G1 is incorrectly set in cassandra-env.sh if G1 is explicitly disabled with -UseG1GC
...
Patch by Jeremy Hanna, reviewed by David Capwell and brandonwilliams for
CASSANDRA-15931
2020-07-08 11:21:56 -05:00
Jeremy Hanna
8599f93d9a
Update compaction_throughput_mb_per_sec default from 16 to 64
...
patch by Jeremy Hanna; reviewed by Mick Semb Wever for CASSANDRA-14902
2020-07-08 12:10:32 +02:00
Bereng
4654ef09c1
FBUtilities.getJustLocalAddress falls back to lo ip on misconfigured nodes
...
patch by Berenguer Blasi; reviewed by Robert Stupp, Mick Semb Wever for CASSANDRA-15901
2020-07-07 10:12:12 +02:00
Jeremy Hanna
3cfe3c9f0d
Fail fast when -Xmn is set when the G1 garbage collector is enabled
...
patch by Jeremy Hanna; reviewed by Anthony Grasso for CASSANDRA-15839
2020-06-24 12:53:53 +02:00
Joseph Lynch
674b6cc1a5
Update defaults for server and client TLS settings
...
This fixes backwards compatibility with the 3.11 server_encryption_options
while exposing the correct defaults after the 4.0 Netty refactor.
Patch by Joseph Lynch; Reviewed by Ekaterina Dimitrova for CASSANDRA-15262
2020-06-20 18:59:41 -07:00
Sam Tunnicliffe
04533e6cda
Avoid blocking AntiEntropyStage when submitting validation requests
...
Patch by Sam Tunnicliffe; reviewed by Benjamin Lerer for CASSANDRA-15812
Switches ValidationExecutor's work queue to LinkedBlockingQueue to
avoid blocking AntiEntropyStage when the executor is saturated. This
requires VE.corePoolSize to be set to concurrent_validations as now
it will always prefer to queue requests rather than start new threads.
This commit also adds a hard limit on concurrent_validations, as allowing
an unbounded number of validations to run concurrently is never safe.
This was always true, but setting a high value here is now more
dangerous as it controls the number of core, not max, threads.
This hard limit is linked to concurrent_compactors, so operators may
set concurrent_validations between 1 and concurrent_compactors.
The meaning of setting it < 1 has changed from "unbounded" to
"whatever concurrent_compactors is set to".
This safety valve can be overridden with a system property at startup
and/or a JMX property.
CASSANDRA-9292 removed the 1hr timeout on prepare messages, but this
was inadvertently undone when CASSANDRA-13397 was committed. As nothing
long running is done in the repair phase anymore, this timeout can
safely be reduced.
If using RepairCommandPoolFullStrategy.queue, the core pool size
for repairCommandExecutor must be increased from the default
value of 1 or else all concurrent tasks will be queued and no
more threads created.
2020-06-09 13:41:05 +01:00
polandll
57a63f8551
Improving Cassandra configuration docs
...
* Update copyright date to 2020
* Add glossary
* Rearranged rackdc for better flow
* Add topologies properties file
* Add commitlog_archiving file
* Add logback.xml info
* jvm.options files
* Removed invalid reference to wiki from configuration file
Patch by Lorina Poland; Reviewed by Jon Haddad for CASSANDRA-15822
2020-06-03 11:24:38 -07:00
Stefan Miklosovic
dd1c811f87
Provide ability to configure IAuditLogger
...
Patch by Stefan Miklosovic; reviewed by Vinay Chella and marcuse for CASSANDRA-15748
2020-05-20 16:49:33 +02:00
Joseph Lynch
9c1bbf3ac9
Flush with fast compressors by default
...
Previously Zstd, Deflate and LZ4HC could hold up the flush thread while
flushing due to their slow compression rates. With this patch we always
default to flush with a fast compressor (default to LZ4) and then
compress into the high compression strategy during normal compactions
that follow. Note that if the existing table compressor is fast (e.g.
LZ4 or Snappy) we use that.
Patch by Joey Lynch; reviewed by Dinesh Joshi for CASSANDRA-15379
2020-04-23 23:23:18 -07:00
Ekaterina Dimitrova
9d2ffad6b6
Set cross_node_timeout to true by default.
...
Patch by Ekaterina Dimitrova, reviewed by brandonwilliams for
CASSANDRA-15216
2020-01-15 16:35:44 -06:00
Mick Semb Wever
2da9af002a
Merge branch 'cassandra-3.11' into trunk
2020-01-02 11:28:56 +01:00
Mick Semb Wever
1381c875e8
Merge branch 'cassandra-3.0' into cassandra-3.11
2020-01-02 11:27:33 +01:00
Mick Semb Wever
3edbb09e02
Configure the GC logs directory to be the same as other C* log directories, as defined by $CASSANDRA_LOG_DIR
...
patch by Angelo Polo; reviewed by Mick Semb Wever for CASSANDRA-14306
2020-01-02 11:23:09 +01:00
Per Otterström
d5e5c459f5
Align record header of FQL and audit binary log
...
Patch by Per Otterström; reviewed by Vinay Chella and marcuse for CASSANDRA-15076
2019-11-28 09:43:07 +01:00
Mick Semb Wever
068d2d37c6
Add `allocate_tokens_for_local_rf` yaml option for token allocation that doesn't require keyspace knowledge/existence
...
patch by Mick Semb Wever; reviewed by Branimir Lambov for CASSANDRA-15260
2019-09-08 20:28:40 +02:00
Michael Shuler
d4054e0cf8
ninja: Fix "No newline at end of file" in c*.yaml
...
After building artifacts, a diff is left over, so let's fix that:
diff --git a/conf/cassandra.yaml b/conf/cassandra.yaml
index 28d86fd10a..e776a5a620 100644
--- a/conf/cassandra.yaml
+++ b/conf/cassandra.yaml
@@ -1341,4 +1341,4 @@ enable_sasi_indexes: false
# Enables creation of transiently replicated keyspaces on this node.
# Transient replication is experimental and is not recommended for production use.
-enable_transient_replication: false
\ No newline at end of file
+enable_transient_replication: false
2019-09-04 10:31:22 -07:00
Alex Petrov
0240a4659d
Introduce optional timeouts for idle client sessions
...
Patch by Alex Petrov, reviewed by Aleksey Yeshchenko for CASSANDRA-11097
2019-07-10 23:02:17 +02:00
Benedict Elliott Smith
310a48efcf
Rewrite the internode messaging subsystem
...
patch by Aleksey Yeschenko and Benedict Elliott Smith; reviewed by Alex
Petrov, Aleksey Yeschenko, and Benedict Elliott Smith for CASSANDRA-15066
Co-authored-by: Aleksey Yeschenko <aleksey@apache.org>
Co-authored-by: Benedict Elliott Smith <benedict@apache.org>
2019-06-12 16:26:54 +01:00
Mick Semb Wever
797ec05a6a
Merge branch 'cassandra-3.11' into trunk
2019-05-27 11:31:50 +10:00
Mick Semb Wever
60bdfb1731
Fix cassandra-env.sh to use $CASSANDRA_CONF to find cassandra-jaas.config
...
Patch by Angelo Polo; Reviewed by Mick Semb Wever for CASSANDRA-14305
2019-05-27 11:24:23 +10:00
Blake Eggleston
aa762c6d52
Support building Cassandra with JDK 11
...
Patch by Blake Eggleston; Reviewed by Dinesh Joshi and Sam Tunnicliffe for CASSANDRA-15108
2019-05-10 13:46:27 -07:00
Mick Semb Wever
439c8278f0
Merge branch 'cassandra-3.11' into trunk
2019-04-01 20:51:06 +11:00
Mick Semb Wever
8ac2e4244d
Merge branch 'cassandra-3.0' into cassandra-3.11
2019-04-01 20:47:14 +11:00
Mick Semb Wever
47910df834
Merge branch 'cassandra-2.2' into cassandra-3.0
2019-04-01 20:46:17 +11:00
Mick Semb Wever
6fc3df93b8
Update comment link to mx4j in cassandra-env.sh
...
patch by Jearvon Dharrie; reviewed by Mick Semb Wever for CASSANDRA-14950
2019-04-01 20:40:19 +11:00
Andrés de la Peña
094689acf1
Merge branch 'cassandra-3.11' into trunk
...
# Conflicts:
# CHANGES.txt
# conf/cassandra.yaml
# src/java/org/apache/cassandra/config/Config.java
# src/java/org/apache/cassandra/config/DatabaseDescriptor.java
# src/java/org/apache/cassandra/cql3/statements/CreateIndexStatement.java
# src/java/org/apache/cassandra/cql3/statements/CreateViewStatement.java
# src/java/org/apache/cassandra/db/view/View.java
# test/unit/org/apache/cassandra/cql3/ViewTest.java
# test/unit/org/apache/cassandra/index/sasi/SASICQLTest.java
2019-02-19 15:08:10 +00:00
Andrés de la Peña
e6a61be8c8
Add flag to disable SASI indexes, and warning on creation
...
patch by Andres de la Peña; reviewed by Robert Stupp for CASSANDRA-14866
2019-02-19 14:20:06 +00:00
Blake Eggleston
70e6f2952f
Merge branch 'cassandra-3.11' into trunk
2019-02-14 13:25:09 -08:00
Blake Eggleston
126853068d
Merge branch 'cassandra-3.0' into cassandra-3.11
2019-02-14 13:21:38 -08:00
Joseph Lynch
b30c8c98a5
Improve merkle tree size and time on heap
...
Patch by Joseph Lynch; Reviewed by Blake Eggleston for CASSANDRA-14096
2019-02-14 13:19:30 -08:00
Benedict Elliott Smith
49f72af792
Merge branch 'cassandra-3.11' into trunk
2018-12-06 15:52:38 +00:00
Benedict Elliott Smith
d5021659cc
Merge branch 'cassandra-3.0' into cassandra-3.11
2018-12-06 15:52:04 +00:00
sumanthpasupuleti
b82a42fd9a
Disable immediate flusher by default for cassandra-3.0 and cassandra-3.11
...
patch by Michael Burman and Sumanth Pasupuleti; reviewed by Benedict for CASSANDRA-14855
2018-12-06 15:49:55 +00:00
Michael Burman
fff6eec290
Backport ImmediateFlusher to cassandra-3.0 and cassandra-3.11
...
patch by Michael Burman and Sumanth Pasupuleti; reviewed by Benedict for CASSANDRA-14855
2018-12-06 15:48:50 +00:00
Vinay Chella
f46762eeca
Audit log allows system keyspaces to be audited via configuration options
...
Patch by Vinay Chella; reviewed by Per Otterström and marcuse for CASSANDRA-14498
2018-11-19 12:34:34 +01:00
Joseph Lynch
bfbc5274f2
Partitioned outbound internode TCP connections can occur when nodes restart
...
Patch by Joseph Lynch; Reviewed by Ariel Weisberg for CASSANDRA-14358
2018-11-01 17:35:23 -04:00
Jeff Jirsa
0766f7e541
Improve wording around partitioner selection
...
Patch by Aaron Ploetz; Reviewed by Dinesh Joshi, Kurt Greaves for CASSANDRA-14798
2018-10-31 14:54:08 -07:00
pksivar
6e00ab956e
Allow using custom script for chronicle queue BinLog archival
...
Patch by Pramod K Sivaraju and marcuse; reviewed by Ariel Weisberg
and Sam Tunnicliffe for CASSANDRA-14373
2018-10-11 13:06:34 +02:00
Sam Tunnicliffe
5fbb938ada
Detect inconsistencies in repaired data on the read path
...
Patch by Sam Tunnicliffe; reviewed by Marcus Eriksson and Jordan West for CASSANDRA-14145
2018-09-05 19:07:12 +01:00
Sam Tunnicliffe
65fb17a88b
Add checksumming to the native protocol
...
Patch my Michael Kjellman and Sam Tunnicliffe; reviewed by Dinesh Joshi
and Jordan West for CASSANDRA-13304
2018-09-01 22:41:37 +01:00
Ariel Weisberg
f7431b4328
Transient Replication and Cheap Quorums
...
Patch by Blake Eggleston, Benedict Elliott Smith, Marcus Eriksson, Alex Petrov, Ariel Weisberg; Reviewed by Blake Eggleston, Marcus Eriksson, Benedict Elliott Smith, Alex Petrov, Ariel Weisberg for CASSANDRA-14404
Co-authored-by: Blake Eggleston <bdeggleston@gmail.com>
Co-authored-by: Benedict Elliott Smith <benedict@apache.org>
Co-authored-by: Marcus Eriksson <marcuse@apache.org>
Co-authored-by: Alex Petrov <oleksandr.petrov@gmail.com>
2018-08-31 21:34:22 -04:00
Dinesh A. Joshi
7b61b0be88
Disable old native protocol versions on demand
...
patch by Dinesh Joshi; reviewed by jasobrown for CASSANDRA-14659
2018-08-30 14:12:38 -07:00
Michael Burman
96ef514917
Remove Netty timed batching and instead do the batch during next
...
eventLoop invocation after a write has been enqueued. Old behavior can
be enabled with setting native_transport_flush_in_batches_legacy
patch by Michael Burman; reviewed by Benedict for CASSANDRA-13651
2018-08-24 16:07:39 +01:00
Stefan Podkowinski
2846b22a70
Add diagnostic events base classes
...
patch by Stefan Podkowinski; reviewed by Mick Semb Wever for CASSANDRA-13457
2018-08-17 14:06:57 +02:00
Jason Brown
ed806594e5
Revert 4.0 GC alg back to CMS
...
patch by jasobrown; reviewed by Jordan West for CASSANDRA-14636
2018-08-10 10:44:05 -07:00
Dinesh A. Joshi
47a12c52a3
Stream entire SSTables when possible
...
patch by Dinesh Joshi; reviewed by Aleksey Yeschenko and Ariel Weisberg
for CASSANDRA-14566
2018-07-27 17:50:25 +01:00
Robert Stupp
6ba2fb9395
Make C* compile and run on Java 11 and Java 8
...
patch by Robert Stupp; reviewed by Jason Brown for CASSANDRA-9608
2018-07-26 18:20:00 +02:00
Jason Brown
176d4bac22
Make PeriodicCommitLogService.blockWhenSyncLagsNanos configurable
...
patch by jasobrown; reviewed by Jordan West for CASSANDRA-14580
2018-07-22 03:20:46 -07:00
Marcus Eriksson
5d87677650
Add option to sanity check tombstones on reads/compaction
...
Patch by marcuse; reviewed by Ariel Weisberg for CASSANDRA-14467
2018-06-05 12:47:20 -07:00
Jason Brown
4f1094e668
Merge branch 'cassandra-3.11' into trunk
2018-05-12 05:33:02 -07:00
Jason Brown
443088fd13
Merge branch 'cassandra-3.0' into cassandra-3.11
2018-05-12 05:31:34 -07:00
Shyam Phirke
b9b2a4e1a0
Cassandra not starting when using enhanced startup scripts in windows
...
patch by Shyam Phirke; reviewed by jasobrown CASSANDRA-14418
2018-05-12 05:28:20 -07:00
Vinay Chella
f56871b88b
Audit logging for database activity
...
patch by Vinay Chella; reviewed by jasobrown for CASSANDRA-12151
2018-05-11 05:44:16 -07:00
Mick Semb Wever
4268761695
Merge branch 'cassandra-3.11' into trunk
2018-05-10 12:47:50 +10:00
Mick Semb Wever
df9475086d
Detect OpenJDK jvm type and architecture
...
Patch by Stefan Podkowinski; Reviewed by Mick Semb Wever for CASSANDRA-12793
2018-05-10 12:46:03 +10:00
Marcus Eriksson
d14a9266c7
Automatic sstable upgrades
...
Patch by marcuse; reviewed by Ariel Weisberg for CASSANDRA-14197
2018-05-09 08:17:33 +02:00
Blake Eggleston
54de771e64
Add network authz
...
Patch by Blake Eggleston; Reviewed by Sam Tunnicliffe for CASSANDRA-13985
2018-04-23 09:55:31 -07:00
Aleksey Yeshchenko
2fcd29b830
Eliminate background repair and probablistic read_repair_chance table options
...
patch by Aleksey Yeschenko; reviewed by Blake Eggleston for
CASSANDRA-13910
2018-04-18 11:41:17 +01:00
Gregory Ramsperger
fd44a69fce
Use standard Amazon naming for datacenter and rack in Ec2Snitch.
...
patch by Gregory Ramsperger and jasobrown; reviewed by Joey Lynch for CASSANDRA-7839
2018-04-16 17:59:06 -07:00
nvharikrishna
42827e6a67
Yaml comments: data_file_directories distributes data evenly by partitioning its token ranges.
...
Patch by Venkata Harikrishna Nukala; Reviewed by Jeff Jirsa for CASSANDRA-14372
2018-04-10 21:22:19 -07:00
Alex Ott
73fa27cc6a
cqlshrc.sample uses incorrect option for time formatting
...
Closes #197
Patch by Alex Ott; Reviewed by Jeff Jirsa for CASSANDRA-14243
2018-03-01 23:16:24 -08:00
Michael Shuler
c0aa79e545
CVE-2017-5929 Security vulnerability and redefine default log rotation policy.
...
Patch by Michael Shuler; Reviewed by Ariel Weisberg for CASSANDRA-14183
2018-02-14 16:30:43 -05:00
Stefan Podkowinski
bb9aa09881
Use JRE default key store algorithm instead of SunX509
...
patch by Stefan Podkowinski; reviewed by Jason Brown for CASSANRA-13259
2018-02-14 11:29:59 +01:00
Paulo Motta
6034c268c3
Merge branch 'cassandra-3.11' into trunk
2018-02-10 15:03:59 -02:00
Paulo Motta
0a6b6f506b
Merge branch 'cassandra-3.0' into cassandra-3.11
2018-02-10 14:59:28 -02:00
Paulo Motta
c231ed5be0
Merge branch 'cassandra-2.2' into cassandra-3.0
2018-02-10 14:57:53 -02:00
Ariel Weisberg
da58565ebc
Revert ProtocolVersion changes from CASSANDRA-7544
...
Patch by Ariel Weisberg; Reviewd by Jason Brown for CASSANDRA-14211
2018-02-01 17:20:00 -05:00
Ariel Weisberg
59b5b6bef0
Allow storage port to be configurable per node
...
Patch by Ariel Weisberg; Reviewed by Jason Brown for CASSANDRA-7544
2018-01-25 14:32:24 -05:00
Jason Brown
d569c831cb
Merge branch 'cassandra-3.11' into trunk
2017-12-13 19:53:42 -08:00
Jason Brown
c000827afd
Merge branch 'cassandra-3.0' into cassandra-3.11
2017-12-13 19:52:31 -08:00
Jason Brown
db788fe860
Improve commit log chain marker updating
...
patch by jasobrown; reviewed by Ariel Weisberg for CASSANDRA-14108
2017-12-13 19:51:34 -08:00
Benjamin Lerer
17e602b7d2
Merge branch cassandra-3.11 into trunk
2017-12-12 10:52:23 +01:00
Benjamin Lerer
a7c45be936
Merge branch cassandra-3.0 into cassandra-3.11
2017-12-12 10:42:50 +01:00
Benjamin Lerer
dd187d105b
Merge branch cassandra-2.2 into cassandra-3.0
2017-12-12 10:32:36 +01:00
Benjamin Lerer
02aba7343c
Rely on the JVM to handle OutOfMemoryErrors
...
patch by Benjamin Lerer; reviewed by Joshua McKenzie for CASSANDRA-13006
2017-12-12 10:21:05 +01:00
Jason Brown
2402acd47e
Merge branch 'cassandra-3.11' into trunk
2017-12-05 05:11:21 -08:00
Jason Brown
c3a1a4fa80
Merge branch 'cassandra-3.0' into cassandra-3.11
2017-12-05 05:08:22 -08:00
Jason Brown
05cb556f90
More frequent commitlog chained markers
...
patch by jasobrown; reviewed by Sam Tunnecliffe for CASSANDRA-13987
2017-12-05 05:06:38 -08:00
Ariel Weisberg
ae837806bd
Support a means of logging all queries as they were invoked.
...
Patch by Ariel Weisberg; Reviewed by Blake Eggleston
2017-12-04 18:06:30 -05:00
Yuji Ito
f3f90c1896
Add GroupCommitLogService
...
patch by Yuji Ito and jasobrown; reviewed by Ariel Weisberg for CASSANDRA-13530
2017-12-01 13:12:20 -08:00
Andrés de la Peña
4c80eeece3
Parallelize initial materialized view build
...
patch by Andres de la Peña; reviewed by Paulo Motta for CASSANDRA-12245
2017-12-01 14:58:12 +01:00
Jason Brown
260846685b
Node to Node encryption transitional mode
...
patch by jasobrown; reviewed by Stefan Podkowinski for CASSANDRA-10404
2017-11-03 05:06:38 -07:00
Jason Brown
87962dcf36
Merge branch 'cassandra-3.11' into trunk
2017-11-02 10:47:17 -07:00
Jason Brown
c8a3b58bdb
ninja-fix comment to correct the default RING_DEALY value
2017-11-02 10:46:24 -07:00
Blake Eggleston
569c6abcfa
Merge branch 'cassandra-3.11' into trunk
2017-10-26 14:06:24 -07:00
Blake Eggleston
ea443dfe3e
Merge branch 'cassandra-3.0' into cassandra-3.11
2017-10-26 14:03:33 -07:00
Blake Eggleston
b8697441d7
Add flag to disable materialized views, and warnings on creation
...
Patch by Blake Eggleston; Reviewed by Aleksey Yeschenko for CASSANDRA-13959
2017-10-26 13:54:37 -07:00
Zhao Yang
a586f6c88d
Improve config validation and documentation on overflow and NPE
...
patch by Zhao Yang; reviewed by Kurt Greaves for CASSANDRA-13622
2017-09-12 15:06:23 +01:00
Andrés de la Peña
1a679cf5b6
Merge branch 'cassandra-3.11' into trunk
2017-09-12 14:55:31 +01:00
Andrés de la Peña
12841938a0
Merge branch 'cassandra-3.0' into cassandra-3.11
...
# Conflicts:
# CHANGES.txt
# src/java/org/apache/cassandra/config/DatabaseDescriptor.java
2017-09-12 14:52:18 +01:00
Zhao Yang
8fc9275d30
Improve config validation and documentation on overflow and NPE
...
patch by Zhao Yang; reviewed by Kurt Greaves for CASSANDRA-13622
2017-09-12 14:31:07 +01:00
Jay Zhuang
41ef972b18
simplify mx4j configuration
...
patch by Jay Zhuang; reviewed by jasobrown for CASSANDRA-13578
2017-08-24 09:13:56 -07:00
Jason Brown
d2dcd7f884
force minumum timeout value
...
patch by Varun Barala; reviewed by jasobrown for CASSANDRA-9375
2017-08-23 15:08:11 -07:00
Jason Brown
356dc3c253
switch internode messaging to netty
...
patch by jasobrown, reviewed by pcmanus for CASSANDRA-8457
2017-08-22 13:54:44 -07:00
Tomas Repik
12d4e2f189
Change default start_native_transport to true and remove from jvm.options
...
patch by Tomas Repik; reviewed by Stefan Podkowinski for CASSANDRA-13656
2017-07-20 09:43:02 +02:00
Joaquin Casares
082af0a9ba
Remove unused max_value_size_in_mb config setting
...
Fixes #124
Patch by Joaquin Casares; Reviewed by Jeff Jirsa for CASSANDRA-13625
2017-06-21 16:58:03 -07:00
Blake Eggleston
8028d4bdd6
Add configurable upper bound for validation executor threads
...
Patch by Blake Eggleston; Reviewed by Jeff Jirsa for CASSANDRA-13521
2017-05-18 16:15:33 -07:00
Blake Eggleston
f8159ac507
Bring back maxHintTTL propery
...
Patch by Blake Eggleston, reviewed by Aleksey Yeschenko for CASSANDRA-12982
2017-05-16 14:37:33 -07:00
Ariel Weisberg
ed4a7c5ebf
Merge branch 'cassandra-3.11' into trunk
2017-05-03 16:38:27 -04:00
Ariel Weisberg
187658861d
Merge branch 'cassandra-3.0' into cassandra-3.11
2017-05-03 16:34:56 -04:00
Christian Esken
617c8ebadb
Expire OTC messages by a single Thread
...
patch by Christian Esken; reviewed by Ariel Weisberg for CASSANDRA-13265
2017-05-03 16:30:43 -04:00
Edward Capriolo
1096f9f5e7
Make gc_log and gc_warn settable at runtime
...
Patch by Edward Capriolo; reviewed by Jon Haddad for CASSANDRA-12661
2017-04-11 17:14:11 -07:00
Ariel Weisberg
6f647aaa0d
Make it possible to monitor an ideal consistency level separate from actual consistency level
...
Patch by Ariel Weisberg; Reviewed by Jason Brown for CASSANDRA-13289
2017-03-30 17:01:20 -04:00
Jeff Jirsa
a49cf2c6cc
Merge branch 'cassandra-3.11' into trunk
2017-03-02 21:38:14 -08:00
Jeff Jirsa
ff170af2a2
Supplemental Ninja: Address message coalescing regression - Update yaml
...
Patch by Jeff Jirsa following CASSANDRA-12676
2017-03-02 21:36:34 -08:00
Brad Vernon
873660cf58
Remove offheap_buffer as option for memtable_allocation_type in cassandra.yaml
...
patch by Brad Vernon; reviewed by Robert Stupp for CASSANDRA-13179
2017-03-01 11:05:33 +01:00
Ariel Weisberg
48bfc8e8dc
Merge branch 'cassandra-3.11' into trunk
2017-02-14 15:14:15 -05:00
Ariel Weisberg
23a1dee45f
Merge branch 'cassandra-3.0' into cassandra-3.11
2017-02-14 15:13:39 -05:00
Ariel Weisberg
82943d6aa7
Merge branch 'cassandra-2.2' into cassandra-3.0
2017-02-14 15:12:39 -05:00
Ariel Weisberg
9a80f803c2
Remove non-ascii characters from cassandra.yaml introduced by CASSANDRA-13090
...
patch by Ariel Weisberg; reviewed by Jason Brown for CASSANDRA-13219
2017-02-14 15:09:20 -05:00
Ariel Weisberg
edcbef3e34
Merge branch 'cassandra-3.11' into trunk
2017-02-13 13:34:31 -05:00
Ariel Weisberg
702ec088f5
Merge branch 'cassandra-3.0' into cassandra-3.11
2017-02-13 13:32:30 -05:00
Ariel Weisberg
3d01e90615
Merge branch 'cassandra-2.2' into cassandra-3.0
2017-02-13 13:23:39 -05:00
Corentin Chary
5725e2c422
Coalescing strategies improvements CASSANDRA-13090
...
With the previous code TIMEHORIZON and MOVINGAVERAGE
coalesing strategy would wait even when the backlog
still contains data which would make it grow even more.
Also:
- cleanups parkLoop()
- add otc_coalescing_max_coalesced_messages
- add otc_coalescing_enough_coalesced_messages
- add other otc_* settings to cassandra.yaml
patch by Corentin Chary <c.chary@criteo.com> reviewed by Ariel Weisberg <aweisberg@apple.com> for CASSANDRA-13090
2017-02-13 12:58:29 -05:00
Corentin Chary
4d67639d38
Parallelize streaming of different keyspaces for bootstrap and rebuild
...
patch by Corentin Chary; reviewed by jasobrown for CASSANDRA-4663
2017-01-20 11:47:18 -08:00
Benjamin Lerer
05106f0780
Merge branch cassandra-3.X into trunk
2017-01-11 21:31:07 +01:00
Benjamin Lerer
3bcdbd66fe
Merge branch cassandra-3.11 into cassandra-3.X
2017-01-11 21:29:55 +01:00
Benjamin Lerer
9c2ab25556
Merge branch cassandra-3.0 into cassandra-3.11
2017-01-11 21:28:21 +01:00
Benjamin Lerer
5774d8e235
Removes SetJsr223Env from cassandra-env.ps1 (Follow up CASSANDRA-12883)
2017-01-11 21:23:48 +01:00
Paulo Motta
a1f0dcdcb7
Merge branch 'cassandra-3.X' into trunk
2017-01-06 11:00:12 -02:00
Paulo Motta
2e675b5ca3
ninja2: fix thread priorities workaround url on jvm.options
2017-01-06 10:59:53 -02:00
Paulo Motta
44d2b80098
ninja: fix thread priorities workaround url on jvm.options
2017-01-06 09:54:37 -02:00
Paulo Motta
29a855e1ba
Merge branch 'cassandra-3.X' into trunk
2017-01-06 09:53:09 -02:00
Paulo Motta
5c0aacbacd
ninja: fix thread priorities workaround url on jvm.options
2017-01-06 09:52:22 -02:00
Sam Tunnicliffe
b02dec3da5
Merge branch 'cassandra-3.X' into trunk
2016-12-13 10:32:57 +00:00
Sam Tunnicliffe
8bbe2f5951
Merge branch 'cassandra-3.0' into cassandra-3.11
2016-12-13 10:29:08 +00:00
Sylvain Lebresne
4881d9c308
Thrift removal
...
patch by Sylvain Lebresne; reviewed by Aleksey Yeschenko for CASSANDRA-11115
2016-12-13 10:27:12 +01:00
Sam Tunnicliffe
2f3e07a0ad
Merge branch 'cassandra-3.0' into cassandra-3.X
2016-11-14 12:49:04 +00:00
Eduard Tudenhoefner
d5326866d3
Use correct system_auth table names in cassandra.yaml
...
Patch by Eduard Tudenhoefner; reviewed by Sam Tunnicliffe for
CASSANDRA-12911
2016-11-14 12:48:06 +00:00
Guy Bolton King
e722046406
Update cassandra.yaml documentation for batch_size thresholds
...
Take account of changes in CASSANDRA-10876
Patch by Guy Bolton King; reviewed by Joel Knighton for CASSANDRA-12761
2016-10-14 17:14:57 +01:00
Stefania Alborghetti
2e18adf257
Merge branch 'cassandra-3.0' into cassandra-3.X
2016-10-04 09:54:18 +08:00
Alex Petrov
5115c106db
Unify drain and shutdown processes
...
Patch by Alex Petrov; reviewed by Stefania Alborghetti for CASSANDRA-12509
2016-10-04 09:51:51 +08:00
Edward Capriolo
f92f959eb3
CASSANDRA-12688 strongly suggest leaving -ea on
2016-09-22 10:39:47 -07:00
Sergio Bossa
d43b9ce509
Support optional backpressure strategies at the coordinator
...
patch by Sergio Bossa; reviewed by Stefania Alborghetti for CASSANDRA-9318
2016-09-20 09:07:36 +08:00
Paulo Motta
8af61ac311
Add keep-alive to streaming
...
patch by Paulo Motta; reviewed by Yuki Morishita for CASSANDRA-11841
2016-08-31 16:03:00 -05:00
Shogo Hoshii
6966fcda9b
Added slow query log
...
patch by Shogo Hoshii and Stefania Alborghetti; reviewed by Tyler Hobbs
and Stefania Alborghetti for CASSANDRA-12403
2016-08-17 10:47:14 +08:00
Ariel Weisberg
6dfc1e7eeb
Deprecate memtable_cleanup_threshold and set memtable_flush_writers default to 2.
...
Patch by Ariel Weisberg; reviewed by marcuse for CASSANDRA-12228
2016-08-04 14:30:04 +02:00
Josh McKenzie
503148b3d4
Merge branch 'cassandra-3.9' into trunk
2016-07-27 12:16:30 -04:00