Commit Graph

28599 Commits

Author SHA1 Message Date
Caleb Rackliffe 03806f95e4 Merge branch 'cassandra-4.0' into cassandra-4.1
* cassandra-4.0:
  Avoid loading the preferred IP for BulkLoader streaming
2023-03-31 11:58:59 -05:00
Caleb Rackliffe 853ae8c840 Avoid loading the preferred IP for BulkLoader streaming
patch by Caleb Rackliffe; reviewed by Jon Meredith for CASSANDRA-18370

Co-authored-by: Caleb Rackliffe <calebrackliffe@gmail.com>
Co-authored-by: Jon Meredith <jonmeredith@apache.org>
2023-03-31 11:57:29 -05:00
Jacek Lewandowski e07b8dfe8d Merge branch 'cassandra-4.1' into trunk
* cassandra-4.1:
  Save host id to system.local and flush immediately after startup
2023-03-31 17:38:37 +02:00
Jacek Lewandowski 14936d0bd3 Merge branch 'cassandra-4.0' into cassandra-4.1
* cassandra-4.0:
  Save host id to system.local and flush immediately after startup
2023-03-31 17:34:19 +02:00
Jacek Lewandowski f8dd1931ee Merge branch 'cassandra-4.0' into cassandra-4.1
* cassandra-4.0:
  Save host id to system.local and flush immediately after startup
2023-03-31 17:30:21 +02:00
Jacek Lewandowski 4b9c18235a Merge branch 'cassandra-3.11' into cassandra-4.0
* cassandra-3.11:
  Save host id to system.local and flush immediately after startup
2023-03-31 17:30:20 +02:00
Jacek Lewandowski ee586b53c2 Merge branch 'cassandra-3.0' into cassandra-3.11
* cassandra-3.0:
  Save host id to system.local and flush immediately after startup
  Remove asf.yaml from non-trunk branches
  Notify the corresponding JIRA issue as soon as the PR is raised
2023-03-31 17:30:19 +02:00
Jacek Lewandowski f96659c530 Save host id to system.local and flush immediately after startup
patch by Adriano Bonacin and Jacek Lewandowski; reviewed by Stefan Miklosovic and Sam Tunnicliffe for CASSANDRA-18153
2023-03-31 17:30:18 +02:00
Brandon Williams 20bf2273a0 Remove asf.yaml from non-trunk branches 2023-03-30 08:40:15 -05:00
Maxim Muzafarov 24f5b64f26 Notify the corresponding JIRA issue as soon as the PR is raised
Patch by Maxim Muzafarov; reviewed by brandonwilliams and smiklosovic
for CASSANDRA-18372
2023-03-30 08:40:15 -05:00
Maxim Muzafarov e98258a132 Upgrade checkstyle to 10.8.1 for j11 and 8.45.1 for j8
Patch by Maxim Muzafarov; reviewed by brandonwilliams and smiklosovic
for CASSANDRA-18262
2023-03-30 05:19:58 -05:00
Brandon Williams 549bf38a07 Merge branch 'cassandra-4.1' into trunk 2023-03-29 06:32:26 -05:00
Brandon Williams 780f8b94ff Merge branch 'cassandra-4.0' into cassandra-4.1 2023-03-29 06:32:20 -05:00
Brandon Williams 5f61645778 Merge branch 'cassandra-3.11' into cassandra-4.0 2023-03-29 06:32:13 -05:00
Brandon Williams c4535a2e2a Merge branch 'cassandra-3.0' into cassandra-3.11 2023-03-29 06:32:09 -05:00
Brandon Williams 2f8d11335e Remove asf.yaml from non-trunk branches 2023-03-29 06:32:05 -05:00
Brandon Williams 297825773a Merge branch 'cassandra-4.1' into trunk 2023-03-29 06:26:54 -05:00
Brandon Williams 5fa2f87741 Merge branch 'cassandra-4.0' into cassandra-4.1 2023-03-29 06:26:40 -05:00
Brandon Williams 5b877b9d2b Merge branch 'cassandra-3.11' into cassandra-4.0 2023-03-29 06:26:15 -05:00
Brandon Williams 11b84d2ef2 Merge branch 'cassandra-3.0' into cassandra-3.11 2023-03-29 06:25:59 -05:00
Maxim Muzafarov f352f2b637 Notify the corresponding JIRA issue as soon as the PR is raised
Patch by Maxim Muzafarov; reviewed by brandonwilliams and smiklosovic
for CASSANDRA-18372
2023-03-29 06:24:34 -05:00
Stefan Miklosovic 6a5f84d0f4
Merge branch 'cassandra-4.1' into trunk 2023-03-28 19:04:00 +02:00
Stefan Miklosovic 6f401a8725
Return snapshots with dots in their name in nodetool listsnapshots
patch by Stefan Miklosovic; reviewed by Paulo Motta for CASSANDRA-18371
2023-03-28 19:00:40 +02:00
Stefan Miklosovic eca75a42ef
Merge branch 'cassandra-4.1' into trunk 2023-03-26 23:30:26 +02:00
Stefan Miklosovic 4ac89e6451
Fix NPE when loading snapshots and data directory is one directory from root
patch by Stefan Miklosovic; reviewed by Paulo Motta for CASSANDRA-18359
2023-03-26 23:29:28 +02:00
Natnael Adere 4444721b6d Provide summary of failed SessionInfo's in StreamResultFuture
patch by Natnael Adere; reviewed by David Capwell, Dinesh Joshi, Jon Meredith for CASSANDRA-17199
2023-03-24 16:09:35 -07:00
Paulo Motta ffe669106b Merge branch 'cassandra-4.1' into trunk 2023-03-24 12:17:44 -04:00
Paulo Motta 7c2f97cd29 Do not submit hints when hinted_handoff_enabled=false
- Remove dead WriteCallbackInfo code

