Commit Graph

226 Commits

Author SHA1 Message Date
Jonathan Ellis e63168da75 revert 1139358, 1139483
git-svn-id: https://svn.apache.org/repos/asf/cassandra/branches/cassandra-0.8@1141216 13f79535-47bb-0310-9956-ffa450edef68
2011-06-29 19:43:24 +00:00
T Jake Luciani 59b46bfaa9 Change ColumnFamilyRecordReader to read split from replicas if primary is down
Patch by Mck SembWever; reviewed by tjake for CASSANDRA-2388



git-svn-id: https://svn.apache.org/repos/asf/cassandra/branches/cassandra-0.8@1139358 13f79535-47bb-0310-9956-ffa450edef68
2011-06-24 15:42:31 +00:00
T Jake Luciani 5a4cfb1b1e Allow writes to bypass the commit log for certain keyspaces
Patch by tjake; reviewed by jbellis for CASSANDRA-2683


git-svn-id: https://svn.apache.org/repos/asf/cassandra/branches/cassandra-0.8@1127505 13f79535-47bb-0310-9956-ffa450edef68
2011-05-25 12:58:57 +00:00
Eric Evans cf22ca808b merge w/ 0.8.0 branch
git-svn-id: https://svn.apache.org/repos/asf/cassandra/branches/cassandra-0.8@1126812 13f79535-47bb-0310-9956-ffa450edef68
2011-05-23 23:30:52 +00:00
Jonathan Ellis ac7c83535f add optional replication_factor fields to KsDef to make supporting both 0.8 and 0.7 easier for client devs
patch by jbellis; reviewed by Nate McCall for CASSANDRA-2481

git-svn-id: https://svn.apache.org/repos/asf/cassandra/branches/cassandra-0.8@1094628 13f79535-47bb-0310-9956-ffa450edef68
2011-04-18 15:51:47 +00:00
Jonathan Ellis e1bec62727 preserve column order in CQL result sets
patch by jbellis; reviewed by eevans for CASSANDRA-2493

git-svn-id: https://svn.apache.org/repos/asf/cassandra/branches/cassandra-0.8@1094102 13f79535-47bb-0310-9956-ffa450edef68
2011-04-17 05:10:17 +00:00
Jonathan Ellis 520bd60ed9 add optional key alias to CFMetaData
patch by jhermes; reviewed by jbellis for CASSANDRA-2396

git-svn-id: https://svn.apache.org/repos/asf/cassandra/branches/cassandra-0.8@1091080 13f79535-47bb-0310-9956-ffa450edef68
2011-04-11 14:11:23 +00:00
Jonathan Ellis 8c7bc2fe87 push replication_factor into strategy_options
patch by jhermes and jbellis; reviewed by jhanna for CASSANDRA-1263

git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@1090905 13f79535-47bb-0310-9956-ffa450edef68
2011-04-10 22:59:57 +00:00
Sylvain Lebresne 9a0bbc542b Merge COSC and Counter thrift structure
patch by slebresne; reviewed by jbellis for CASSANDRA-2440


git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@1090842 13f79535-47bb-0310-9956-ffa450edef68
2011-04-10 17:31:15 +00:00
Gary Dusbabek d988e11e29 updated thrif-gen-java
git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@1090276 13f79535-47bb-0310-9956-ffa450edef68
2011-04-08 14:40:27 +00:00
Gary Dusbabek a0c4596e45 add Compression.NONE
git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@1090275 13f79535-47bb-0310-9956-ffa450edef68
2011-04-08 14:40:24 +00:00
Gary Dusbabek 4ec9511421 ant gen-thrift-java. patch by gdusbabek, reviewed by tjake. CASSANDRA-2412
git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@1090076 13f79535-47bb-0310-9956-ffa450edef68
2011-04-08 00:47:44 +00:00
Sylvain Lebresne 3bbfb06957 Merge Mutation and CounterMutation thrift structure
patch by slebresne; reviewed by jbellis for CASSANDRA-2384


git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@1089517 13f79535-47bb-0310-9956-ffa450edef68
2011-04-06 16:19:55 +00:00
Jonathan Ellis 4d1af49b98 introduce ICache, InstrumentingCache, IRowCacheProvider
patch by jbellis, Jon Hermes, and Vijay for CASSANDRA-1969

git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@1089078 13f79535-47bb-0310-9956-ffa450edef68
2011-04-05 15:22:57 +00:00
Eric Evans 46c8f2f378 type validated row keys
Patch by Jon Hermes (w/ minor changes); reviewed by eevans for CASSANDRA-2311

git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@1086345 13f79535-47bb-0310-9956-ffa450edef68
2011-03-28 19:08:34 +00:00
Eric Evans 4dfe8eadec thrift generated code
Patch by eevans; reviewed by brandon.williams for CASSANDRA-2334


