Commit Graph

320 Commits

Author SHA1 Message Date
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
Jonathan Ellis 979ce41ef4 fix migration race vs flush
patch by jbellis; reviewed by gdusbabek for CASSANDRA-2381

git-svn-id: https://svn.apache.org/repos/asf/cassandra/branches/cassandra-0.7@1086343 13f79535-47bb-0310-9956-ffa450edef68
2011-03-28 19:05:32 +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
Jonathan Ellis f795534553 change list<binary> keys to set<binary> in multiget. patch by Jon Hermes; reviewed by jbellis for CASSANDRA-1329
git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@992355 13f79535-47bb-0310-9956-ffa450edef68
2010-09-03 16:23:57 +00:00
Eric Evans 78a68f2675 avro: make ConsistencyLevel required for consistency
And add missing exceptions to protocol schema.

Patch by eevans

git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@992043 13f79535-47bb-0310-9956-ffa450edef68
2010-09-02 18:22:44 +00:00
Brandon Williams e696035f61 avro: get_range_slices implementation. Patch by Jeremy Hanna, reviewed by brandonwilliams
git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@992001 13f79535-47bb-0310-9956-ffa450edef68
2010-09-02 16:17:21 +00:00
Eric Evans 84bc8e6561 avro: get_indexed_slices implementation
Patch by Nick Bailey; reviewed by eevans

git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@991701 13f79535-47bb-0310-9956-ffa450edef68
2010-09-01 20:53:49 +00:00
Eric Evans e0b5e87484 avro: describe_splits implementation
Patch by Jeremy Hanna; reviewed by eevans

git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@991650 13f79535-47bb-0310-9956-ffa450edef68
2010-09-01 18:57:26 +00:00
Eric Evans d40f112aab avro: describe_ring, check_schema_agreement, and truncate
Patch by Nirmal Ranganathan; reviewed by eevans

git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@991622 13f79535-47bb-0310-9956-ffa450edef68
2010-09-01 17:50:50 +00:00
Gary Dusbabek ede60f9f46 avro impls for system_drop_keyspace and system_rename_keyspace
git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@991589 13f79535-47bb-0310-9956-ffa450edef68
2010-09-01 16:20:12 +00:00
Eric Evans 94c45e7107 login method implementation for avro rpc
Patch by Nick Bailey (w/ minor changes); reviewed by eevans

git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@991586 13f79535-47bb-0310-9956-ffa450edef68
2010-09-01 16:16:08 +00:00
Eric Evans 1c123a1b27 multiget_count implementation for avro
Patch by eevans

git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@991580 13f79535-47bb-0310-9956-ffa450edef68
2010-09-01 15:58:44 +00:00
Gary Dusbabek 441450395e bring avro system_add_keyspace on par with thrift
git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@991560 13f79535-47bb-0310-9956-ffa450edef68
2010-09-01 15:04:05 +00:00
Eric Evans 4e410c9d1c Remove AccessLevel from the client API
Patch by Stu Hood; reviewed by eevans for CASSANDRA-1320

git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@990943 13f79535-47bb-0310-9956-ffa450edef68
2010-08-30 21:14:23 +00:00
Jonathan Ellis ea6fb4695e default validation_class to null for compatibility w/ 0.7 beta1. patch by Jon Hermes; reviewed by Stu Hood for CASSANDRA-891
git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@990246 13f79535-47bb-0310-9956-ffa450edef68
2010-08-27 20:06:52 +00:00
Eric Evans a455a8dca9 Remove AccessLevel return value from login, since authorization will be moving to call-time
Patch by Stu Hood; reviewed by eevans for CASSANDRA-1237

