Commit Graph

18229 Commits

Author SHA1 Message Date
Bereng e780b5a45b Error out on noop GRANT/REVOKE
patch by Berenguer Blasi; reviewed by Andres de la Peña for CASSANDRA-17333
2022-02-28 07:17:37 +01:00
Stefan Miklosovic eac9d92562 make startup checks configurable
patch by Stefan Miklosovic; reviewed by Paulo Motta for CASSANDRA-17220
2022-02-28 00:36:53 +01:00
Yifan Cai b83da7d978 Correct size unit to mebibypes 2022-02-25 14:38:43 -08:00
Ekaterina Dimitrova 75bea27e5e Merge branch 'cassandra-4.0' into trunk 2022-02-25 16:05:23 -05:00
Aleksandr Sorokoumov a8b67e3dd9 Streaming tasks handle empty SSTables correctly
patch by Aleksandr Sorokoumov; reviewed by Marcus Eriksson and Zhao Yang for CASSANDRA-16349
2022-02-25 15:45:45 -05:00
Serban Teodorescu 193d4ef3a7 Prevent SSTableLoader from doing unnecessary work
patch by Serban Teodorescu; reviewed by Aleksandr Sorokoumov, Marcus Eriksson and Zhao Yang for CASSANDRA-16349
2022-02-25 15:45:33 -05:00
Ekaterina Dimitrova 12e2c159f8 Forward port from cassandra-4.0(CASSANDRA-17377) - deprecation of otc_coalescing_strategy, otc_coalescing_window_us, otc_coalescing_enough_coalesced_messages, otc_backlog_expiration_interval_ms
patch by Ekaterina Dimitrova; reviewed by David Capwell for CASSANDRA-17378
2022-02-25 12:42:37 -05:00
Ekaterina Dimitrova 65fcc79b62 Revert removal of deprecated max_streaming_retries into Config, revert name change to user_defined_function_warn_timeout and user_defined_function_fail_timeout
patch by Ekaterina Dimitrova; reviewed by David Capwell for CASSANDRA-17378
2022-02-25 12:39:44 -05:00
Ekaterina Dimitrova 769f6b3122 Merge branch 'cassandra-4.0' into trunk 2022-02-25 11:54:34 -05:00
Ekaterina Dimitrova 22a4ae16e4 Deprecate JavaScript user-defined functions
patch by Ekaterina Dimitrova; reviewed by Berenguer Blasi and Marcus Eriksson for CASSANDRA-17280
2022-02-25 11:32:25 -05:00
tejavadali 7ea0a4aa41 Add guardrail for number of partition keys on IN queries
patch by Krishna Vadali; reviewed by Andrés de la Peña and Berenguer Blasi for CASSANDRA-17186
2022-02-23 12:47:27 +00:00
Marcus Eriksson c69e37eca7 Merge branch 'cassandra-4.0' into trunk 2022-02-17 10:39:33 +01:00
Marcus Eriksson 702824a99d Merge branch 'cassandra-3.11' into cassandra-4.0 2022-02-17 10:36:54 +01:00
Marcus Eriksson e53ad64612 Merge branch 'cassandra-3.0' into cassandra-3.11 2022-02-17 10:30:27 +01:00
Marcus Eriksson b58a5c86e8 LeveledCompactionStrategy disk space check improvements
Patch by marcuse; reviewed by Caleb Rackliffe for CASSANDRA-17272
2022-02-17 10:25:43 +01:00
Yifan Cai 8327744c1a Fix improper CDC commit log segments deletion in non-blocking mode
patch by Yifan Cai; reviewed by Josh McKenzie for CASSANDRA-17233
2022-02-16 22:56:18 -08:00
Marcus Eriksson e56bf105a1 Merge branch 'cassandra-4.0' into trunk 2022-02-16 11:09:55 +01:00
Marcus Eriksson 2687cf1edf Merge branch 'cassandra-3.11' into cassandra-4.0 2022-02-16 11:08:20 +01:00
Marcus Eriksson eeec360e75 Merge branch 'cassandra-3.0' into cassandra-3.11 2022-02-16 10:14:41 +01:00
Marcus Eriksson 85c202d8a8 Lazy transaction log replica creation allows incorrect replica content divergence during anticompaction
Patch by marcuse; reviewed by Caleb Rackliffe for CASSANDRA-17273
2022-02-16 10:12:14 +01:00
Alex Petrov 81922c5a7b Intoduce Harry to the tree
Patch by Alex Petrov; reviewed by Caleb Rackliffe and Abe Ratnofsky for CASSANDRA-16262.
2022-02-16 09:00:36 +01:00
Ekaterina Dimitrova 537ad9e17b Deprecate otc_coalescing_strategy, otc_coalescing_window_us, otc_coalescing_enough_coalesced_messages,
otc_backlog_expiration_interval_ms (CASSANDRA-17377)
patch by Ekaterina Dimitrova; reviewed by Brandon Williams for CASSANDRA-17377
2022-02-12 20:17:30 -05:00
Manish Ghildiyal 5cf62c6c02 Add support for string concatenations through the + operator
Patch by Manish Ghildiyal; review by Benjamin Lerer, Berenguer Blassi,
Brandon Williams for CASSANDRA-17190
2022-02-11 15:39:06 +01:00
Marcus Eriksson 9649cb1358 Merge branch 'cassandra-4.0' into trunk 2022-02-11 14:09:50 +01:00
Paul Chandler c60ad61b3b Improve start up processing of Incremental Repair information read from system.repairs
Patch by Paul Chandler, reviewed by Brandon Williams and Marcus Eriksson for CASSANDRA-17342
2022-02-11 14:07:51 +01:00
Yifan Cai 3a6f690731 Limit the maximum hints size per host
patch by Yifan Cai; reviewed by Dinesh Joshi, Francisco Guerrero for CASSANDRA-17142
2022-02-10 17:18:29 -08:00
Michael Burman ce7502a110 Add a virtual table for exposing batch metrics
Patch by Michael Burman; review by Aleksei Zotov, Benjamin Lerer and Ekaterina Dimitrova for CASSANDRA-17225
2022-02-10 09:47:09 +01:00
Andrés de la Peña 8e1c8f9863 Flatten guardrails config
patch by Andrés de la Peña; reviewed by David Capwell for CASSANDRA-17353
2022-02-09 18:31:37 +00:00
Francisco Guerrero 543608ba39 Instance failed to start up due to NPE in StartupClusterConnectivityChecker
patch by Francisco Guerrero; reviewed by Stefan Miklosovic, Yifan Cai for CASSANDRA-17347
2022-02-09 10:22:35 -08:00
David Capwell f0c97132c9 Make vtables accessible via internode messaging
patch by David Capwell; reviewed by Aleksey Yeschenko for CASSANDRA-17295
2022-02-08 17:09:01 -08:00
Maulin Vasavada 3655b26adf Add support for PEM based key material for SSL
patch by Maulin Vasavada; reviewed by Jon Meredith and Stefan Miklosovic for CASSANDRA-17031
2022-02-07 22:18:14 +01:00
Marcus Eriksson 210793f943 Merge branch 'cassandra-4.0' into trunk 2022-02-07 13:01:12 +01:00
Marcus Eriksson 66d792adda Merge branch 'cassandra-3.11' into cassandra-4.0 2022-02-07 13:00:46 +01:00
Marcus Eriksson b022aecfa6 Merge branch 'cassandra-3.0' into cassandra-3.11 2022-02-07 13:00:23 +01:00
Marcus Eriksson 5c9ba06dd3 Extend operator control over the UDF threading model
Patch by marcuse; reviewed by Sam Tunnicliffe and Benedict Elliott Smith for CASSANDRA-17352
2022-02-07 12:59:39 +01:00
Alex Petrov e256b98172 Merge branch 'cassandra-4.0' into trunk 2022-02-07 11:55:39 +01:00
Alex Petrov 371add40ae Merge branch 'cassandra-3.11' into cassandra-4.0 2022-02-07 11:26:13 +01:00
Alex Petrov 5d0aeb1996 Merge branch 'cassandra-3.0' into cassandra-3.11 2022-02-07 11:10:54 +01:00
Alex Petrov 242f7f9b18 Fix Prepared Statements behaviours after 15252
Patch by Alex Petrov; reviewed by Marcus Eriksson for CASSANDR-17248.

