Commit Graph

644 Commits

Author SHA1 Message Date
Jonathan Ellis ca8fa16c5e combine "initiated" and requested streaming paths
patch by jbellis; reviewed by Nick Bailey for CASSANDRA-1506

git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@997527 13f79535-47bb-0310-9956-ffa450edef68
2010-09-15 22:22:09 +00:00
Gary Dusbabek 77cebf9774 avro system tests. patch by gdusbabek, reviewed by jbellis. CASSANDRA-1477
git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@997491 13f79535-47bb-0310-9956-ffa450edef68
2010-09-15 20:38:59 +00:00
Gary Dusbabek dc5da90c71 revert r996974. fix by adding a switch to files() to allow it to be used to get valid files and generate a count. patch by gdusbabek, reviewed by jbellis. CASSANDRA-1477
git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@997489 13f79535-47bb-0310-9956-ffa450edef68
2010-09-15 20:38:23 +00:00
Jonathan Ellis de034ffee0 avoid exposing StreamContext outside the Session managers, and make the Sessions the handle for streaming work. also removes unncessary extra Collections from the session objects.
patch by jbellis; reviewed by Nick Bailey for CASSANDRA-1504


git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@997119 13f79535-47bb-0310-9956-ffa450edef68
2010-09-14 22:25:53 +00:00
Jonathan Ellis a8e5c18945 add back tablename parameter in preparation for merging initiated/non code paths. patch by jbellis
git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@997082 13f79535-47bb-0310-9956-ffa450edef68
2010-09-14 20:34:53 +00:00
Gary Dusbabek 1ab976be2a ensure that compacted sstables are excluded from newly instantiated readers. patch by gdusbabek, reviewed by jbellis. CASSANDRA-1477
git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@996974 13f79535-47bb-0310-9956-ffa450edef68
2010-09-14 16:28:29 +00:00
Jonathan Ellis dbbe856c56 clean up StreamHeader constructor, r/m unused parameter from transferSSTables. patch by jbellis
git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@996939 13f79535-47bb-0310-9956-ffa450edef68
2010-09-14 15:08:11 +00:00
Jonathan Ellis 89fbc1b031 rename ApplicationState -> VersionedValue; add enum ApplicationState
patch by jbellis; reviewed by gdusbabek for CASSANDRA-1499



git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@996736 13f79535-47bb-0310-9956-ffa450edef68
2010-09-14 02:27:02 +00:00
Jonathan Ellis 629fa9eb11 consolidate ApplicationState construction in ApplicationStateFactory
patch by jbellis; reviewed by gdusbabek for CASSANDRA-149n9


git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@996735 13f79535-47bb-0310-9956-ffa450edef68
2010-09-14 02:26:50 +00:00
Gary Dusbabek cac6a28add broadcast removetoken using MOVE,NORMAL to preserve the coordinator state. patch by gdusbabek, reviewed by jbellis. CASSANDRA-1467
git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@996590 13f79535-47bb-0310-9956-ffa450edef68
2010-09-13 16:11:01 +00:00
Jonathan Ellis 4dd8fa51ff remove tombstones during non-major compactions when bloom filter verifies that row does not exist in other sstables
patch by Sylvain Lebresne; reviewed by jbellis for CASSANDRA-1074

git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@996541 13f79535-47bb-0310-9956-ffa450edef68
2010-09-13 14:06:08 +00:00
Jonathan Ellis b324537e99 Incorporate Components into ColumnFamilyStore loading: no more matching Data.db, etc!
patch by Stu Hood; reviewed by jbellis for CASSANDRA-1471


git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@993171 13f79535-47bb-0310-9956-ffa450edef68
2010-09-06 22:47:44 +00:00
Jonathan Ellis 52b6edc413 naive replacement of String stage names w/ Stage enum. also replaces MS.defaultExecutor w/ Stage.MISC
patch by jbellis; reviewed by Nate McCall for CASSANDRA-1465


git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@993165 13f79535-47bb-0310-9956-ffa450edef68
2010-09-06 22:22:35 +00:00
Jonathan Ellis 0973793b95 Switch to TFramedTransport in TestRingCache. patch by Stu Hood; reviewed by jbellis for CASSANDRA-1434
git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@993084 13f79535-47bb-0310-9956-ffa450edef68
2010-09-06 16:15:18 +00:00
Jonathan Ellis d08e34a765 apply reversed flag during collation from different data sources. patch by jbellis; reviewed by brandonwilliams for CASSANDRA-1450
git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@992710 13f79535-47bb-0310-9956-ffa450edef68
2010-09-05 03:30:55 +00:00
Brandon Williams 2893b7f7a5 Move persistent sstable stats from the system table to an sstable component. Patch by brandonwilliams, reviewed by jbellis for CASSANDRA-1430
git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@992524 13f79535-47bb-0310-9956-ffa450edef68
2010-09-04 03:31:36 +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 cf720abd86 UpdateColumn family. patch by gdusbabek, reviewed by stuhood. CASSANDRA-1285
git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@992453 13f79535-47bb-0310-9956-ffa450edef68
2010-09-03 20:24:59 +00:00
Gary Dusbabek d6b55b5f20 UpdateKeyspace migration. patch by gdusbabek, reviewed by stuhood. CASSANDRA-1285
git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@992452 13f79535-47bb-0310-9956-ffa450edef68
2010-09-03 20:24:48 +00:00
Gary Dusbabek 213f43b079 avro tests batch mutate in supercolumns
git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@992315 13f79535-47bb-0310-9956-ffa450edef68
2010-09-03 14:51:56 +00:00
Brandon Williams 69a21a33f1 avro: test get_indexed_slices. Patch by brandonwilliams
git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@992118 13f79535-47bb-0310-9956-ffa450edef68
2010-09-02 21:17:10 +00:00
Gary Dusbabek 3628d26f29 avro test_time_uuid for sc
git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@992103 13f79535-47bb-0310-9956-ffa450edef68
2010-09-02 20:22:00 +00:00
Gary Dusbabek a4d12f22ac avro tests need to create both test keyspaces
git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@992102 13f79535-47bb-0310-9956-ffa450edef68
2010-09-02 20:21:57 +00:00
Eric Evans ea9e516539 functional tests for truncate and describe_ring (avro)
Patch by Nirmal Ranganathan (w/ minor changes); reviewd by eevans

