cassandra.git
11 months agoImprove TRUNCATE performance cassandra-3.0.15
Marcus Eriksson [Mon, 25 Sep 2017 12:44:37 +0000 (14:44 +0200)] 
Improve TRUNCATE performance

Patch by marcuse; reviewed by Stefania Alborghetti for CASSANDRA-13909

11 months agoFix up CHANGES.txt
Aleksey Yeschenko [Sat, 30 Sep 2017 09:44:47 +0000 (10:44 +0100)] 
Fix up CHANGES.txt

11 months agoImplement short read protection on partition boundaries
Aleksey Yeschenko [Thu, 21 Sep 2017 13:29:05 +0000 (14:29 +0100)] 
Implement short read protection on partition boundaries

patch by Aleksey Yeschenko; reviewed by Sam Tunnicliffe for
CASSANDRA-13595

11 months agoFix ISE thrown by UPI.Serializer.hasNext() for some SELECT queries
Aleksey Yeschenko [Thu, 28 Sep 2017 16:41:00 +0000 (17:41 +0100)] 
Fix ISE thrown by UPI.Serializer.hasNext() for some SELECT queries

patch by Aleksey Yeschenko; reviewed by Sam Tunnicliffe for
CASSANDRA-13911

11 months agoFilter header only commit logs before recovery
Blake Eggleston [Thu, 28 Sep 2017 22:01:35 +0000 (15:01 -0700)] 
Filter header only commit logs before recovery

Patch by Blake Eggleston; Reviewed by Sam Tunnicliffe for CASSANDRA-13918

11 months agoAssertionError prepending to a list
Jason Brown [Wed, 13 Sep 2017 00:05:13 +0000 (17:05 -0700)] 
AssertionError prepending to a list

patch by jasobrown, reviewed by Sam Tunnicliffe for CASSANDRA-13149

11 months agoFix support for SuperColumn tables
Alex Petrov [Thu, 13 Oct 2016 09:46:45 +0000 (11:46 +0200)] 
Fix support for SuperColumn tables

Patch by Alex Petrov; reviewed by Sylvain Lebresne for CASSANDRA-12373

11 months agoMerge branch 'cassandra-2.2' into cassandra-3.0
Alex Petrov [Mon, 25 Sep 2017 07:15:17 +0000 (09:15 +0200)] 
Merge branch 'cassandra-2.2' into cassandra-3.0

11 months agoAdd tests for SuperColumn tables cassandra-2.2.11
Alex Petrov [Thu, 13 Oct 2016 09:46:45 +0000 (11:46 +0200)] 
Add tests for SuperColumn tables

Patch by Alex Petrov; reviewed by Sylvain Lebresne for CASSANDRA-12373

11 months agoHandle limit correctly on tables with strict liveness
Zhao Yang [Tue, 19 Sep 2017 10:35:24 +0000 (18:35 +0800)] 
Handle limit correctly on tables with strict liveness

Patch by Zhao Yang; Reviewed by Paulo Motta for CASSANDRA-13883

11 months agoFix missing original update in TriggerExecutor
Zhao Yang [Fri, 22 Sep 2017 09:04:05 +0000 (17:04 +0800)] 
Fix missing original update in TriggerExecutor

Patch by Jason Stack; Reviewed by Paulo Motta for CASSANDRA-13894

12 months agoPass original command.isForThrift() to SRP extra rows commands
Aleksey Yeschenko [Thu, 21 Sep 2017 16:01:14 +0000 (17:01 +0100)] 
Pass original command.isForThrift() to SRP extra rows commands

ninja-patch by Aleksey Yeschenko; ninja-reviewed by Sam Tunnicliffe

12 months agoRemove non-rpc-ready nodes from counter leader candidates
Stefano Ortolani [Sun, 3 Sep 2017 15:48:36 +0000 (16:48 +0100)] 
Remove non-rpc-ready nodes from counter leader candidates

