Commit Graph

3478 Commits

Author SHA1 Message Date
Jason Brown 37160e109e Add transparent data encryption core classes
patch by jasobrown, reviewed by snazy for CASSANDRA-9945
2015-08-01 07:14:04 -07:00
Aleksey Yeschenko 0a08525ad2 Revert "Revert "Stop accessing the partitioner directly via StorageService""
This reverts commit a22ce89e86.
2015-08-01 01:33:51 +03:00
Robert Stupp 1774eb9a86 Bytecode inspection for Java-UDFs
patch by Robert Stupp; reviewed by T Jake Luciani for CASSANDRA-9890
2015-07-31 20:36:23 +02:00
Jonathan Ellis a22ce89e86 Revert "Stop accessing the partitioner directly via StorageService"
This reverts commit 69f77cbddd.
2015-07-31 12:24:52 -05:00
Branimir Lambov 69f77cbddd Stop accessing the partitioner directly via StorageService
Changes the way the partitioner is accessed. Partitioner is now stored
and accessed according to the reason for needing it:
* if it is to access a table / prepare a statement, the partitioner
relevant to this table can be found in its CFMetaData.
* if it is to route messages to the relevant member of the cluster, the
partitioner in TokenMetadata is to be used.

patch by Branimir Lambov; reviewed by Aleksey Yeschenko for
CASSANDRA-8143
2015-07-31 14:42:47 +03:00
Yuki Morishita df3b6027bc ScrubTest should generate out-of-order SSTable on the fly
with some other ScrubTest fixes.

patch by yukim; reviewed by Stefania Alborghetti for CASSANDRA-9880
2015-07-30 10:09:07 -05:00
T Jake Luciani 3c43775c75 Revert "Revert "Materialized Views""
This reverts commit 24d185d72b.
2015-07-29 18:29:32 -04:00
Jonathan Ellis 24d185d72b Revert "Materialized Views"
This reverts commit 3bdcaa336a.
2015-07-29 17:03:52 -05:00
Carl Yeksigian 3bdcaa336a Materialized Views
patch by carl; reviewed by jmckenzie for CASSANDRA-6477
2015-07-29 16:15:53 -04:00
Branimir Lambov 5f4cc45cdb Add upgrade tests for lz4 and snappy compressed 2.2 commit logs
patch by Branimir Lambov; reviewed by Aleksey Yeschenko for
CASSANDRA-9790
2015-07-29 20:25:48 +03:00
Branimir Lambov fb34b79504 Fix CommitLogUpgradeTest
filter hashed/counted rows to only the ones containing the required data.

patch by Branimir Lambov; reviewed by Aleksey Yeschenko for
CASSANDRA-9790
2015-07-29 20:23:41 +03:00
Ariel Weisberg eca7cbb2e2 Fix AntiCompactionTest.antiCompactionSizeTest
relax AntiCompactionTest.antiCompactionSizeTest so the sizes don't have to be
as close, but also verify that the row count doesn't change.

patch by Ariel Weisberg; reviewed by Aleksey Yeschenko
2015-07-29 20:07:57 +03:00
Stefania Alborghetti 6422e34769 Reduce IOP cost for small reads
Makes default buffer size for (uncompressed) buffered reads smaller,
based on the expected partition size

patch by stefania; reviewed by benedict for CASSANDRA-8894
2015-07-28 15:31:13 +01:00
Benedict Elliott Smith 639d4b240c Use BTree to back default Row and ComplexColumnData objects
patch by benedict; reviewed by branimir for CASSANDRA-9888
2015-07-28 15:00:27 +01:00
Benedict Elliott Smith ad8cad7c4d Make choice of SSTableReader types explicit
All accessors of a collection of SSTableReader must now
specify whether they desire the LIVE or CANONICAL set, so
that no internal clients are accidentally exposed to a partial
sstable they are not capable of safely handling.

patch by benedict; reviewed by marcus for CASSANDRA-9699
2015-07-28 10:28:31 +01:00
Brandon Williams 76480b345a Merge branch 'cassandra-2.2' into trunk 2015-07-24 15:51:29 -05:00
Brandon Williams 6f0c7d9f45 Log when messages are dropped due to cross_node_timeout (CASSANDRA-9793)
Patch by Stefania, reviewed by brandonwilliams for CASSANDRA-9793
2015-07-24 15:46:03 -05:00
Stefania Alborghetti b09e60f72b Introduce safer durable sstable membership management
(and simplify cleanup of compaction leftovers)

Instead of using temporary files and system tables,
this patch introduces a simple transaction log for sstable
membership edits that can be committed/aborted atomically
and simply replayed on startup.

