Commit Graph

241 Commits

Author SHA1 Message Date
Bereng 1adbea5a06 Extend maximum expiration date
patch by Berenguer Blasi; reviewed by Andrés de la Peña for CASSANDRA-14227
2023-06-05 07:18:34 +02: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 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
maxwellguo 49dfb805e9 Add compaction_properties column to system.compaction_history table and nodetool compactionhistory command
patch by Maxwell Guo; reviewed by Stefan Miklosovic and Jacek Lewandowski for CASSANDRA-18061
2023-01-17 08:56:07 +01:00
Andrés de la Peña 6da9e33602 Add support for CQL functions on collections, tuples and UDTs
patch by Andrés de la Peña; reviewed by Benjamin Lerer for CASSANDRA-17811
2022-11-18 10:32:50 +00:00
Josh McKenzie 39a470235a Disable resumable bootstrap by default
Patch by Marcus Eriksson; reviewed by Jordan West, Blake Eggleston, and Josh McKenzie for CASSANDRA-17679

Co-authored-by: Marcus Eriksson <marcuse@apache.org>
Co-authored-by: Josh McKenzie <jmckenzie@apache.org>
2022-10-28 14:47:03 -04:00
Stefan Miklosovic ff47de11d6 Merge branch 'cassandra-4.1' into trunk 2022-09-26 22:37:29 +02:00
Josh McKenzie e89b214d06 Allow disabling hotness persistence for high sstable counts
Patch by Caleb Rackliffe; reviewed by Chris Lohfink and Josh McKenzie for CASSANDRA-17868

Co-authored-by: Caleb Rackliffe <calebrackliffe@gmail.com>
Co-authored-by: Josh McKenzie <jmckenzie@apache.org>
2022-09-19 13:10:52 -04:00
Caleb Rackliffe 881b08f701 Merge branch 'cassandra-4.1' into trunk 2022-08-05 15:42:59 -05:00
Caleb Rackliffe 5e39c54678 Avoid initializing schema via SystemKeyspace.getPreferredIP() with the BulkLoader tool
patch by Caleb Rackliffe; reviewed by Jon Meredith for CASSANDRA-17740

Co-authored-by: Caleb Rackliffe <calebrackliffe@gmail.com>
Co-authored-by: Jon Meredith <jmeredithco@gmail.com>
2022-08-05 15:31:40 -05:00
Josh McKenzie 0371493772 Warn on unknown directories found in system keyspace directory rather than kill node during startup checks
Patch by Jeff Jirsa; reviewed by Josh McKenzie, Sam Tunnicliffe, and Marcus Eriksson for CASSANDRA-17777

Co-authored-by: Jeff Jirsa <jjirsa@apple.com>
Co-authored-by: Josh McKenzie <jmckenzie@apache.org>
2022-08-04 12:56:17 -04:00
jacek-lewandowski e966c45afc ByteComparable API
Provides an API for converting all values of types that can be used in
primary keys to byte sequences that can be compared lexicographically
by unsigned byte value (i.e. byte-comparable sequences) and back.

patch by Branimir Lambov, Dimitar Dimitrov and Jacek Lewandowski;
reviewed by Caleb Rackliffe, Dimitar Dimitrov, Jacek Lewandowski and Aleksey Yeschenko for CASSANDRA-6936
2022-06-29 14:24:07 +03:00
Branimir Lambov e4e19e33fa Add memtable API (CEP-11)
patch by Branimir Lambov; reviewed by Andrés de la Peña and Caleb Rackliffe for CASSANDRA-17034
2022-04-29 14:56:20 +03:00
Jacek Lewandowski 77d6bbf25a Save sstable id as string in activity table
patch by Jacek Lewandowski; reviewed by Andrés de la Peña and Ekaterina Dimitrova for CASSANDRA-17585
2022-04-29 12:37:01 +01:00
Stefan Miklosovic 2180a34bbb Revert "Add a system property to set hostId if not yet initialized"
This reverts commit 33ff36cc42.

patch by Stefan Miklosovic; reviewed by Brandon Williams and Sam Tunnicliffe for CASSANDRA-14582
2022-04-28 15:09:46 +02:00
Marcus Eriksson 545809616c Track top partitions by size and tombstone count
Patch by marcuse; reviewed by David Capwell and Yifan Cai for CASSANDRA-16310
2022-04-26 14:59:37 +02:00
Jacek Lewandowski 0040fea379 Implement sstable generation identifier as uuid
Patch by Jacek Lewandowski; reviewed by Andrés de la Peña, Benjamin Lerer and Dan Jatnieks for CASSANDRA-17048
2022-03-23 11:50:33 +00:00
Jacek Lewandowski 2b2c6decfa Refactor schema management to allow for schema source pluggability
Patch by Jacek Lewandowski, reviewed by Alex Petrov for CASSANDRA-17044.
2022-03-11 11:03:43 +01:00
Benedict Elliott Smith d2923275e3 CEP-14: Paxos Improvements
This work encompasses a range of improvements to Paxos, summarised as:

 - The introduction of Paxos Repair for ensuring consistency during range movements
 - The reduction of network round-trips by a factor of 2x for reads and writes

patch by Benedict Elliott Smith and Blake Eggleston; reviewed by Alex Petrov, Aleksey Yeschenko and Sam Tunnicliffe for CASSANDRA-17164
2022-03-10 16:30:12 +00:00
Benedict Elliott Smith 5a0d6154d1 [CASSANDRA-17176] Introduce TimeUUID
patch by Benedict; reviewed by Blake Eggleston for CASSANDRA-17176
2022-03-10 16:30:12 +00:00
Marcus Eriksson 60675cc275 Remove and ban use of Instant.now
Patch by marcuse; reviewed by Benedict Elliott Smith for CASSANDRA-17414
2022-03-09 10:57:50 +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
Benedict Elliott Smith 31bea0b0d4 [CEP-10] Cluster and Code Simulations: Minor fixes
- fix repair timeout
- fix secondary index flushing
- fix race condition with Ref
- fix resource leaks
- fix incorrect exists()
- fix repair error reporting when null exception message
- fix dtest use of System.nanoTime