git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@989361 13f79535-47bb-0310-9956-ffa450edef68
2010-08-25 20:41:10 +00:00
Jonathan Ellis d28cab41a0 Add CfDef.default_validation_class. patch by jhermes; reviewed by jbellis for CASSANDRA-891
git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@989344 13f79535-47bb-0310-9956-ffa450edef68
2010-08-25 20:25:49 +00:00
Jonathan Ellis 72b436769a remove keyspace argument from multiget_count. patch by Jon Hermes; reviewed by jbellis for CASSANDRA-1422
git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@988575 13f79535-47bb-0310-9956-ffa450edef68
2010-08-24 14:44:42 +00:00
Eric Evans ac57d9d082 avro implementation of describe_partitioner()
Patch by eevans

git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@987677 13f79535-47bb-0310-9956-ffa450edef68
2010-08-21 00:26:35 +00:00
Eric Evans c92d3ee82c several new avro rpc method implementations
Patch by Antoine Toulme w/ some changes by eevans for CASSANDRA-1238

git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@987640 13f79535-47bb-0310-9956-ffa450edef68
2010-08-20 21:30:59 +00:00
Jonathan Ellis 838ea5bcbf Revert 'per-connection read-your-writes "session" consistency'
git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@986783 13f79535-47bb-0310-9956-ffa450edef68
2010-08-18 16:44:41 +00:00
Jonathan Ellis 35ee5347f8 per-connection read-your-writes "session" consistency. patch by Brian Palmer; reviewed by jbellis for CASSANDRA-876
git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@986781 13f79535-47bb-0310-9956-ffa450edef68
2010-08-18 16:40:42 +00:00
Jonathan Ellis 283e365196 allow compound index clauses to include non-EQ operators. patch by jbellis; reviewed by eevans for CASSANDRA-1401
git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@986488 13f79535-47bb-0310-9956-ffa450edef68
2010-08-17 21:21:51 +00:00
Jonathan Ellis 916c810b54 rename RackAwareStrategy to OldNetworkTopologyStrategy, RackUnawareStrategy to SimpleStrategy, DatacenterShardStrategy to NetworkTopologyStrategy, AbstractRackAwareSnitch to AbstractNetworkTopologySnitch
patch by jbellis; reviewed by brandonwilliams for CASSANDRA-1392

git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@985701 13f79535-47bb-0310-9956-ffa450edef68
2010-08-15 16:16:58 +00:00
Jonathan Ellis ed9f7909fc describe_keyspace includes CfDef information. patch by Jon Hermes; reviewed by jbellis for CASSANDRA-1363
git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@984901 13f79535-47bb-0310-9956-ffa450edef68
2010-08-12 18:29:46 +00:00
Jonathan Ellis 49f34a25fe thrift changes for 1156
git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@981913 13f79535-47bb-0310-9956-ffa450edef68
2010-08-03 15:03:33 +00:00
Jonathan Ellis 1b5577b254 handle index scans across multiple nodes and consistency levels
git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@981906 13f79535-47bb-0310-9956-ffa450edef68
2010-08-03 14:58:14 +00:00
Gary Dusbabek 00c108a1a5 internode structures for migrations. changes migration disk format. patch by stuhood, reviewed by gdusbabek. CASSANDRA-1308
git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@981645 13f79535-47bb-0310-9956-ffa450edef68
2010-08-02 18:18:40 +00:00
Eric Evans f3516171e1 regenerated thrift code
Patch by eevans for CASSANDRA-1066

git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@981070 13f79535-47bb-0310-9956-ffa450edef68
2010-07-31 15:42:34 +00:00
Eric Evans df8a93358c configurable options for replication strategies
Patch by Jeremy Hanna; review by eevans for CASSANDRA-1066

