Commit Graph

916 Commits

Author SHA1 Message Date
Jonathan Ellis c8664861b7 minor CFS cleanup. patch by Stu Hood; reviewed by jbellis for CASSANDRA-520
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@888169 13f79535-47bb-0310-9956-ffa450edef68
2009-12-07 22:50:31 +00:00
Jonathan Ellis 4a6b002090 support wrapping ranges in IPartitioner.midpoint. patch by Stu Hood; reviewed by jbellis for CASSANDRA-519
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@888140 13f79535-47bb-0310-9956-ffa450edef68
2009-12-07 21:20:25 +00:00
Jonathan Ellis 08479960ee promote a couple streaming debug messages to info. patch by jbellis for CASSANDRA-592
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@888022 13f79535-47bb-0310-9956-ffa450edef68
2009-12-07 17:20:33 +00:00
Chris Goffinet b6aa09fa14 ColumnFamily.onStart() was not checking files related to only it's column family. It was possible to remove files from other CFs thinking they were orphans. Skip files not apart of the CF. patch by goffinet; reviewed by jbellis for CASSANDRA-606
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@887627 13f79535-47bb-0310-9956-ffa450edef68
2009-12-06 01:46:40 +00:00
Jonathan Ellis b169800b90 r/m unused PrimeFinder.java
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@887594 13f79535-47bb-0310-9956-ffa450edef68
2009-12-05 21:52:46 +00:00
Jun Rao 171e1021fe add manual repair through NodeProbe; patched by Stu Hood, reviewed by junrao for CASSANDRA-193
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@887576 13f79535-47bb-0310-9956-ffa450edef68
2009-12-05 18:49:12 +00:00
Jun Rao ac398bd0a7 add AntiEntropyService; patched by Stu Hood, reviewed by junrao for CASSANDRA-193
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@887575 13f79535-47bb-0310-9956-ffa450edef68
2009-12-05 18:47:55 +00:00
Jun Rao f62d4ec14c preparation for AntiEntropyService; patched by Stu Hood, reviewed by junrao for CASSANDRA-193
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@887574 13f79535-47bb-0310-9956-ffa450edef68
2009-12-05 18:46:52 +00:00
Jun Rao c2709044d3 add Merkle tree; patched by Stu Hood, reviewed by junrao for CASSANDRA-193
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@887573 13f79535-47bb-0310-9956-ffa450edef68
2009-12-05 18:44:25 +00:00
Jun Rao e202f1f4e0 preparation for Merkle tree; patched by Stu Hood, reviewed by junrao for CASSANDRA-193
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@887572 13f79535-47bb-0310-9956-ffa450edef68
2009-12-05 18:42:26 +00:00
Jonathan Ellis fb2cbc8922 remove dead Fast* classes
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@887544 13f79535-47bb-0310-9956-ffa450edef68
2009-12-05 14:22:25 +00:00
Eric Evans b8c65fadeb really fix minor styling issue, really
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@887504 13f79535-47bb-0310-9956-ffa450edef68
2009-12-05 05:41:34 +00:00
Eric Evans 987aed491c corrected minor formatting nit
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@887503 13f79535-47bb-0310-9956-ffa450edef68
2009-12-05 05:34:44 +00:00
Eric Evans bbfcb18ae5 cli command completion
Patch by eevans

git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@887502 13f79535-47bb-0310-9956-ffa450edef68
2009-12-05 05:27:48 +00:00
Eric Evans bf6ac62695 improve lazy lookup of keyspace/column family metadata
Patch by eevans

git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@887501 13f79535-47bb-0310-9956-ffa450edef68
2009-12-05 05:27:38 +00:00
Eric Evans 43cc5b1aef document CASSANDRA-567 in changelog
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@887500 13f79535-47bb-0310-9956-ffa450edef68
2009-12-05 05:27:27 +00:00
Eric Evans 94b55880bf cleaner handling of string encoding exceptions
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@887499 13f79535-47bb-0310-9956-ffa450edef68
2009-12-05 05:27:19 +00:00
Eric Evans f2e18632fd refactor of executeGet() to support super columns
Patch by eevans for CASSANDRA-567