git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@1081971 13f79535-47bb-0310-9956-ffa450edef68
2011-03-15 22:52:10 +00:00
Eric Evans a330e4a0a2 add SchemaDisagreementException RPC exception
Patch by eevans for CASSANDRA-2334; reviewed by brandon.williams


git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@1081970 13f79535-47bb-0310-9956-ffa450edef68
2011-03-15 22:51:40 +00:00
T Jake Luciani ab5a8c77e4 Use UUID as node identifiers in counters instead of IP addresses
Patch by Sylvain Lebresne; Reviewed by T Jake Luciani for CASSANDRA-1938



git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@1080345 13f79535-47bb-0310-9956-ffa450edef68
2011-03-10 20:54:50 +00:00
Jonathan Ellis da936f5fe3 merge from 0.7
git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@1078194 13f79535-47bb-0310-9956-ffa450edef68
2011-03-04 22:52:03 +00:00
Jonathan Ellis 0d6db4a68f add CL.TWO, THREE
patch by Peter Schuller; reviewed by tjake for CASSANDRA-2013

git-svn-id: https://svn.apache.org/repos/asf/cassandra/branches/cassandra-0.7@1078134 13f79535-47bb-0310-9956-ffa450edef68
2011-03-04 21:08:21 +00:00
Eric Evans 718954fe26 raise IRE for null keyspace
Patch by eevans; reviewed by jbellis for CASSANDRA-2251


git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@1074714 13f79535-47bb-0310-9956-ffa450edef68
2011-02-25 22:06:24 +00:00
Jonathan Ellis 804729f1ee add delete support for counters
patch by Kelvin Kakugawa; reviewed by slebresne for CASSANDRA-2101

git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@1067391 13f79535-47bb-0310-9956-ffa450edef68
2011-02-05 05:13:50 +00:00
Eric Evans 9696928064 move remaining avro records to hadoop package
Patch by eevans; reviewed by Jeremy Hanna for CASSANDRA-926

git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@1059460 13f79535-47bb-0310-9956-ffa450edef68
2011-01-16 04:06:08 +00:00
Eric Evans 0386c2ccf3 don't build schema for rpc interface
Patch by eevans; reviewed by Jeremy Hanna for CASSANDRA-926

git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@1059455 13f79535-47bb-0310-9956-ffa450edef68
2011-01-16 04:05:44 +00:00
Eric Evans 5630e15e28 (thrift )compiler generated code
Patch by eevans; reviewed by jbellis for CASSANDRA-1913

git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@1054139 13f79535-47bb-0310-9956-ffa450edef68
2010-12-31 17:24:38 +00:00
Eric Evans aae1f03f4d move RPC code generation avro -> thrift
Patch by eevans; reviewed by jbellis for CASSANDRA-1913

git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@1054138 13f79535-47bb-0310-9956-ffa450edef68
2010-12-31 17:24:30 +00:00
Johan Oskarsson 2c4ac98c9f Adds support for columns that act as incr/decr counters. Patch primarily by Kelvin Kakugawa with select parts from Chris Goffinet, Sylvain Lebresne, Rob Coli, Johan Oskarsson, Adam Samet, Jaakko Laine and more. Review by Jonathan Ellis and Sylvain Lebresne. CASSANDRA-1072.
git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@1051679 13f79535-47bb-0310-9956-ffa450edef68
2010-12-21 22:17:09 +00:00
Eric Evans 0939780a0c SELECT COUNT(...) FROM support
Patch by eevans

git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@1034538 13f79535-47bb-0310-9956-ffa450edef68
2010-11-12 19:33:06 +00:00
Eric Evans f6deb516ae (mostly )working SELECT; (barely )working UPDATE
Patch by eevans

git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@1029356 13f79535-47bb-0310-9956-ffa450edef68
2010-10-31 14:35:36 +00:00
Jonathan Ellis c75abc8e56 renamed CL.DCQUORUM to LOCAL_QUORUM and DCQUORUMSYNCto EACH_QUORUM. patch by jbellis
git-svn-id: https://svn.apache.org/repos/asf/cassandra/branches/cassandra-0.7@1027174 13f79535-47bb-0310-9956-ffa450edef68
2010-10-25 16:00:56 +00:00
Jonathan Ellis 729022c655 remove preload_row_cache option
patch by jbellis; reviewed by brandonwilliams for CASSANDRA-1647