patch by Stefano Ortolani; reviewed by Aleksey Yeschenko for
CASSANDRA-13043

12 months agoFix short read protection performance
Aleksey Yeschenko [Thu, 31 Aug 2017 19:51:08 +0000 (20:51 +0100)] 
Fix short read protection performance

patch by Aleksey Yeschenko; reviewed by Benedict Elliott Smith for
CASSANDRA-13794

12 months agoMerge branch 'cassandra-2.2' into cassandra-3.0
Jason Brown [Wed, 20 Sep 2017 14:05:37 +0000 (07:05 -0700)] 
Merge branch 'cassandra-2.2' into cassandra-3.0

12 months agoMerge branch 'cassandra-2.1' into cassandra-2.2
Jason Brown [Wed, 20 Sep 2017 13:58:02 +0000 (06:58 -0700)] 
Merge branch 'cassandra-2.1' into cassandra-2.2

12 months agoAdd storage port options to sstableloader cassandra-2.1.19
Eduard Tudenhoefner [Tue, 5 Sep 2017 16:01:32 +0000 (09:01 -0700)] 
Add storage port options to sstableloader

patch by Eduard Tudenhoefner; reviewed by Alex Petrov for CASSANDRA-13844

12 months agoFix sstable reader to support range-tombstone-marker for multi-slices
Zhao Yang [Wed, 23 Aug 2017 08:15:25 +0000 (16:15 +0800)] 
Fix sstable reader to support range-tombstone-marker for multi-slices

patch by Zhao Yang; reviewed by Sylvain Lebresne for CASSANDRA-13787

12 months agoFix short read protection for tables with no clustering columns
Aleksey Yeschenko [Mon, 18 Sep 2017 13:01:19 +0000 (14:01 +0100)] 
Fix short read protection for tables with no clustering columns

patch by Aleksey Yeschenko; reviewed by Benedict Elliott Smith for
CASSANDRA-13880

12 months agoMake isBuilt volatile in PartitionUpdate
Marcus Eriksson [Thu, 14 Sep 2017 07:16:17 +0000 (09:16 +0200)] 
Make isBuilt volatile in PartitionUpdate

Patch by marcuse; reviewed by Aleksey Yeschenko for CASSANDRA-13619

12 months agoPrevent integer overflow of timestamps in CellTest and RowsTest
Joel Knighton [Wed, 13 Sep 2017 23:35:10 +0000 (18:35 -0500)] 
Prevent integer overflow of timestamps in CellTest and RowsTest

patch by Joel Knighton; reviewed by Jeff Jirsa for CASSANDRA-13866

12 months agoFix counter application order in short read protection
Aleksey Yeschenko [Thu, 14 Sep 2017 15:06:14 +0000 (16:06 +0100)] 
Fix counter application order in short read protection

patch by Aleksey Yeschenko; reviewed by Benedict Elliott Smith for
CASSANDRA-12872

12 months agoMerge branch 'cassandra-2.2' into cassandra-3.0
Sam Tunnicliffe [Fri, 15 Sep 2017 10:54:39 +0000 (11:54 +0100)] 
Merge branch 'cassandra-2.2' into cassandra-3.0

12 months agoSafely handle empty buffers when outputting to JSON
Jason Brown [Thu, 14 Sep 2017 17:49:57 +0000 (10:49 -0700)] 
Safely handle empty buffers when outputting to JSON

patch by jasobrown, reviewed by Sam Tunnicliffe for CASSANDRA-13868

12 months agoDon't block RepairJob execution on validation futures
Blake Eggleston [Thu, 24 Aug 2017 22:16:37 +0000 (15:16 -0700)] 
Don't block RepairJob execution on validation futures

Patch by Blake Eggleston; reviewed by Marcus Eriksson for CASSANDRA-13797

12 months agoCopy session properties on cqlsh.py do_login
Andrés de la Peña [Wed, 13 Sep 2017 16:58:26 +0000 (17:58 +0100)] 
Copy session properties on cqlsh.py do_login