git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@887498 13f79535-47bb-0310-9956-ffa450edef68
2009-12-05 05:27:07 +00:00
Eric Evans 601d939e9b refactor of executeSet() to support super columns
Patch by eevans for CASSANDRA-567

git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@887497 13f79535-47bb-0310-9956-ffa450edef68
2009-12-05 05:26:56 +00:00
Jonathan Ellis 0a7bcd5c1f add 581 to CHANGES
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@887491 13f79535-47bb-0310-9956-ffa450edef68
2009-12-05 03:43:58 +00:00
Chris Goffinet 75db7b59b7 Change convertFromDiskFormat to use substring splitting vs using split operation (slow). patch by goffinet; reviewed by stuhood for CASSANDRA-581
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@887481 13f79535-47bb-0310-9956-ffa450edef68
2009-12-05 01:44:41 +00:00
Chris Goffinet 55e13fe616 Remove -Dcassandra from the command line that bin/cassandra generates patch by gdusbabek; reviewed by goffinet for CASSANDRA-601
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@887478 13f79535-47bb-0310-9956-ffa450edef68
2009-12-05 01:29:23 +00:00
Jonathan Ellis 9e0ee8f269 add strong reads to range slicing
patch by jbellis; reviewed by Stu Hood for CASSANDRA-568

git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@887468 13f79535-47bb-0310-9956-ffa450edef68
2009-12-05 00:32:32 +00:00
Jonathan Ellis c9bbba13f5 move resolve, diff out of Row and into CF static methods
patch by jbellis; reviewed by Stu Hood for CASSANDRA-568

git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@887467 13f79535-47bb-0310-9956-ffa450edef68
2009-12-05 00:30:22 +00:00
Jonathan Ellis 23aa01beca convert range slice to use DecoratedKeys
patch by jbellis; reviewed by Stu Hood for CASSANDRA-568

git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@887466 13f79535-47bb-0310-9956-ffa450edef68
2009-12-05 00:27:18 +00:00
Jonathan Ellis 6d96f53add move "are we done yet" check in quorum read entirely into RRR.isDataPresent instead of partly there and partly in QRH.response
patch by jbellis; reviewed by Stu Hood for CASSANDRA-568

git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@887465 13f79535-47bb-0310-9956-ffa450edef68
2009-12-05 00:24:19 +00:00
Jonathan Ellis 42eea2c50d r/m misguided attempt at optimizing merging range scan results from multiple nodes
patch by jbellis; reviewed by Stu Hood for CASSANDRA-568

git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@887463 13f79535-47bb-0310-9956-ffa450edef68
2009-12-05 00:22:31 +00:00
Jonathan Ellis 3fc7f26444 add contrib example of using "fat client" api. patch by gdusbabek; reviewed by jbellis for CASSANDRA-596
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@887456 13f79535-47bb-0310-9956-ffa450edef68
2009-12-04 23:39:18 +00:00
Jonathan Ellis 02a562a3a0 simplify client mode gossip handling. patch by Jaakko Laine; reviewed by jbellis
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@887369 13f79535-47bb-0310-9956-ffa450edef68
2009-12-04 21:38:53 +00:00
Jonathan Ellis eff8c61157 r/m unused HeartBeatState.heartbeat field. patch by Jaakko Laine; reviewed by jbellis for CASSANDRA-597
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@887359 13f79535-47bb-0310-9956-ffa450edef68
2009-12-04 21:13:30 +00:00
Jonathan Ellis 40ed496b91 zero-pad single hex digits in bytesToHex. patch by Stu Hood; reviewed by gdusbabek for CASSANDRA-602
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@887342 13f79535-47bb-0310-9956-ffa450edef68
2009-12-04 20:19:28 +00:00
Eric Evans babb2e34c4 only copy needed resources (copy less greedily)
It would seem that hudson does some sort of test discovery and is trying
to execute some of the extraneous files.

git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@887272 13f79535-47bb-0310-9956-ffa450edef68
2009-12-04 17:07:31 +00:00
Jonathan Ellis 6c6f0c138e r/m method that duplicates Arrays.equals. patch by jbellis
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@887068 13f79535-47bb-0310-9956-ffa450edef68
2009-12-04 05:30:38 +00:00
Jonathan Ellis ad4ef2f87e simplify findSuitableEndPoint by using sortByProximity. patch by jbellis
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@886919 13f79535-47bb-0310-9956-ffa450edef68
2009-12-03 21:03:46 +00:00
Jonathan Ellis 83cce240bf Fix not returning live subcolumns of deleted supercolumns
patch by jbellis; reviewed by junrao for CASSANDRA-583

