Commit Graph

930 Commits

Author SHA1 Message Date
Eric Evans 44bd6cfe6a super column support for deletes
Patch by eevans; reviewed by jbellis

git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@888628 13f79535-47bb-0310-9956-ffa450edef68
2009-12-08 23:33:51 +00:00
Eric Evans 81cb157bd3 clean up help synopsis
- removed references to "row"
- removed references to "table"
- reordered commands (put synonymns together)
- aligned to fit in 80 chars wide terminal

Patch by eevans; reviewed by jbellis

git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@888627 13f79535-47bb-0310-9956-ffa450edef68
2009-12-08 23:33:41 +00:00
Eric Evans 4e8691ab1a regenerate thrift code to realize new docstrings
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@888619 13f79535-47bb-0310-9956-ffa450edef68
2009-12-08 22:59:52 +00:00
Eric Evans 965d5a3637 build javadocs for thrift generated code
Patch by eevans

git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@888618 13f79535-47bb-0310-9956-ffa450edef68
2009-12-08 22:59:31 +00:00
Eric Evans f1a06074cd add documentation to thrift interface
Patch by Gary Dusbabek; reviewed by eevans for CASSANDRA-324

git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@888617 13f79535-47bb-0310-9956-ffa450edef68
2009-12-08 22:59:20 +00:00
Jonathan Ellis 5fa2f26a8c increase failure conviction threshold. patch by Brandon Williams; reviewed by jbellis for CASSANDRA-610
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@888576 13f79535-47bb-0310-9956-ffa450edef68
2009-12-08 21:28:33 +00:00
Jonathan Ellis 616ab64c48 r/m unused code. patch by Stu Hood; reviewed by jbellis for CASSANDRA-608
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@888551 13f79535-47bb-0310-9956-ffa450edef68
2009-12-08 19:54:09 +00:00
Jonathan Ellis 27ca056725 replace foreachColumnFamily with getValidColumnFamilies + for loop
patch by jbellis

git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@888531 13f79535-47bb-0310-9956-ffa450edef68
2009-12-08 19:25:55 +00:00
Jonathan Ellis 3e574a962c only GC when compacting all sstables, to avoid situations where the data a tombstone is intended to supress is in an sstable that is not part of the compaction set.
patch by jbellis; reviewed by Ramzi Rabah for CASSANDRA-604

git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@888512 13f79535-47bb-0310-9956-ffa450edef68
2009-12-08 18:45:55 +00:00
Jonathan Ellis ccdb63acfe de-obfuscate. patch by jbellis
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@888280 13f79535-47bb-0310-9956-ffa450edef68
2009-12-08 06:24:10 +00:00
Jonathan Ellis 8417db8fa9 compute major-ness of compaction in the compaction method, rather than relying on caller to do it correctly (as some tests were not). patch by jbellis
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@888279 13f79535-47bb-0310-9956-ffa450edef68
2009-12-08 06:19:30 +00:00
Jonathan Ellis 49197c98a9 add NEWS.txt release notes
patch by jbellis; reviewed by eevans for CASSANDRA-577

git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@888179 13f79535-47bb-0310-9956-ffa450edef68
2009-12-07 23:13:34 +00:00
Jonathan Ellis 71084e306e implement streaming repairs; repair-via-rangecommand TODO
patch by Stu Hood; reviewed by jbellis for CASSANDRA-520

git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@888171 13f79535-47bb-0310-9956-ffa450edef68
2009-12-07 22:51:46 +00:00
Jonathan Ellis b1810fd428 cleanup Streaming and rename transferOneTable -> transferSSTables. patch by Stu Hood; reviewed by jbellis for CASSANDRA-520
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@888170 13f79535-47bb-0310-9956-ffa450edef68
2009-12-07 22:51:05 +00:00
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