patch by Andres de la Peña; reviewed by Zhao Yang for CASSANDRA-13847

12 months agoWait for all management tasks to complete before shutting down CLSM
Jan Urbański [Sat, 14 Jan 2017 20:26:52 +0000 (21:26 +0100)] 
Wait for all management tasks to complete before shutting down CLSM

patch by  Jan Urbański; reviewed by jasobrown for CASSANDRA-13123

12 months agoIgnore large IndexSummaryTest tests on Circle CI
Stefania Alborghetti [Wed, 13 Sep 2017 02:23:48 +0000 (10:23 +0800)] 
Ignore large IndexSummaryTest tests on Circle CI

patch by Stefania Alborghetti; reviewed by marcuse for CASSANDRA-12014 (follow up)

12 months agoINSERT statement fails when Tuple type is used as clustering column with default...
Stavros Kontopoulos [Thu, 10 Aug 2017 01:23:26 +0000 (04:23 +0300)] 
INSERT statement fails when Tuple type is used as clustering column with default DESC order

patch by Stavros Kontopoulos, reviewed by jasobrown for CASSANDRA-13717

12 months agoImprove config validation and documentation on overflow and NPE
Zhao Yang [Tue, 12 Sep 2017 13:31:07 +0000 (14:31 +0100)] 
Improve config validation and documentation on overflow and NPE

patch by Zhao Yang; reviewed by Kurt Greaves for CASSANDRA-13622

12 months agoFix pending view mutations handling and cleanup batchlog when there are local and...
Paulo Motta [Wed, 21 Dec 2016 22:19:21 +0000 (20:19 -0200)] 
Fix pending view mutations handling and cleanup batchlog when there are local and remote paired mutations

Patch by Paulo Motta; Reviewed by Sylvain Lebresne for CASSANDRA-13069

12 months agoMerge branch 'cassandra-2.2' into cassandra-3.0
Michael Shuler [Mon, 11 Sep 2017 21:53:32 +0000 (16:53 -0500)] 
Merge branch 'cassandra-2.2' into cassandra-3.0

12 months agoMerge branch 'cassandra-2.1' into cassandra-2.2
Michael Shuler [Mon, 11 Sep 2017 21:53:21 +0000 (16:53 -0500)] 
Merge branch 'cassandra-2.1' into cassandra-2.2

12 months agoAdd 2.1.19 release to debian/changelog
Michael Shuler [Mon, 11 Sep 2017 21:53:06 +0000 (16:53 -0500)] 
Add 2.1.19 release to debian/changelog

12 months agoRange deletes in a CAS batch are ignored
Jeff Jirsa [Mon, 11 Sep 2017 16:35:01 +0000 (09:35 -0700)] 
Range deletes in a CAS batch are ignored

Patch by Jeff Jirsa; Reviewed by Jay Zhuang, Sylvain Lebresne for CASSANDRA-13655

12 months agoAvoid assertion error when IndexSummary > 2G
Stefania Alborghetti [Fri, 8 Sep 2017 01:33:20 +0000 (09:33 +0800)] 
Avoid assertion error when IndexSummary > 2G

patch by Stefania Alborghetti; reviewed by krummas for CASSANDRA-12014

12 months agoMerge branch 'cassandra-2.2' into cassandra-3.0
Stefan Podkowinski [Thu, 7 Sep 2017 08:20:40 +0000 (10:20 +0200)] 
Merge branch 'cassandra-2.2' into cassandra-3.0

12 months agoMerge branch 'cassandra-2.1' into cassandra-2.2
Stefan Podkowinski [Thu, 7 Sep 2017 08:18:21 +0000 (10:18 +0200)] 
Merge branch 'cassandra-2.1' into cassandra-2.2

