Commit Graph

42 Commits

Author SHA1 Message Date
Joshua McKenzie d4df271f75 Add 'die' policy for commit log and disk failure
patch by John Sumsion and Josh McKenzie, reviewed by blerer for CASSANDRA-7927
2014-10-24 12:27:20 -05:00
Jake Luciani c7834d3dab Merge 2.0 2014-08-12 10:00:28 -04:00
Jake Luciani 18ce8c72a3 Merge branch 'cassandra-2.0' into cassandra-2.1.0
Conflicts:
	CHANGES.txt
	src/java/org/apache/cassandra/db/ColumnFamilyStore.java
	src/java/org/apache/cassandra/db/DataTracker.java
	test/unit/org/apache/cassandra/db/CommitLogTest.java
2014-08-01 11:16:57 -04:00
Jake Luciani 60eab4e45e Fix truncate to always call flush on table
Patch by Jeremiah Jordan; reviewed by tjake for (CASSANDRA-7511)
2014-08-01 10:30:48 -04:00
Benedict Elliott Smith da3606e180 Merge commit failure policy into 2.1
patch by Benedict Elliott Smith; reviewed by Marcus Eriksson for CASSANDRA-7429
2014-06-30 13:00:42 +01:00
Brandon Williams 259e17df3b Fix hardcoded overhead size in commit log test.
Patch by Benedict, reviewed by brandonwilliams for CASSANDRA-6974
2014-05-09 10:04:55 -05:00
Jonathan Ellis 44f4e79019 fix CLTest post-#6764
patch by Benedict Elliott Smith; reviewed by jbellis for CASSANDRA-6764
2014-04-22 08:47:23 -05:00
Marcus Eriksson 9381b8d569 Add commit_failure_policy.
Patch by belliottsmith, reviewed by marcuse for CASSANDRA-6364

CASSANDRA-6364
2014-02-11 13:13:37 +01:00
Jonathan Ellis 4b54b8acd2 remove Table.switchlock and introduce o.a.c.utils.memory package
patch by Benedict Elliott Smith; reviewed by jbellis for CASSANDRA-5549
2014-01-30 17:09:18 -06:00
Aleksey Yeschenko 6bbb13b9b0 Rename RowMutation->Mutation in preparation for Row->Partition 2013-12-22 00:37:43 +03:00
Sylvain Lebresne 362cc05352 Push composites support in the storage engine
patch by slebresne; reviewed by benedict for CASSANDRA-5417
2013-12-17 17:03:21 +01:00
Jonathan Ellis 22e18f5a34 Multithreaded commitlog
patch by Benedict Elliot Smith; reviewed by jbellis for CASSANDRA-3578
2013-12-02 13:09:19 -06:00
Dave Brosius 83a43f1214 replace import junit.framework.* with org.junit.* (junit3 vs junit4) 2013-08-31 21:33:08 -04:00
Jonathan Ellis 7f2c3a8e40 Removed compatibility with pre-1.2.5 sstables and network messages
patch by jbellis; reviewed by marcuse for CASSANDRA-5511
2013-04-26 13:17:39 -05:00
Sylvain Lebresne 3a005df397 Replace supercolumns internally by composites
patch by slebresne; reviewed by Vijay for CASSANDRA-3237
2013-01-02 13:40:13 +01:00
Vijay Parthasarathy b9df12c173 Fix for Test failure: remove hardcoded values in CLT 2012-07-06 16:21:17 -07:00
Vijay Parthasarathy 57998976f0 Add Commitlog Versioning
patch by Vijay; reviewed by jbellis for CASSANDRA-4357
2012-06-28 14:37:15 -07:00
Pavel Yaskevich 90170d1594 Avoid ID conflicts from concurrent schema changes
patch by Pavel Yaskevich; reviewed by Sylvain Lebresne for CASSANDRA-3794
2012-05-29 13:19:20 +03:00
Jonathan Ellis 4d7e703561 avoid blocking additional writes during flush
patch by jbellis; reviewed by slebresnse and tested by brandonwilliams for CASSANDRA-1991
2012-05-09 14:52:06 -05:00
Sylvain Lebresne 438acfc8c4 Unify migration code
patch by slebresne; reviewed by xedin for CASSANDRA-4017
2012-03-18 11:08:56 +01:00
Sylvain Lebresne a15c35b094 [3649] remove unused imports 2012-02-27 11:24:31 +01:00
Sylvain Lebresne 07cdfd07a3 [3649] Strip end of line whitespaces 2012-02-27 11:21:34 +01:00
Jonathan Ellis 48f5d57164 fix commitlog segment overflow
patch by rbranson; reviewed by jbellis for CASSANDRA-3615
2011-12-28 12:27:04 -06:00
Jonathan Ellis babc105306 Recycle commitlog segments for improved performance
patch by Rick Branson and jbellis for CASSANDRA-3411