git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@981069 13f79535-47bb-0310-9956-ffa450edef68
2010-07-31 15:42:27 +00:00
Gary Dusbabek de5715e14f revert 980215, 980217, 980220, 980222, 980225, 980226. CASSANDRA-1237
git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@980554 13f79535-47bb-0310-9956-ffa450edef68
2010-07-29 19:53:36 +00:00
Gary Dusbabek c213967e43 put access structures in KsDef. patch by stuhood, reviewed by gdusbabek. CASSANDRA-1237
git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@980217 13f79535-47bb-0310-9956-ffa450edef68
2010-07-28 21:01:39 +00:00
Jonathan Ellis e4f579f717 merge from 0.6
git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@979335 13f79535-47bb-0310-9956-ffa450edef68
2010-07-26 16:04:06 +00:00
Jonathan Ellis 4fb3d18641 r/m bitmask predicates. patch by jbellis; reviewed by gdusbabek for CASSANDRA-1312
git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@979139 13f79535-47bb-0310-9956-ffa450edef68
2010-07-26 03:00:08 +00:00
Jonathan Ellis 16a1951ec8 run gen-thrift-java to update thrift Constants.java
git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@967193 13f79535-47bb-0310-9956-ffa450edef68
2010-07-23 18:34:27 +00:00
Jonathan Ellis e45966fbd7 rename 'table' to 'keyspace' in thrift CfDef class.
patch by Stu Hood and Jon Hermes; reviewed by jbellis for CASSANDRA-1287


git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@967192 13f79535-47bb-0310-9956-ffa450edef68
2010-07-23 18:33:24 +00:00
Jonathan Ellis 395c3caa0c make GCGraceSeconds configurable per-columnfamily. patch by Jon Hermes; reviewed by jbellis for CASSANDRA-1276
git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@967187 13f79535-47bb-0310-9956-ffa450edef68
2010-07-23 18:18:07 +00:00
Gary Dusbabek d25c336656 avro schema changes for thrift parity. add cfid to cfdef. patch by stuhood, reviewed by gdusbabek. CASSANDRA-1186
git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@966276 13f79535-47bb-0310-9956-ffa450edef68
2010-07-21 15:13:14 +00:00
Gary Dusbabek 3e3c9d27f0 break out avro generation. patch by stuhood, reviewed by gdusbabek. CASSANDRA-1186
git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@966273 13f79535-47bb-0310-9956-ffa450edef68
2010-07-21 15:13:49 +00:00
Jonathan Ellis d849c697a5 upgrade to latest thrift. patch by Nate McCall; reviewed by jbellis for CASSANDRA-1266
git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@963928 13f79535-47bb-0310-9956-ffa450edef68
2010-07-14 02:47:03 +00:00
Jonathan Ellis 078c56c631 add single-node support for IndexType.KEYS. patch by jbellis; reviewed by mdennis for CASSANDRA-1154
git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@961795 13f79535-47bb-0310-9956-ffa450edef68
2010-07-08 15:17:20 +00:00
Jonathan Ellis 972812c700 switch IndexType to enum. patch by jbellis
git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@960925 13f79535-47bb-0310-9956-ffa450edef68
2010-07-06 15:54:49 +00:00
Jonathan Ellis 9249a6c3bc add column metadata for validation and (soon) indexing. patch by mdennis and jbellis for CASSANDRA-1153
git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@960123 13f79535-47bb-0310-9956-ffa450edef68
2010-07-02 22:11:04 +00:00
Eric Evans ad838b00a5 bring avro up to date w/ CfDef.read_repair_chance
And, use CFMetaData defaults in place of those in CassandraServer.

Patch by eevans

git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@955827 13f79535-47bb-0310-9956-ffa450edef68
2010-06-18 03:41:25 +00:00
Jonathan Ellis bd7a052ae6 bump thrift VERSION for read_repair_chance change. patch by jbellis
git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@955822 13f79535-47bb-0310-9956-ffa450edef68
2010-06-18 03:22:11 +00:00
Eric Evans 86af3709ea avro multget_slice() + functional tests
Patch by eevans

git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@955759 13f79535-47bb-0310-9956-ffa450edef68
2010-06-17 21:57:50 +00:00
Eric Evans e24a9aad46 get_count() for avro + system tests
Patch by eevans

git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@955717 13f79535-47bb-0310-9956-ffa450edef68
2010-06-17 19:59:29 +00:00
Eric Evans 9e63ce251a get_slice() implementation for avro + system tests
Patch by eevans