12 months agoRPM: Change owner to root except for /var
sasayabaku [Tue, 29 Aug 2017 05:20:52 +0000 (14:20 +0900)] 
RPM: Change owner to root except for /var

Closes #144
Patch by Sasatani Takenobu; reviewed by Stefan Podkowinski for CASSANDRA-13782

12 months agoChange repair midpoint logging for tiny ranges
Jeff Jirsa [Tue, 5 Sep 2017 18:57:58 +0000 (11:57 -0700)] 
Change repair midpoint logging for tiny ranges

Patch by Jeff Jirsa; Reviewed by Blake Eggleston for CASSANDRA-13603

12 months agoOn log replay, the last segment header may be truncated (or null). We should tolerate...
Jeff Jirsa [Fri, 17 Mar 2017 20:54:03 +0000 (13:54 -0700)] 
On log replay, the last segment header may be truncated (or null). We should tolerate failure to read the header the same way we tolerate truncation of any of the rest of the final segment

Patch by Jeff Jirsa; Reviewed by Branimir Lambov for CASSANDRA-11995

12 months agoStreamingHistogram is not thread safe
Jeff Jirsa [Tue, 29 Aug 2017 17:31:16 +0000 (10:31 -0700)] 
StreamingHistogram is not thread safe

Patch by Jeff Jirsa; Reviewed by Jason Brown, Marcus Eriksson  for CASSANDRA-13756

12 months agoFix ComplexColumnData hashCode implementation
Stefan Podkowinski [Fri, 24 Feb 2017 11:52:17 +0000 (12:52 +0100)] 
Fix ComplexColumnData hashCode implementation

patch by Stefan Podkowinski; reviewed by Sylvain Lebresne for CASSANDRA-13263

12 months agoMerge branch 'cassandra-2.2' into cassandra-3.0
Marcus Eriksson [Tue, 5 Sep 2017 08:38:39 +0000 (10:38 +0200)] 
Merge branch 'cassandra-2.2' into cassandra-3.0

12 months agoFix load over calculated issue in IndexSummaryRedistribution
Jay Zhuang [Thu, 3 Aug 2017 04:44:39 +0000 (21:44 -0700)] 
Fix load over calculated issue in IndexSummaryRedistribution

patch by Jay Zhuang; reviewed by Marcus Eriksson for CASSANDRA-13738

12 months agoninja: Add CASSANDRA-11500 CHANGES.txt
Paulo Motta [Tue, 5 Sep 2017 07:29:31 +0000 (02:29 -0500)] 
ninja: Add CASSANDRA-11500 CHANGES.txt

12 months agoFix outstanding MV timestamp issues and add documentation about unsupported cases...
Zhao Yang [Wed, 12 Jul 2017 09:49:38 +0000 (17:49 +0800)] 
Fix outstanding MV timestamp issues and add documentation about unsupported cases (see CASSANDRA-11500 for a summary of fixes)

This patch introduces the following changes to fix MV timestamp issues:
 - Add strict liveness for view with non-key base column in pk
 - Deprecated shadowable tombstone and use expired livenessInfo instead
 - Include partition deletion for existing base row
 - Disallow dropping base column with MV

Patch by Zhao Yang and Paulo Motta; reviewed by Paulo Motta for CASSANDRA-11500

12 months agoMerge branch 'cassandra-2.2' into cassandra-3.0
Marcus Eriksson [Mon, 4 Sep 2017 13:02:53 +0000 (15:02 +0200)] 
Merge branch 'cassandra-2.2' into cassandra-3.0

12 months agoFix compaction and flush exception not captured issue
Jay Zhuang [Thu, 31 Aug 2017 18:07:07 +0000 (11:07 -0700)] 
Fix compaction and flush exception not captured issue

patch by Jay Zhuang; reviewed by marcuse for CASSANDRA-13833

12 months agoMerge branch 'cassandra-2.2' into cassandra-3.0
Aleksey Yeschenko [Thu, 31 Aug 2017 13:46:30 +0000 (14:46 +0100)] 
Merge branch 'cassandra-2.2' into cassandra-3.0