git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@886886 13f79535-47bb-0310-9956-ffa450edef68
2009-12-03 19:17:03 +00:00
Jonathan Ellis 9cc162d776 account for bootstrapping pending ranges in replication factor assert. patch by jbellis for CASSANDRA-593
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@886332 13f79535-47bb-0310-9956-ffa450edef68
2009-12-02 22:41:23 +00:00
Eric Evans e286a98697 documented CASSANDRA-594 in changelog
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@886330 13f79535-47bb-0310-9956-ffa450edef68
2009-12-02 22:36:16 +00:00
Eric Evans 176cdef27f use JAVA_HOME if set for all unix run scripts
Patch by Kay Kay; reviewed by eevans for CASSANDRA-590

git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@886310 13f79535-47bb-0310-9956-ffa450edef68
2009-12-02 21:29:41 +00:00
Jonathan Ellis 0a7e6d1087 update bmt_example to use new client mode.
patch by jbellis; reviewed by gdusbabek for CASSANDRA-535

git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@886256 13f79535-47bb-0310-9956-ffa450edef68
2009-12-02 18:55:51 +00:00
Jonathan Ellis 360d9b6a98 improve testing of StorageService init, and fix shutdown of messagingservice.
patch by gdusbabek; reviewed by jbellis for CASSANDRA-535

git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@886254 13f79535-47bb-0310-9956-ffa450edef68
2009-12-02 18:54:07 +00:00
Jonathan Ellis eccbe75a38 add StorageService.initClient, which starts up Gossiper without setting a token or anything other application state.
patch by gdusbabek and jbellis for CASSANDRA-535

git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@886253 13f79535-47bb-0310-9956-ffa450edef68
2009-12-02 18:51:45 +00:00
Eric Evans 578fd0ef32 add count and del commands to CLI
Patch by gabriele renzi; reviewed by eevans for CASSANDRA-594

git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@886238 13f79535-47bb-0310-9956-ffa450edef68
2009-12-02 18:32:25 +00:00
Eric Evans 37632c8586 application display name != class name
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@886186 13f79535-47bb-0310-9956-ffa450edef68
2009-12-02 15:53:27 +00:00
Eric Evans 393cbf15dc update test for new Super4 column family definition
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@886010 13f79535-47bb-0310-9956-ffa450edef68
2009-12-01 23:48:31 +00:00
Jonathan Ellis 5da5bf9ae5 use size of sstables as load, instead of naively counting everything in the data directories
patch by jbellis; reviewed by Stu Hood for CASSANDRA-554

git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@886006 13f79535-47bb-0310-9956-ffa450edef68
2009-12-01 23:31:47 +00:00
Eric Evans 8648d3fa01 CASSANDRA-591 remove unused setters
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@885894 13f79535-47bb-0310-9956-ffa450edef68
2009-12-01 19:44:18 +00:00
Eric Evans 255210d557 include missing maven dependencies
Patch by Adam Fisk; reviewed by eevans for CASSANDRA-588

git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@885665 13f79535-47bb-0310-9956-ffa450edef68
2009-12-01 04:12:05 +00:00
Eric Evans 3ce6c65281 more flexible handling of JAVA_HOME in startup scripts
Patch by Kay Kay and eevans for CASSANDRA-589

git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@885663 13f79535-47bb-0310-9956-ffa450edef68
2009-12-01 04:06:06 +00:00
Jonathan Ellis 8e08487c26 skip the system table (keyspace) for cleanup, it's local-only. patch by jbellis; reviewed by Stu Hood for CASSANDRA-579
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@885572 13f79535-47bb-0310-9956-ffa450edef68
2009-11-30 20:00:04 +00:00
Eric Evans afda4ac49d use json-simple method that propagates exceptions
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@885452 13f79535-47bb-0310-9956-ffa450edef68
2009-11-30 15:25:59 +00:00