git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@992055 13f79535-47bb-0310-9956-ffa450edef68
2010-09-02 19:02:23 +00:00
Gary Dusbabek 14d59a01ab avro sc tests
git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@992054 13f79535-47bb-0310-9956-ffa450edef68
2010-09-02 19:00:47 +00:00
Gary Dusbabek 900878aa9a make avro sc tests more like thrift sc tests
git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@992015 13f79535-47bb-0310-9956-ffa450edef68
2010-09-02 16:42:25 +00:00
Brandon Williams 48791056ff Add avro test for slicing supercolumns. Patch by brandonwilliams
git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@991740 13f79535-47bb-0310-9956-ffa450edef68
2010-09-01 22:31:46 +00:00
Gary Dusbabek 314ceda6cf avro test_missing_super
git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@991706 13f79535-47bb-0310-9956-ffa450edef68
2010-09-01 21:07:22 +00:00
Gary Dusbabek ec2f84b032 avro unicode sanity test
git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@991694 13f79535-47bb-0310-9956-ffa450edef68
2010-09-01 20:31:22 +00:00
Gary Dusbabek 3f1ee1c4f3 move avro meta tests, delete test_avro_server
git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@991625 13f79535-47bb-0310-9956-ffa450edef68
2010-09-01 17:54:20 +00:00
Gary Dusbabek c48cfc8678 move arvo supercolumn tests and cleanup
git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@991623 13f79535-47bb-0310-9956-ffa450edef68
2010-09-01 17:52:11 +00:00
Gary Dusbabek b11fe2aa4a move avro system tests, create avro_utils
git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@991609 13f79535-47bb-0310-9956-ffa450edef68
2010-09-01 17:22:07 +00:00
Eric Evans 67a93935db move standard cf tests to test_avro_standard.py
Patch by eevans

git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@991607 13f79535-47bb-0310-9956-ffa450edef68
2010-09-01 17:12:29 +00:00
Eric Evans bfcc640684 stubs for restructured avro system tests
Patch by eevans

git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@991598 13f79535-47bb-0310-9956-ffa450edef68
2010-09-01 16:41:22 +00:00
Gary Dusbabek 4ddbd78bb6 avro system tests for system_*_keyspace operations
git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@991590 13f79535-47bb-0310-9956-ffa450edef68
2010-09-01 16:20:15 +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
Jonathan Ellis c450da8808 avoid attempting to keep CL header constant size (schema change can defeat this); it's not necessary now that header is a separate file now. forceNewSegment was attempting to start a new CL header when the schema changed, which was race-prone.
patch by jbellis; reviewed by gdusbabek for CASSANDRA-1435

git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@991210 13f79535-47bb-0310-9956-ffa450edef68
2010-08-31 14:54:10 +00:00
Jonathan Ellis fab33fb4e8 replace CF graveyard with CFS.removeAllSSTables (which is recursive to handle 2ary index files); also handle 2ary indexes in renaming migrations.
patch by jbellis and gdusbabek for CASSANDRA-1406

git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@990251 13f79535-47bb-0310-9956-ffa450edef68
2010-08-27 20:19:44 +00:00
Jonathan Ellis cfa5ffdd59 Use Avro objects as input to CFOutputFormat. patch by Stu Hood; reviewed by jbellis for CASSANDRA-1315
git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@989370 13f79535-47bb-0310-9956-ffa450edef68
2010-08-25 20:50:45 +00:00
Jonathan Ellis 5ac1aaba53 fix EH.max. patch by jbellis and brandonwilliams for CASSANDRA-1413
git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@989352 13f79535-47bb-0310-9956-ffa450edef68
2010-08-25 20:35:15 +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 7173a088f4 allow loading cassandra.yaml from url specified by cassandra.config system property. patch by jbellis; reviewed by gdusbabek for CASSANDRA-1126
git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@988578 13f79535-47bb-0310-9956-ffa450edef68
2010-08-24 14:49:23 +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
Jonathan Ellis 6055d1b696 prevent writes of obsolete data from updating 2ary indexes. patch by jbellis
git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@987800 13f79535-47bb-0310-9956-ffa450edef68
2010-08-21 17:30:30 +00:00
Jonathan Ellis 775293210c fix Clock regression in handling timestamp ties (tombstone takes precedence, then column w/ higher value. patch by jbellis
git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@987788 13f79535-47bb-0310-9956-ffa450edef68
2010-08-21 16:51:11 +00:00
Jonathan Ellis b2a8d8954b finish removing bitmasks from internals (see CASSANDRA-1312). patch by jbellis
git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@987733 13f79535-47bb-0310-9956-ffa450edef68
2010-08-21 11:55:30 +00:00
Jonathan Ellis 3e7343e105 allow index expressions against columns that are not part of the SlicePredicate.
patch by jbellis; reviewed by Nate McCall for CASSANDRA-1410

git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@987728 13f79535-47bb-0310-9956-ffa450edef68
2010-08-21 11:37:04 +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
Jonathan Ellis 7b692b809d Revert "allow index expressions against columns that are not part of the SlicePredicate."
git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@987642 13f79535-47bb-0310-9956-ffa450edef68
2010-08-20 21:44:24 +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