Patch by Paulo Motta, Aleksey Yeschenko; Reviewed by Stefan Miklosovic, Claude Warren for CASSANDRA-18304

Co-authored-by: Aleksey Yeschenko <aleksey@apache.org>
2023-03-24 12:17:17 -04:00
Andrés de la Peña 2e2a49fcdc CEP-20: Dynamic Data Masking
Allows to attach the native masking functions and UDFs to the definitions of
table columns in the schema, as defined by CEP-20.

The functions masking a column can be specified on CREATE TABLE queries, right
at the end of the column definition. The mask of a column can also be changed
or dropped with an ALTER TABLE query. Once a column is masked, SELECT queries
will always return the masked value of the column. That masking is done on the
coordinator, at the end of the query execution. Thus, masking won't affect any
filters or ordering, which would be based on the clear values of the masked
columns. Column masks are stored on the table system_schema.column_masks.

A new UNMASK permission allows to see the clear data of columns with an
attached mask. Also, a new SELECT_MASKED permission allows to run SELECT
queries restricting the clear values of masked columns. Superusers have both
permissions by default, whereas regular users don't have them.

Dynamic data masking can be enabled/disabled with the config property
dynamic_data_masking_enabled in cassandra.yaml. It is disabled by default.

This is the combination of multiple tickets:

 * Add masking functions to column metadata (CASSANDRA-18068)
 * Add UNMASK permission (CASSANDRA-18069)
 * Add SELECT_MASKED permission (CASSANDRA-18070)
 * Add support for using UDFs as masking functions (CASSANDRA-18071)
 * Add feature flag for dynamic data masking (CASSANDRA-18316)