12 months agoMerge branch 'cassandra-2.1' into cassandra-2.2
Aleksey Yeschenko [Thu, 31 Aug 2017 13:45:49 +0000 (14:45 +0100)] 
Merge branch 'cassandra-2.1' into cassandra-2.2

12 months agoFix hanging HintedHandOffTest on MacOS
Aleksey Yeschenko [Thu, 31 Aug 2017 13:41:03 +0000 (14:41 +0100)] 
Fix hanging HintedHandOffTest on MacOS

InetAddress.getLocalHost() hangs the test on MacOS; replaced it with
InetAddress.getByName() - the test passes now, which saves us about 4
minutes of runtime on MacOS.

12 months agoBetter tolerate improperly formatted bcrypt hashes
Jeff Jirsa [Tue, 29 Aug 2017 22:21:08 +0000 (15:21 -0700)] 
Better tolerate improperly formatted bcrypt hashes

Patch by Jeff Jirsa; Reviewed by Sam Tunnicliffe for CASSANDRA-13626

12 months agoRemove unnecessary ReadCommand.index() method (follow-up to
Aleksey Yeschenko [Wed, 30 Aug 2017 17:00:38 +0000 (18:00 +0100)] 
Remove unnecessary ReadCommand.index() method (follow-up to
CASSANDRA-13363)

12 months agoFix race condition in read command serialization
Aleksey Yeschenko [Mon, 14 Aug 2017 15:43:06 +0000 (16:43 +0100)] 
Fix race condition in read command serialization

patch by Aleksey Yeschenko; reviewed by Sam Tunnicliffe for
CASSANDRA-13363

12 months agoenable segement creation before recovering commitlogs
Jaydeepkumar Chovatia [Fri, 9 Jun 2017 23:08:32 +0000 (16:08 -0700)] 
enable segement creation before recovering commitlogs

patch by Jaydeepkumar Chovatia, reviewed by jasobrown for CASSANDRA-13587

12 months agoMerge branch 'cassandra-2.2' into cassandra-3.0
Marcus Eriksson [Wed, 30 Aug 2017 11:36:48 +0000 (13:36 +0200)] 
Merge branch 'cassandra-2.2' into cassandra-3.0

12 months agoMerge branch 'cassandra-2.1' into cassandra-2.2
Marcus Eriksson [Wed, 30 Aug 2017 11:36:03 +0000 (13:36 +0200)] 
Merge branch 'cassandra-2.1' into cassandra-2.2

12 months agoOnly collect test xml where it exists
Marcus Eriksson [Wed, 30 Aug 2017 11:34:52 +0000 (13:34 +0200)] 
Only collect test xml where it exists

Patch by marcuse; reviewed by Eduard Tudenhoefner for CASSANDRA-13807

12 months agoSelectTest.testMixedTTLOnColumnsWide is flaky
Jeff Jirsa [Tue, 29 Aug 2017 19:43:38 +0000 (12:43 -0700)] 
SelectTest.testMixedTTLOnColumnsWide is flaky

Patch by Jeff Jirsa; Reviewed by Joel Knighton for CASSANDRA-13764

12 months agoMerge branch 'cassandra-2.2' into cassandra-3.0
Jason Brown [Tue, 29 Aug 2017 15:28:09 +0000 (08:28 -0700)] 
Merge branch 'cassandra-2.2' into cassandra-3.0

12 months agoMerge branch 'cassandra-2.1' into cassandra-2.2
Jason Brown [Tue, 29 Aug 2017 14:58:38 +0000 (07:58 -0700)] 
Merge branch 'cassandra-2.1' into cassandra-2.2

12 months agofollowup to CASSANDRA-13700; minor cleanup
Jason Brown [Tue, 29 Aug 2017 14:52:40 +0000 (07:52 -0700)] 
followup to CASSANDRA-13700; minor cleanup

Patch by jasobrown; reviewed by Joel Knighton for CASSANDRA-13700

12 months agoFix AssertionError in short read protection
Aleksey Yeschenko [Sun, 6 Aug 2017 18:42:47 +0000 (19:42 +0100)] 
Fix AssertionError in short read protection

patch by Aleksey Yeschenko; reviewed by Benedict Elliott Smith for
CASSANDRA-13747

12 months agoDont throw IOExceptions in when opening sstables
Marcus Eriksson [Mon, 19 Jun 2017 13:22:57 +0000 (15:22 +0200)] 
Dont throw IOExceptions in when opening sstables

Patch by marcuse; reviewed by Ariel Weisberg for CASSANDRA-13620

12 months agoMerge branch 'cassandra-2.2' into cassandra-3.0
Aleksey Yeschenko [Sat, 26 Aug 2017 00:25:39 +0000 (01:25 +0100)] 
Merge branch 'cassandra-2.2' into cassandra-3.0

12 months agoMake BatchlogManagerMBean.forceBatchlogReplay() blocking
Aleksey Yeschenko [Fri, 25 Aug 2017 16:30:49 +0000 (17:30 +0100)] 
Make BatchlogManagerMBean.forceBatchlogReplay() blocking

patch by Aleksey Yeschenko; reviewed by Jeff Jirsa for CASSANDRA-13809

12 months agoFix the merging of cells with different user type versions
Benjamin Lerer [Thu, 24 Aug 2017 16:19:28 +0000 (18:19 +0200)] 
Fix the merging of cells with different user type versions

patch by Benjamin Lerer; reviewed by Robert Stupp  for CASSANDRA-13776

12 months agoCopy session properties on cqlsh.py do_login
Andrés de la Peña [Thu, 24 Aug 2017 15:56:12 +0000 (16:56 +0100)] 
Copy session properties on cqlsh.py do_login

patch by Andres de la Peña; reviewed by Zhao Yang for CASSANDRA-13640

12 months agoPotential AssertionError during ReadRepair of range tombstone and partition deletions
Sylvain Lebresne [Fri, 21 Jul 2017 14:58:53 +0000 (16:58 +0200)] 
Potential AssertionError during ReadRepair of range tombstone and partition deletions

patch by Sylvain Lebresne; reviewed by Branimir Lambov for CASSANDRA-13719

13 months agoDon't let stress write warmup data if n=0
Eduard Tudenhoefner [Mon, 21 Aug 2017 03:11:00 +0000 (11:11 +0800)] 
Don't let stress write warmup data if n=0

patch by Eduard Tudenhoefner; reviewed by Stefania Alborghetti for CASSANDRA-13773

13 months agoGossip thread slows down when using batch commit log
Jason Brown [Mon, 28 Nov 2016 23:22:14 +0000 (15:22 -0800)] 
Gossip thread slows down when using batch commit log

patch by jasobrown; reviwed by spodkowinski fot CASSANDRA-12966

13 months agoMerge branch 'cassandra-2.2' into cassandra-3.0
Jason Brown [Mon, 21 Aug 2017 22:33:19 +0000 (15:33 -0700)] 
Merge branch 'cassandra-2.2' into cassandra-3.0

13 months agoUncaught exceptions in Netty pipeline
Norman Maurer [Fri, 18 Aug 2017 08:32:39 +0000 (10:32 +0200)] 
Uncaught exceptions in Netty pipeline

patch by norman maurer; reviewed by jasobrown for CASSANDRA-13649

13 months agoMerge branch 'cassandra-2.2' into cassandra-3.0
Marcus Eriksson [Fri, 18 Aug 2017 17:18:57 +0000 (19:18 +0200)] 
Merge branch 'cassandra-2.2' into cassandra-3.0

13 months agoMerge branch 'cassandra-2.1' into cassandra-2.2
Marcus Eriksson [Fri, 18 Aug 2017 17:16:56 +0000 (19:16 +0200)] 
Merge branch 'cassandra-2.1' into cassandra-2.2

13 months agoCASSANDRA-13775 followup - use 4 containers still
Marcus Eriksson [Fri, 18 Aug 2017 13:10:28 +0000 (15:10 +0200)] 
CASSANDRA-13775 followup - use 4 containers still

Patch by marcuse; reviewed by Eduard Tudenhoefner for CASSANDRA-13775

13 months agoMerge branch 'cassandra-2.2' into cassandra-3.0
Michael Shuler [Thu, 17 Aug 2017 19:27:03 +0000 (14:27 -0500)] 
Merge branch 'cassandra-2.2' into cassandra-3.0

13 months agoMerge branch 'cassandra-2.1' into cassandra-2.2
Michael Shuler [Thu, 17 Aug 2017 19:24:09 +0000 (14:24 -0500)] 
Merge branch 'cassandra-2.1' into cassandra-2.2

13 months agoCASSANDRA-13775: Remove stress-test target in CircleCI as it's not existing
Eduard Tudenhoefner [Thu, 17 Aug 2017 18:49:50 +0000 (11:49 -0700)] 
CASSANDRA-13775: Remove stress-test target in CircleCI as it's not existing

13 months agoRandomize batchlog endpoint selection with only 1 or 2 racks
dcranford [Wed, 9 Aug 2017 14:20:03 +0000 (10:20 -0400)] 
Randomize batchlog endpoint selection with only 1 or 2 racks

patch by Daniel Cranford; reviewed by Aleksey Yeschenko for
CASSANDRA-12884

13 months agosstabledump reports incorrect usage for argument order
Jeff Jirsa [Fri, 11 Aug 2017 01:11:56 +0000 (18:11 -0700)] 
sstabledump reports incorrect usage for argument order

Patch by Varun Barala; Reviewed by ZhaoYang for CASSANDRA-13532

13 months agoFix digest calculation for counter cells
Blake Eggleston [Tue, 8 Aug 2017 20:45:41 +0000 (13:45 -0700)] 
Fix digest calculation for counter cells

Patch by Blake Eggleston; reviewed by Aleksey Yeschenko for CASSANDRA-13750

13 months agoMerge branch cassandra-2.2 into cassandra-3.0
Benjamin Lerer [Tue, 8 Aug 2017 14:55:26 +0000 (16:55 +0200)] 
Merge branch cassandra-2.2 into cassandra-3.0

13 months agoPrevent integer overflow on exabyte filesystems
Benjamin Lerer [Tue, 8 Aug 2017 14:51:03 +0000 (16:51 +0200)] 
Prevent integer overflow on exabyte filesystems

patch by Matt Wringe and Benjamin Lerer; reviewed by Alex Petrov for CASSANDRA-13067

13 months agoFix ColumnMetadata.cellValueType() return type and change sstabledump tool to use...
Zhao Yang [Wed, 2 Aug 2017 03:58:38 +0000 (11:58 +0800)] 
Fix ColumnMetadata.cellValueType() return type and change sstabledump tool to use type.toJsonString()

patch by Zhao Yang, reviewed by Andres de la Peña for CASSANDRA-13573

13 months agoSkip materialized view addition if the base table doesn't exist
Andrés de la Peña [Mon, 7 Aug 2017 19:26:09 +0000 (20:26 +0100)] 
Skip materialized view addition if the base table doesn't exist

patch by Andres de la Peña; reviewed by Jake Luciani for CASSANDRA-13737

13 months agoDrop table should remove corresponding entries in dropped_columns table
Zhao Yang [Sun, 30 Jul 2017 04:24:46 +0000 (12:24 +0800)] 
Drop table should remove corresponding entries in dropped_columns table

patch by Zhao Yang; reviewed by Aleksey Yeschenko for CASSANDRA-13730

13 months agoLog warn message until legacy auth tables have been migrated
Stefan Podkowinski [Mon, 31 Jul 2017 12:15:51 +0000 (14:15 +0200)] 
Log warn message until legacy auth tables have been migrated

patch by S. Podkowinski and R. Stupp; reviewed by Robert Stupp for CASSANDRA-13371

13 months agoFix regression introduced by CASSANDRA-11223 for counting rows in static compact...
Stefania Alborghetti [Thu, 20 Jul 2017 09:03:29 +0000 (17:03 +0800)] 
Fix regression introduced by CASSANDRA-11223 for counting rows in static compact tables

patch by Stefania Alborghetti; reviewed by Benjamin Lerer for CASSANDRA-11223

13 months agoFix incorrect [2.1 <- 3.0] serialization of counter cells created in 2.0
Aleksey Yeschenko [Thu, 13 Jul 2017 21:47:18 +0000 (14:47 -0700)] 
Fix incorrect [2.1 <- 3.0] serialization of counter cells created in 2.0

Also fixes calculation of legacy counter update cells' serialized size.

patch by Aleksey Yeschenko; reviewed by Sylvain Lebresne for CASSANDRA-13691

13 months agoInvalid writetime for null columns in cqlsh
Jeff Jirsa [Thu, 27 Jul 2017 18:40:52 +0000 (11:40 -0700)] 
Invalid writetime for null columns in cqlsh

Patch by Jeff Jirsa; Reviewed by Aleksey Yeschenko for CASSANDRA-13711

13 months agoNinja: log FD ignored interval time message with trace and not debug level
Paulo Motta [Fri, 28 Jul 2017 20:13:44 +0000 (15:13 -0500)] 
Ninja: log FD ignored interval time message with trace and not debug level

13 months agoFix ALTER TABLE statement to atomically propagate changes to the table and its MVs
Andrés de la Peña [Thu, 27 Jul 2017 09:58:35 +0000 (10:58 +0100)] 
Fix ALTER TABLE statement to atomically propagate changes to the table and its MVs

patch by Andres de la Peña; reviewed by Zhao Yang for CASSANDRA-12952

13 months agoFix Digest mismatch Exception if hints file has UnknownColumnFamily
Jeff Jirsa [Wed, 26 Jul 2017 23:56:11 +0000 (16:56 -0700)] 
Fix Digest mismatch Exception if hints file has UnknownColumnFamily

Patch by Jay Zhuang; Reviewed by Jeff Jirsa for CASSANDRA-13696

13 months agoMerge branch 'cassandra-2.2' into cassandra-3.0
Joel Knighton [Mon, 24 Jul 2017 19:52:21 +0000 (14:52 -0500)] 
Merge branch 'cassandra-2.2' into cassandra-3.0

13 months agoMerge branch 'cassandra-2.1' into cassandra-2.2
Joel Knighton [Mon, 24 Jul 2017 19:47:01 +0000 (14:47 -0500)] 
Merge branch 'cassandra-2.1' into cassandra-2.2

13 months agoClone HeartBeatState when building gossip messages. Make its generation/version volatile.
Joel Knighton [Thu, 20 Jul 2017 16:08:08 +0000 (11:08 -0500)] 
Clone HeartBeatState when building gossip messages. Make its generation/version volatile.

Patch by Joel Knighton; reviewed by Jason Brown for CASSANDRA-13700

13 months agoMerge branch 'cassandra-2.2' into cassandra-3.0
Joel Knighton [Mon, 24 Jul 2017 18:24:31 +0000 (13:24 -0500)] 
Merge branch 'cassandra-2.2' into cassandra-3.0

13 months agoMerge branch 'cassandra-2.1' into cassandra-2.2
Joel Knighton [Mon, 24 Jul 2017 18:24:03 +0000 (13:24 -0500)] 
Merge branch 'cassandra-2.1' into cassandra-2.2