git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@1205203 13f79535-47bb-0310-9956-ffa450edef68
2011-11-22 22:39:39 +00:00
Sylvain Lebresne 8906a0aab5 Merge from 0.8
git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@1152799 13f79535-47bb-0310-9956-ffa450edef68
2011-08-01 14:31:36 +00:00
Jonathan Ellis 835669aee8 merge from 0.8
git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@1100900 13f79535-47bb-0310-9956-ffa450edef68
2011-05-09 07:05:55 +00:00
Jonathan Ellis 21622125f3 fix commitlog replaywhen flush position refers to data thatdidnt
git-svn-id: https://svn.apache.org/repos/asf/cassandra/branches/cassandra-0.7@1079989 13f79535-47bb-0310-9956-ffa450edef68
2011-03-09 20:52:03 +00:00
Jonathan Ellis ad29c258ea fix replaying the last mutation in a commitlog unnecessarily. patch by jbellis; reviewed by gdusbabek for CASSANDRA-1512
git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@999142 13f79535-47bb-0310-9956-ffa450edef68
2010-09-20 22:15:34 +00:00
Jonathan Ellis 291846dc05 fix commitlog tests post-1135. patch by mdennis; reviewed by jbellis for CASSANDRA-1318
git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@979516 13f79535-47bb-0310-9956-ffa450edef68
2010-07-27 04:02:04 +00:00
Jonathan Ellis 1a6b938bec split commitlog header into separate file and add size checksum to mutations. patch by mdennis and jbellis for CASSANDRA-1179
git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@956250 13f79535-47bb-0310-9956-ffa450edef68
2010-06-19 16:11:49 +00:00
Gary Dusbabek 1e616a129b merge from 0.6
git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@953394 13f79535-47bb-0310-9956-ffa450edef68
2010-06-10 17:05:54 +00:00
Jonathan Ellis cba59a81e6 add Clock structure as a prelude to full vector clock support. patch by Sylvain Lebresne and Kelvin Kakugawa for CASSANDRA-1070; reviewed by johano and jbellis
git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@948316 13f79535-47bb-0310-9956-ffa450edef68
2010-05-26 04:45:44 +00:00
Gary Dusbabek 434564d1f9 byte for decorateKey and getToken in IPartitioner. Patch by Stu Hood, reviewed by Gary Dusbabek. CASSANDRA-767
git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@934154 13f79535-47bb-0310-9956-ffa450edef68
2010-04-14 19:53:06 +00:00
Jonathan Ellis fdba4279a0 encapsulate commitlog file operations in CommitLogSegment
patch by jbellis; reviewed by junrao for CASSANDRA-783

git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@908830 13f79535-47bb-0310-9956-ffa450edef68
2010-02-11 03:49:49 +00:00
Jonathan Ellis fbb188f91a mv commitlog classes into db.commitlog package. patch by jbellis
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@908131 13f79535-47bb-0310-9956-ffa450edef68
2010-02-09 17:52:44 +00:00
Jonathan Ellis 572b5f852d table -> keyspace
patch by jbellis; reviewed by Michael Greene for CASSANDRA-271

git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@799140 13f79535-47bb-0310-9956-ffa450edef68
2009-07-30 00:29:28 +00:00
Jonathan Ellis 986cee6806 change String column names to byte[] to allow user-defined ordering.
patch by jbellis; reviewed by Sandeep Tata for CASSANDRA-185

git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@796108 13f79535-47bb-0310-9956-ffa450edef68
2009-07-21 01:36:52 +00:00
Jonathan Ellis f2da00fb0f thrift changes to remove : api.
use ColumnPath, ColumnParent, etc. structs to encapsulate optional SuperColumns (and occasionally, optional Columns).
patch by jbellis; reviewed by Evan Weaver and Sandeep Tata for CASSANDRA-139

git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@794429 13f79535-47bb-0310-9956-ffa450edef68
2009-07-15 22:04:43 +00:00
Jonathan Ellis a0c2b2a380 add CommitLog and RecoveryManager tests. patch by jbellis; reviewed by goffinet for CASSANDRA-237
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@786243 13f79535-47bb-0310-9956-ffa450edef68
2009-06-18 20:22:10 +00:00
Jonathan Ellis 88edbed30c merge from 0.3 branch
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@775983 13f79535-47bb-0310-9956-ffa450edef68
2009-05-18 15:22:23 +00:00
Jonathan Ellis 97fc5cb8ef migrate to JUnit 4.6. patch by jbellis; reviewed by Sandeep Tata for CASSANDRA-162
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@773940 13f79535-47bb-0310-9956-ffa450edef68
2009-05-12 15:26:38 +00:00
Jonathan Ellis afd3c2765b move testng code to test/unit. patch by johano; reviewed by jbellis for #104
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@768584 13f79535-47bb-0310-9956-ffa450edef68
2009-04-25 19:07:00 +00:00