patch by Andrés de la Peña; reviewed by Benjamin Lerer and Berenguer Blasi for CASSANDRA-17940
2023-03-24 13:57:18 +00:00
Ekaterina Dimitrova de1ff6d4d1 Fix nodetool/sjk hh, Java17
patch by Ekaterina Dimitrova, reviewed by Brandon Williams for CASSANDRA-18242
2023-03-23 14:58:51 -04:00
Brandon Williams b4d4cf716b Merge branch 'cassandra-4.1' into trunk 2023-03-22 13:29:20 -05:00
Brandon Williams 70b95d8098 Restore COPY ... TO STDOUT behavior in cqlsh
Patch by brandonwilliams; reviewed by adelapena for CASSANDRA-18353
2023-03-22 13:28:47 -05:00
Brandon Williams 080ad4963c Merge branch 'cassandra-4.1' into trunk 2023-03-22 10:20:08 -05:00
Brandon Williams a6f8dd10cd Remove six and Py2SaferScanner merge cruft
Patch by brandonwilliams; reviewed by smiklosovic for CASSANDRA-18354
2023-03-22 10:18:29 -05:00
Aleksey Yeschenko 4138dd697a Fix trunk CHANGES.txt 2023-03-22 14:49:55 +00:00
maxwellguo fc9efd6357
Add virtual table system_views.snapshots
patch by Maxwell Guo; reviewed by Stefan Miklosovic and Paulo Motta for CASSANDRA-18102

Co-authored-by: Stefan Miklosovic <smiklosovic@apache.org>
2023-03-22 09:10:58 +01:00
Mick Semb Wever eee211fdbb
Update OpenHFT dependencies (chronicle-queue, chronicle-core, chronicle-bytes, chronicle-wire, chronicle-threads)
Some transitive dependencies to these have also been added to raise their versions. asm-* transitive dependencies have been excluded.

 patch by Mick Semb Wever; reviewed by Ekaterina Dimitrova for CASSANDRA-18049
2023-03-22 09:03:33 +01:00
Stefan Miklosovic 592cbeaab0
Remove org.apache.cassandra.hadoop code
patch by Stefan Miklosovic; reviewed by David Capwell and Brandon Williams for CASSANDRA-18323
2023-03-21 20:47:19 +01:00
Brandon Williams 0136374545 Merge branch 'cassandra-4.1' into trunk 2023-03-21 07:00:40 -05:00
Brandon Williams 3021c33cab Increment version to 4.1.2 2023-03-21 07:00:29 -05:00
Jacek Lewandowski 11ea405952 Merge branch 'cassandra-4.1' into trunk
* cassandra-4.1:
  Fix RepairJob unnecessarily reporting cancellation error
2023-03-21 10:12:30 +01:00
Jacek Lewandowski fb9699c231 Merge branch 'cassandra-4.0' into cassandra-4.1
* cassandra-4.0:
  Fix RepairJob unnecessarily reporting cancellation error
2023-03-21 10:12:04 +01:00
Jacek Lewandowski 2974810607 Merge branch 'cassandra-3.11' into cassandra-4.0
* cassandra-3.11:
  Fix RepairJob unnecessarily reporting cancellation error
2023-03-21 10:09:31 +01:00
Jacek Lewandowski 955cf156c8 Merge branch 'cassandra-3.0' into cassandra-3.11
* cassandra-3.0:
  Fix RepairJob unnecessarily reporting cancellation error
2023-03-21 10:08:12 +01:00
Jacek Lewandowski f6a04ca81f Fix RepairJob unnecessarily reporting cancellation error
patch by Jacek Lewandowski; reviewed by Brandon Williams for CASSANDRA-17701
2023-03-21 10:04:24 +01:00
Ekaterina Dimitrova 0dea9c268a CircleCI config J17 + J11
patch by Ekaterina Dimitrova; reviewed by Michael Semb Wever and Brandon Williams for CASSANDRA-18247
2023-03-20 13:05:18 -04:00
Andrés de la Peña 3eb605b4db Remove deprecated CQL functions dateOf and unixTimestampOf
patch by Andrés de la Peña; reviewed by Berenguer Blasi and Stefan Miklosovic for CASSANDRA-18328
2023-03-16 15:43:45 +00:00
Stefan Miklosovic 58a3b12508
Remove DateTieredCompactionStrategy
patch by Stefan Miklosovic; reviewed by Jacek Lewandowski for CASSANDRA-18043
2023-03-16 09:38:10 +01:00
David Capwell 92c90cd4ef Merge branch 'cassandra-4.1' into trunk 2023-03-15 16:22:18 -07:00
David Capwell d5b1483703 Incompatible file system thrown while running Simulator
patch by David Capwell; reviewed by Brandon Williams, Caleb Rackliffe for CASSANDRA-18320
2023-03-15 16:19:04 -07:00