git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@955675 13f79535-47bb-0310-9956-ffa450edef68
2010-06-17 17:14:25 +00:00
Eric Evans 2e36c660b0 make cassandra.genavro the canonical proto schema
cassandra.avpr has been removed from version control is now generated
from cassandra.genavro by ant. Future changes to the protocol schema
should take place in cassandra.genavro; do not hand-edit the .avpr

Patch by eevans

git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@955358 13f79535-47bb-0310-9956-ffa450edef68
2010-06-16 19:38:34 +00:00
Eric Evans 059e5f166b working batch_mutate() for avro server w/ tests
Patch by eevans

git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@955286 13f79535-47bb-0310-9956-ffa450edef68
2010-06-16 16:16:25 +00:00
Eric Evans 4b4762e30b added remove() implementation to avro-based server
Patch by eevans

git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@955050 13f79535-47bb-0310-9956-ffa450edef68
2010-06-15 20:57:22 +00:00
Eric Evans bfd9ce9b39 remove deprecated (and non-working) batch_insert()
Patch by eevans

git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@955049 13f79535-47bb-0310-9956-ffa450edef68
2010-06-15 20:57:16 +00:00
Gary Dusbabek 78efa02458 add read_repair_chance to CfDef. Patch by gdusbabek, reviewed by jbellis. CASSANDRA-1180
git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@954917 13f79535-47bb-0310-9956-ffa450edef68
2010-06-15 14:50:49 +00:00
Gary Dusbabek 38b4b1dcf1 remove keyspace args from some system calls. patch by Matthew Dennis, reviewed by Gary Dusbabek. CASSANDRA-1168
git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@952657 13f79535-47bb-0310-9956-ffa450edef68
2010-06-08 14:17:08 +00:00
Johan Oskarsson 7860b138e3 Add support for reconciler classes that decide how to resolve conflicting columns. Patch by Kelvin Kakugawa and johan, review by jbellis. CASSANDRA-1144
git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@950099 13f79535-47bb-0310-9956-ffa450edef68
2010-06-01 15:03:48 +00:00
Jonathan Ellis 7b845a0cd2 add license headers to generated Thrift files. patch by jbellis
git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@950072 13f79535-47bb-0310-9956-ffa450edef68
2010-06-01 13:43:05 +00:00
Eric Evans 3dd229c167 CASSANDRA-798 match genavro to json schema
Patch by eevans

git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@949301 13f79535-47bb-0310-9956-ffa450edef68
2010-05-28 21:27:51 +00:00
Gary Dusbabek 7cd412bba1 merges from 0.6
git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@949268 13f79535-47bb-0310-9956-ffa450edef68
2010-05-28 19:26:53 +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
Johan Oskarsson 0658589892 Hadoop input format now uses the specified column family to figure out the number of splits instead of the whole keyspace. Patch by johan, review by jbellis. CASSANDRA-1050
git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@947953 13f79535-47bb-0310-9956-ffa450edef68
2010-05-25 07:40:47 +00:00
Jonathan Ellis 00cf048905 document DatacenterShardStrategy. patch by jbellis
git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@947889 13f79535-47bb-0310-9956-ffa450edef68
2010-05-25 01:17:27 +00:00
Jonathan Ellis 00bc8da0f3 merge from 0.6
git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@947887 13f79535-47bb-0310-9956-ffa450edef68
2010-05-25 01:10:24 +00:00
Gary Dusbabek 261885ea2a modify system_* methods to return UUID. patch by gdusbabek, reviewed by jbellis. CASSANDRA-1075
git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@946718 13f79535-47bb-0310-9956-ffa450edef68
2010-05-20 17:13:30 +00:00
Gary Dusbabek ea9dbc8a18 service call to check for schema agreement. patch by gdusbabek, reviewed by jbellis. CASSANDRA-1075
git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@946717 13f79535-47bb-0310-9956-ffa450edef68
2010-05-20 17:13:17 +00:00
Eric Evans 31297cb736 renamed get_api_version to describe_version (avro)
Patch by eevans