git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@1026429 13f79535-47bb-0310-9956-ffa450edef68
2010-10-22 17:54:44 +00:00
Jonathan Ellis e7a385ac3f tjake
git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@1026200 13f79535-47bb-0310-9956-ffa450edef68
2010-10-22 03:23:26 +00:00
Gary Dusbabek 3105b2df18 remvove system_rename* methods from API. thift/avro changes. patch by gdusbabek, reviewed by jbellis. CASSANDRA-1630
git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@1024242 13f79535-47bb-0310-9956-ffa450edef68
2010-10-19 14:23:24 +00:00
Brandon Williams bb0dc512d8 Make memtable flush thresholds per-CF instead of global. Patch by Jon Hermes, reviewed by brandonwilliams for CASSANDRA-1007
git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@1023036 13f79535-47bb-0310-9956-ffa450edef68
2010-10-15 17:42:57 +00:00
Jonathan Ellis 07744ceac1 add row/key cache save periods to CfDef.
patch by Jon Hermes; reviewed by jbellis for CASSANDRA-1606

git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@1022209 13f79535-47bb-0310-9956-ffa450edef68
2010-10-13 17:40:56 +00:00
Brandon Williams 21913c5502 Remove ConsistencyLevel.ZERO. Patch by jbellis, reviewed by brandonwilliams for CASSANDRA-1607.
git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@1021852 13f79535-47bb-0310-9956-ffa450edef68
2010-10-12 17:33:53 +00:00
Jonathan Ellis 5c44cc166e merge from 0.6
git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@1005317 13f79535-47bb-0310-9956-ffa450edef68
2010-10-07 02:24:22 +00:00
Gary Dusbabek f7f5877481 use avro includes and aliases in order to have less duplicated structures. patch by stuhood, reviewed by gdusbabek. CASSANDRA-1436
git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@1004678 13f79535-47bb-0310-9956-ffa450edef68
2010-10-05 15:43:41 +00:00
Eric Evans a62d9785cf Add authorization to describe_keyspace(s) and change Thrift exceptions.
Patch by Stu Hood; reviewed by eevans for CASSANDRA-1271

git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@1002402 13f79535-47bb-0310-9956-ffa450edef68
2010-09-28 23:01:03 +00:00
Jonathan Ellis 8b38ee2806 add describe_snitch to Thrift api.
patch by jhermes; reviewed by jbellis for CASSANDRA-1490


git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@1001332 13f79535-47bb-0310-9956-ffa450edef68
2010-09-25 23:56:55 +00:00
Jonathan Ellis d966ed0861 r/m Clock from Thrift api. patch by jbellis; reviewed by slebresne for CASSANDRA-1501
git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@999542 13f79535-47bb-0310-9956-ffa450edef68
2010-09-21 18:56:23 +00:00
Jonathan Ellis 267c76a655 min,max compaction threshold are configurable and persistent per-ColumnFamily. patch by Jon Hermes; reviewed by jbellis for CASSANDRA-1468
git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@998558 13f79535-47bb-0310-9956-ffa450edef68
2010-09-18 22:08:06 +00:00
Jonathan Ellis ec0316708b change multiget back to list, for now. patch by jbellis for CASSANDRA-1329
git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@998435 13f79535-47bb-0310-9956-ffa450edef68
2010-09-18 10:08:49 +00:00
Jonathan Ellis 283a428d6a remove defaults from CfDef subcomparator_type, reconciler, and comment (while keeping them optional).
patch by Jon Hermes; reviewed by Jeremy Hanna for CASSANDRA-1480

git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@996651 13f79535-47bb-0310-9956-ffa450edef68
2010-09-13 19:22:43 +00:00
Jonathan Ellis 9d95281270 regenerate thrift code. patch by jbellis
git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@995280 13f79535-47bb-0310-9956-ffa450edef68
2010-09-08 23:10:44 +00:00
Jonathan Ellis 780a58a9d0 rename check_schema_agreement to describe_schema_versions. patch by jbellis
git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@995108 13f79535-47bb-0310-9956-ffa450edef68
2010-09-08 15:49:28 +00:00
Jonathan Ellis ec7476c58d remove keyspace from describe_splits method. patch by Jeremy Hanna; reviewed by jbellis for CASSANDRA-1425
git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@995086 13f79535-47bb-0310-9956-ffa450edef68
2010-09-08 15:14:53 +00:00
Jonathan Ellis 8c5069fba2 support for Hadoop Streaming [non-jvm map/reduce via stdin/out]. patch by Stu Hood; reviewed by jbellis for CASSANDRA-1368
git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@992475 13f79535-47bb-0310-9956-ffa450edef68
2010-09-03 21:20:10 +00:00
Gary Dusbabek 44733f013a avro update ks and cf implementations. patch by gdusbabek, reviewed by stuhood. CASSANDRA-1285
git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@992454 13f79535-47bb-0310-9956-ffa450edef68
2010-09-03 20:25:06 +00:00
Gary Dusbabek 4ae579639b thrift changes for updating keyspaces and column families. patch by gdusbabek, reviewed by stuhood. CASSANDRA-1285
git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@992451 13f79535-47bb-0310-9956-ffa450edef68
2010-09-03 20:24:38 +00:00