Co-authored-by: Marcus Eriksson <marcuse@apache.org>
2022-02-07 11:06:14 +01:00
Ekaterina Dimitrova 9f56bf4ca7 Remove old Duration class in favor of DurationSpec class
patch by Ekaterina Dimitrova; reviewed by Caleb Rackliffe, David Capwell, Michael Semb Wever and Benjamin Lerer for CASSANDRA-15234
2022-02-05 22:39:53 -05:00
Ekaterina Dimitrova c51a7c66fc Bulk change of units around the code to support the move to the new configuration framework
patch by Ekaterina Dimitrova; reviewed by Caleb Rackliffe, David Capwell, Michael Semb Wever and Benjamin Lerer for CASSANDRA-15234
2022-02-05 22:28:57 -05:00
Ekaterina Dimitrova 6d5203615f Transfer parameters to the newly introduced configuration framework (7)
patch by Ekaterina Dimitrova; reviewed by Caleb Rackliffe, David Capwell, Michael Semb Wever and Benjamin Lerer for CASSANDRA-15234
2022-02-05 22:28:48 -05:00
Ekaterina Dimitrova 23138252f2 Transfer parameters to the newly introduced configuration framework (6)
patch by Ekaterina Dimitrova; reviewed by Caleb Rackliffe, David Capwell, Michael Semb Wever and Benjamin Lerer for CASSANDRA-15234
2022-02-05 22:28:40 -05:00
Ekaterina Dimitrova 1315d0c96f Transfer parameters to the newly introduced configuration framework (5)
patch by Ekaterina Dimitrova; reviewed by Caleb Rackliffe, David Capwell, Michael Semb Wever and Benjamin Lerer for CASSANDRA-15234
2022-02-05 22:28:32 -05:00
Ekaterina Dimitrova ed48f3c017 Transfer parameters to the newly introduced configuration framework (4)
patch by Ekaterina Dimitrova; reviewed by Caleb Rackliffe, David Capwell, Michael Semb Wever and Benjamin Lerer for CASSANDRA-15234
2022-02-05 22:28:23 -05:00
Ekaterina Dimitrova 755fd9446b Transfer parameters to the newly introduced configuration framework (3)
patch by Ekaterina Dimitrova; reviewed by Caleb Rackliffe, David Capwell, Michael Semb Wever and Benjamin Lerer for CASSANDRA-15234
2022-02-05 22:28:14 -05:00
Ekaterina Dimitrova d85f7f7c2d Transfer parameters to the newly introduced configuration framework (2)
patch by Ekaterina Dimitrova; reviewed by Caleb Rackliffe, David Capwell, Michael Semb Wever and Benjamin Lerer for CASSANDRA-15234
2022-02-05 22:28:04 -05:00
Ekaterina Dimitrova b9e2ab75f8 Extend DurationSpec and DataStorageSpec for smallest unit and transfer denylist parameters to the new framework
patch by Ekaterina Dimitrova; reviewed by Caleb Rackliffe, David Capwell, Michael Semb Wever and Benjamin Lerer for CASSANDRA-15234
2022-02-05 22:27:47 -05:00
Ekaterina Dimitrova a3258d66bc Transfer parameters to the newly introduced configuration framework (1)
patch by Ekaterina Dimitrova; reviewed by Caleb Rackliffe, David Capwell, Michael Semb Wever and Benjamin Lerer for CASSANDRA-15234
2022-02-05 22:27:37 -05:00
Ekaterina Dimitrova 5bb4bab12f DataRate parameters transition to the new framework
Fix the DB descriptorRefTest which failed on the previous commit
patch by Ekaterina Dimitrova; reviewed by Caleb Rackliffe, David Capwell, Michael Semb Wever and Benjamin Lerer for CASSANDRA-15234
2022-02-05 22:27:27 -05:00