git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@945846 13f79535-47bb-0310-9956-ffa450edef68
2010-05-18 19:44:44 +00:00
Eric Evans 42c84ccfe1 avro implementation of describe_cluster_name()
Patch by eevans

git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@945845 13f79535-47bb-0310-9956-ffa450edef68
2010-05-18 19:44:37 +00:00
Jonathan Ellis df95549498 merge from 0.6
git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@945329 13f79535-47bb-0310-9956-ffa450edef68
2010-05-17 19:39:22 +00:00
Eric Evans 124047102e describe_keyspaces() for avro
Patch by eevans

git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@944044 13f79535-47bb-0310-9956-ffa450edef68
2010-05-13 22:58:58 +00:00
Eric Evans 0701c58690 updated genavro schema
Patch eevans

git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@943310 13f79535-47bb-0310-9956-ffa450edef68
2010-05-11 21:49:36 +00:00
Eric Evans 7d61634d12 remove useless (and confusing) use of "default"
Patch by eevans

git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@943309 13f79535-47bb-0310-9956-ffa450edef68
2010-05-11 21:49:32 +00:00
Eric Evans cb347ed50f avro-based system_add_keyspace()
Patch by eevans

git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@943190 13f79535-47bb-0310-9956-ffa450edef68
2010-05-11 17:20:51 +00:00
Eric Evans 90862ff5c8 bring insert() up to date w/ thrift in trunk
* no more keyspace arg
 * key is byte[]
 * ColumnParent+Column instead of ColumnPath+value

Patch by eevans

git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@943189 13f79535-47bb-0310-9956-ffa450edef68
2010-05-11 17:20:44 +00:00
Eric Evans 45ecc390e5 bring avro get() up to date w/ changes in trunk
* refactoring of private methods in light of multiget() removal in trunk
 * update get() for keyspace argument remove
 * update get() for change to byte[] keys
 * added ttl attribute to column schema

Patch by eevans

git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@943188 13f79535-47bb-0310-9956-ffa450edef68
2010-05-11 17:20:37 +00:00
Eric Evans b540d6962a set_keyspace() impl (setup for keyspace arg removal)
Patch by eevans

git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@943187 13f79535-47bb-0310-9956-ffa450edef68
2010-05-11 17:20:30 +00:00
Jonathan Ellis 8a3543a1ed implement truncate. patch by jbellis and Ran Tavory for CASSANDRA-531
git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@942817 13f79535-47bb-0310-9956-ffa450edef68
2010-05-10 16:37:28 +00:00
Jonathan Ellis ff59b8ebda r/m deprecated batch_insert, get_range_slice methods
patch by jbellis; reviewed by Brandon Williams for CASSANDRA-1065

git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@942191 13f79535-47bb-0310-9956-ffa450edef68
2010-05-07 19:45:31 +00:00
Eric Evans e649d0f4d5 separate assignment of current keyspace from login()
This changeset is based on Todd Blose's patch, with some changes:

 * Fixed some style nits, (braches on newlines, etc)
 * Reinstated debug log statement in CassandraServer.login()
 * Reinstated css_.debug test when printing stacktrace in the CLI
 * Removed unused _login() function from system tests
 * Updated contrib/utils/service/CassandraServiceTest for login() change
 * Disabled system_add_keyspace() when authentication is enabled (login()
   requires a keyspace).
 * Reset access level (force a new login) when keyspace is changed using
   set_keyspace().

Patch by Todd Blose and eevans for CASSANDRA-1022

git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@940127 13f79535-47bb-0310-9956-ffa450edef68
2010-05-02 00:06:31 +00:00
Jonathan Ellis 87b1b0d52f r/m multiget
patch by jbellis; reviewed by Brandon Williams for CASSANDRA-739