patch by stefania; reviewed by benedict for CASSANDRA-7066
2015-07-24 14:41:51 +01:00
Sylvain Lebresne e338d2fa8b Fix flapping RangeTombstoneListTest
patch by slebresne; reviewed by JoshuaMcKenzie for CASSANDRA-9799
2015-07-24 15:08:16 +02:00
Sylvain Lebresne c055ab997e Minor improvements to RowStats
patch by slebresne; reviewed by JoshuaMcKenzie for CASSANDRA-9828
2015-07-24 14:59:57 +02:00
Sylvain Lebresne 8a9796902b Don't serialize CFMetaData in readResponse
patch by slebresne; reviewed by JoshuaMcKenzie for CASSANDRA-9847
2015-07-24 14:38:42 +02:00
Robert Stupp 5790b4a44b Implement proper sandboxing for UDFs
patch by Robert Stupp; reviewed by T Jake Luciani for CASSANDRA-9402
2015-07-24 11:37:26 +02:00
Stefania Alborghetti eae3b02649 Reverted partitionCache metric names to rowCache, CASSANDRA-9448 2015-07-23 17:34:35 -05:00
Benedict Elliott Smith 5786b3204d Serialize ClusteringPrefix in microbatches, using vint encoding
patch by benedict; reviewed by sylvain for CASSANDRA-9708
2015-07-23 23:26:24 +01:00
Ariel Weisberg c4c9eaeb13 Fix NIODataInputStream varint decoding and EOF behavior
patch by ariel; reviewed by benedict for CASSANDRA-9863
2015-07-23 23:23:16 +01:00
Sylvain Lebresne 15265689f5 Upgrade CommitLogUpgradeTest post-8099 2015-07-23 17:56:21 +02:00
Aleksey Yeschenko 2d55c1e846 Fix migration of pk-only compact storage tables
patch by Aleksey Yeschenko; reviewed by Sylvain Lebresne for
CASSANDRA-9874
2015-07-23 18:44:47 +03:00
Yuki Morishita d9dfbddbee Merge branch 'cassandra-2.2' into trunk 2015-07-23 10:27:43 -05:00
Yuki Morishita 51ff499754 Merge branch 'cassandra-2.1' into cassandra-2.2 2015-07-23 10:25:48 -05:00
Yuki Morishita 1c80b04be1 Use random nodes for batch log when only 2 racks
patch by Mihai Suteu and yukim; reviewed by Jeremiah Jordan for CASSANDRA-8735
2015-07-23 10:24:23 -05:00
Joshua McKenzie c912668782 Merge branch 'cassandra-2.2' into trunk
Conflicts:
	test/unit/org/apache/cassandra/db/ColumnFamilyStoreTest.java
2015-07-23 11:13:20 -04:00
Joshua McKenzie 1657639035 Skip testClearEphemeralSnapshots() on Windows
Patch by jmckenzie; reviewed by tjake for CASSANDRA-9869
2015-07-23 11:12:28 -04:00
Aleksey Yeschenko c0400b312b Fix dropping static compact columns via Thrift
patch by Aleksey Yeschenko; reviewed by Sylvain Lebresne for
CASSANDRA-9867
2015-07-23 12:16:07 +03:00
Sylvain Lebresne 2b0a8f6bda Fix flapping PartitionTest
patch by slebresne; reviewed by snazy for CASSANDRA-9731
2015-07-23 09:00:38 +02:00
Ariel Weisberg 00ed8017fd Improve log output from unit tests
(follow-up to c8d3cc1493)

patch by Ariel Weisberg; reviewed by Robert Stupp for CASSANDRA-9528
2015-07-22 19:46:47 +02:00
Sylvain Lebresne 2457599427 Simplify some 8099's implementations
patch by slebresne; reviewed by iamalesky for CASSANDRA-9705
2015-07-22 18:05:09 +02:00
Yuki Morishita 9ae7126d30 Merge branch 'cassandra-2.2' into trunk 2015-07-21 23:18:59 -05:00
Yuki Morishita fb4656f615 Merge branch 'cassandra-2.1' into cassandra-2.2 2015-07-21 22:57:35 -05:00
Paulo Motta b70f7ea0ce Remove repair snapshot leftover on startup
patch by Paulo Motta; reviewed by yukim for CASSANDRA-7357
2015-07-21 22:11:37 -05:00
T Jake Luciani 77a6090b24 fix bug from 6717 and 9650
patch by tjake; reviewed by yukim for CASSANDRA-9787
2015-07-21 12:08:42 -04:00
Aleksey Yeschenko fa7103ffdd Fix ALTER TABLE ADD validation for frozen collections
patch by Aleksey Yeschenko; reviewed by Tyler Hobbs for CASSANDRA-9816
2015-07-18 01:04:02 +03:00
Aleksey Yeschenko 1b5fa8ce3c Fix and move dropped columns info to a separate schema table
patch by Aleksey Yeschenko; reviewed by Tyler Hobbs for CASSANDRA-6717
2015-07-18 00:52:40 +03:00
Aleksey Yeschenko dc8523819f Modernize system_schema.tables table
patch by Aleksey Yeschenko; reviewed by Tyler Hobbs and Robert Stupp for
CASSANDRA-6717
2015-07-18 00:14:08 +03:00
Aleksey Yeschenko 8d7c608bac Rename ColumnDefinition.Kind.CLUSTERING_COLUMN to CLUSTERING
patch by Aleksey Yeschenko; reviewed by Tyler Hobbs for CASSANDRA-6717
2015-07-17 23:17:18 +03:00
blerer 689582c044 Merge 'cassandra-2.2' into trunk
Conflicts:
	test/unit/org/apache/cassandra/cql3/validation/operations/AggregationTest.java
2015-07-16 23:02:47 +02:00
blerer 2b99b5d354 Allow the selection of columns together with aggregates
Patch by Benjamin Lerer; reviewed by Robert Stupp for
CASSANDRA-9767
2015-07-16 22:51:40 +02:00
Stefania Alborghetti 0bd5170c4f Metrics should use up to date nomenclature
patch by Stefania Alborghetti; reviewed by yukim for CASSANDRA-9448
2015-07-16 13:47:50 -05:00
Sylvain Lebresne 4feaa7a3db Merge branch 'cassandra-2.2' into trunk
Conflicts:
	test/unit/org/apache/cassandra/locator/DynamicEndpointSnitchTest.java
2015-07-16 15:29:02 +02:00
Sylvain Lebresne d97fc9b77f Merge branch 'cassandra-2.1' into cassandra-2.2
Conflicts:
	test/unit/org/apache/cassandra/locator/DynamicEndpointSnitchTest.java
2015-07-16 15:26:17 +02:00
Sylvain Lebresne 4fcd7d4d36 Move CASSANDRA-9519 test in long tests (and reduce the size of the list used) 2015-07-16 15:21:26 +02:00