patch by Benedict; reviewed by Sam Tunnicliffe for CASSANDRA-17008
2021-11-30 16:05:44 +00:00
Bereng 7d0cb2015d Merge branch 'cassandra-4.0' into trunk 2021-10-26 07:46:09 +02:00
Bereng 5aa2fb83e7 Merge branch 'cassandra-3.11' into cassandra-4.0 2021-10-26 07:39:22 +02:00
Chang Liu 243d220854 store FBUtilities.getJustBroadcastNativeAddress() in system.local for rpc_address column
patch by Chang Liu; reviewed by Alexei Zotov and Stefan Miklosovic for CASSANDRA-11181
2021-10-12 14:59:40 +02:00
Brandon Williams c4254663f5 Merge branch 'cassandra-4.0' into trunk 2021-10-11 12:08:17 -05:00
Brandon Williams e57a8ddbfa Merge branch 'cassandra-3.11' into cassandra-4.0 2021-10-11 12:06:57 -05:00
Brandon Williams 9d28bebde8 Merge branch 'cassandra-3.0' into cassandra-3.11 2021-10-11 12:02:44 -05:00
Brandon Williams 0e12b8d4fc Don't take snapshots when truncating system tables
Patch by brandonwilliams; reviewed by adelapena and blerer for CASSANDRA-16839
2021-10-11 12:00:31 -05:00
Benedict Elliott Smith aae7e8b07c [CASSANDRA-16928] CEP-10 Phase 1: InetAddressAndPort extends InetSocketAddress
patch by Benedict; reviewed by Sam Tunnicliffe, Caleb Rackliffe and Aleksei Zotov for CASSANDRA-16928
2021-10-07 14:29:04 +01:00
Benedict Elliott Smith 6a1d9de3d9 [CASSANDRA-16926] CEP-10 Phase 1: Mockable Filesystem
patch by Benedict; reviewed by Aleksey Yeschenko, Sam Tunnicliffe and Aleksei Zotov for CASSANDRA-16926

Co-authored-by: Benedict Elliott Smith <benedict@apache.org>
Co-authored-by: Aleksey Yeschenko  <aleksey@apache.org>
2021-10-07 14:28:00 +01:00
Benedict Elliott Smith be1f050bc8 [CASSANDRA-16925] CEP-10 Phase 1: Mockable Task Execution
Co-authored-by: Benedict Elliott Smith <benedict@apache.org>
Co-authored-by: Sam Tunnicliffe <samt@apache.org>
2021-10-07 14:27:52 +01:00
Benedict Elliott Smith e5b92e1088 [CASSANDRA-16924] CEP-10 Phase 1: Mockable Blocking Concurrency Primitives
patch by Benedict; reviewed by Sam Tunnicliffe and Aleksei Zotov for CASSANDRA-16924

Co-authored-by: Benedict Elliott Smith <benedict@apache.org>
Co-authored-by: Sam Tunnicliffe <samt@apache.org>
2021-10-07 14:27:44 +01:00
Benedict Elliott Smith 15a2fe00fc [CASSANDRA-16923] CEP-10 Phase 1: Mockable System Clock
Co-authored-by: Benedict Elliott Smith <benedict@apache.org>
Co-authored-by: Aleksey Yeschenko  <aleksey@apache.org>
Co-authored-by: Sam Tunnicliffe <samt@apache.org>
2021-09-29 19:38:34 +01:00
Stefan Miklosovic e86ae7fbe5 make creation timestamp consistent for all tables of a snapshot
patch by Stefan Miklosovic; reviewed by Paulo Motta and Aleksei Zotov for CASSANDRA-16920
2021-09-16 22:11:51 +02:00
Abi Palagashvili ad24942481 Add TTL support to nodetool snapshots
Patch by Abi Palagashvili; Reviewed by Paulo Motta and Stefan Miklosovic for CASSANDRA-16789

Co-authored-by: Paulo Motta <pauloricardomg@gmail.com>
Co-authored-by: Stefan Miklosovic <smiklosovic@apache.org>

Closes #1046
2021-08-26 14:57:58 -03: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
Benjamin Lerer c4fab930ca Merge branch cassandra-3.11 into cassandra-4.0 2021-05-06 11:45:47 +02:00
Benjamin Lerer d6ff4c4a35 Merge branch cassandra-3.0 into cassandra-3.11 2021-05-06 11:32:47 +02:00
jacek-lewandowski d84c6e9810 Prevent loss of commit log data when moving sstables between nodes
patch by Jakub Zytka and Jacek Lewandowski; reviewed by Branimir Lambov and Benjamin Lerer for CASSANDRA-16619

Add originating host ID to sstable metadata

- md, me sstables
- add missing test cases in MetadataSerializerTest

Co-authored-by: Jakub Zytka <jakub.zytka@datastax.com>
Co-authored-by: Jacek Lewandowski <jacek.lewandowski@datastax.com>
2021-05-05 16:41:01 +02:00
Andrés de la Peña d1f3d40afc Merge branch 'cassandra-3.11' into trunk 2021-03-01 12:48:32 +00: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
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
David Capwell 01103111ae
Fix clearing of legacy size_estimates
patch by David Capwell; reviewed by Eduard Tudenhöfner, Dinesh Joshi, Mick Semb Wever for CASSANDRA-15776
2020-05-14 09:33:07 +02:00