git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@938696 13f79535-47bb-0310-9956-ffa450edef68
2010-04-27 22:12:27 +00:00
Eric Evans cb3455f30e rm keyspace argument from thrift methods
This is Todd Blose's patch (CASSANDRA-714.patch.new) from 4/15, rebased
by me to trunk. Any errors introduced are mine and mine alone.

Patch by eevans and Todd Blose for CASSANDRA-714

git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@938170 13f79535-47bb-0310-9956-ffa450edef68
2010-04-26 18:18:54 +00:00
Jonathan Ellis 71c51f11dd add row cache preload option
patch by Vijay Parthasarathy and jbellis for CASSANDRA-946

git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@937591 13f79535-47bb-0310-9956-ffa450edef68
2010-04-24 04:30:48 +00:00
Jonathan Ellis 034619317a r/m now-unused snitch_class from KsDef thrift struct. patch by jbellis for CASSANDRA-986
git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@936495 13f79535-47bb-0310-9956-ffa450edef68
2010-04-21 20:39:28 +00:00
Gary Dusbabek bc83a65a61 get_count requires SlicePredicate. adds multi_get_count. Patch by Sylvain Lebresne, reviewed by Gary Dusbabek. CASSANDRA-744
git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@935946 13f79535-47bb-0310-9956-ffa450edef68
2010-04-20 14:51:57 +00:00
Jonathan Ellis a5fa451c2b avoid treating ttl <= 0 the same as ttl not specified
patch by jbellis; reviewed by Sylvain Lebresne for CASSANDRA-1003

git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@935709 13f79535-47bb-0310-9956-ffa450edef68
2010-04-19 19:09:06 +00:00
Jonathan Ellis 16ba403a0f Add ExpiringColumn and Column ttl.
patch by Sylvain Lebresne; reviewed by jbellis for CASSANDRA-699

git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@935088 13f79535-47bb-0310-9956-ffa450edef68
2010-04-16 22:04:46 +00:00
Gary Dusbabek f3a4e1736b convert thrift to byte keys. Patch by Stu Hood, reviewed by Gary Dusbabek. CASSANDRA-767
git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@934155 13f79535-47bb-0310-9956-ffa450edef68
2010-04-14 19:53:23 +00:00
Eric Evans fe34d59766 CASSANDRA-965 remove deprecated methods, update dependent code
* removed method defs and regenerated thrift code
 * removed CassandraServer implementations
 * updated cassandra-cli to call new (describe_*) methods
 * updated RingCache to use describe_ring()
 * removed "show config file" from cli (no thrift access for this anymore).
 * updated release notes.

Patch by eevans for CASSANDRA-965

git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@932072 13f79535-47bb-0310-9956-ffa450edef68
2010-04-08 19:27:25 +00:00
Gary Dusbabek 201b7599b2 thrift changes. Patch by Gary Dusbabek, reviewed by Jonthan Ellis. CASSANDRA-827
git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@931201 13f79535-47bb-0310-9956-ffa450edef68
2010-04-06 16:02:10 +00:00
Eric Evans ef749086b0 genavro schema file (not to be used until AVRO-494)
Patch by eevans

git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@930904 13f79535-47bb-0310-9956-ffa450edef68
2010-04-05 17:01:34 +00:00
Eric Evans 8e5dba1851 batch_mutate() rpc implementation
Patch by eevans

git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@930903 13f79535-47bb-0310-9956-ffa450edef68
2010-04-05 17:01:29 +00:00
Eric Evans cb0415d424 ColumnParent schema and record factory method
Patch by eevans

git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@930902 13f79535-47bb-0310-9956-ffa450edef68
2010-04-05 17:01:20 +00:00
Eric Evans 45cad8ca3e avro protocol schema changes for batch_mutate()
Patch by eevans

git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@930901 13f79535-47bb-0310-9956-ffa450edef68
2010-04-05 17:01:15 +00:00
Eric Evans 8fb1d3b042 updated api version string for CASSANDRA-900
Patch by eevans for CASSANDRA-900

git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@927099 13f79535-47bb-0310-9956-ffa450edef68
2010-03-24 16:02:37 +00:00
Eric Evans 059b0066cd access levels for Thrift authorization
Patch by Ted Zlatanov and eevans for CASSANDRA-900

git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@926388 13f79535-47bb-0310-9956-ffa450edef68
2010-03-22 23:11:16 +00:00
Eric Evans 1f9dd393f1 regenerated thrift code to include new enum
Patch by eevans and Ted Zlatanov for CASSANDRA-900

git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@926386 13f79535-47bb-0310-9956-ffa450edef68
2010-03-22 23:11:12 +00:00
Jonathan Ellis 405524ee6d merge from 0.6
git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@925428 13f79535-47bb-0310-9956-ffa450edef68
2010-03-19 21:22:37 +00:00
Jonathan Ellis fe50b493c5 merge from 0.6
git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@924885 13f79535-47bb-0310-9956-ffa450edef68
2010-03-18 16:28:00 +00:00
Jonathan Ellis 7d2115bf8b add optional bitmask matching to SliceRange. patch by Ted Zlatanov; reviewed by jbellis for CASSANDRA-764
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@918844 13f79535-47bb-0310-9956-ffa450edef68
2010-03-04 03:42:05 +00:00
Jonathan Ellis 2b69c401cb merge from 0.6
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@917685 13f79535-47bb-0310-9956-ffa450edef68
2010-03-01 20:02:34 +00:00
Eric Evans b43c78520e merged to 0.6 branch
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@915430 13f79535-47bb-0310-9956-ffa450edef68
2010-02-23 16:58:58 +00:00
Johan Oskarsson 713710b5fe Merge with 0.6 branch
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@915376 13f79535-47bb-0310-9956-ffa450edef68
2010-02-23 15:17:42 +00:00
Jonathan Ellis 43b86fe61f sub splits
patch by jbellis; reviewed by Stu Hood for CASSANDRA-342

git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@909631 13f79535-47bb-0310-9956-ffa450edef68
2010-02-12 22:02:44 +00:00
Jonathan Ellis 2c6948cb0a expose token-based range queries to thrift
patch by jbellis; reviewed by Stu Hood for CASSANDRA-775

git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@909617 13f79535-47bb-0310-9956-ffa450edef68
2010-02-12 21:42:03 +00:00
Jonathan Ellis 424742134d r/m gen-py, committed accidentally
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@907710 13f79535-47bb-0310-9956-ffa450edef68
2010-02-08 16:02:07 +00:00
Jonathan Ellis c325fcab72 expose describe_ methods replacing the get_*_property ones. add TokenRange struct for describe_ring.
patch by jbellis; reviewed by Stu Hood for CASSANDRA-736

git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@907705 13f79535-47bb-0310-9956-ffa450edef68
2010-02-08 15:57:45 +00:00
Eric Evans f91c7d318d reorganize thrift code generation to match avro
Patch by eevans

git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@904545 13f79535-47bb-0310-9956-ffa450edef68
2010-01-29 16:24:19 +00:00
Eric Evans 1cd17032ea avro rpc schema and code generation
Patch by eevans

git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@904542 13f79535-47bb-0310-9956-ffa450edef68
2010-01-29 16:23:54 +00:00
Eric Evans 542bd7904d refactor thrift-specific code ...server -> ...thrift
This was mostly an IDE-driven effort.

Patch by eevans

git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@904540 13f79535-47bb-0310-9956-ffa450edef68
2010-01-29 16:24:28 +00:00
Jonathan Ellis 3bf9c81577 update CHANGELOG, NEWS, and thrift version string. patch by jbellis
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@904536 13f79535-47bb-0310-9956-ffa450edef68
2010-01-29 16:01:59 +00:00
Gary Dusbabek 0a06292663 Add ConsistencyLevel.ANY for writes. Patch by Gary Dusbabek, reviewed by Jonathan Ellis. CASSANDRA-687
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@902140 13f79535-47bb-0310-9956-ffa450edef68
2010-01-22 16:04:10 +00:00