Commit Graph

630 Commits

Author SHA1 Message Date
Joe Schaefer 1888dc4533 cassandra goes tlp
git-svn-id: https://svn.apache.org/repos/asf/cassandra/tags/cassandra-0.4.0-rc2@922689 13f79535-47bb-0310-9956-ffa450edef68
2010-03-13 23:17:20 +00:00
Eric Evans bbd3a50e37 actually tag cassandra-0.4.0-rc2
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/tags/cassandra-0.4.0-rc2@813504 13f79535-47bb-0310-9956-ffa450edef68
2009-09-10 16:35:28 +00:00
Eric Evans 41e221b54b tag 0.4.0-rc2
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/tags/cassandra-0.4.0-rc2@813487 13f79535-47bb-0310-9956-ffa450edef68
2009-09-10 16:03:16 +00:00
Eric Evans 329f642c34 really remove unused continuations code
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/branches/cassandra-0.4@812696 13f79535-47bb-0310-9956-ffa450edef68
2009-09-08 21:19:20 +00:00
Eric Evans 42e451b33d remove unused continuation code
Patch by eevans; reviewed by jbellis for CASSANDRA-428


git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/branches/cassandra-0.4@812695 13f79535-47bb-0310-9956-ffa450edef68
2009-09-08 21:16:12 +00:00
Eric Evans 6030690aa5 remove developer information from pom.xml
Patch by eevans; reviewed by jbellis for CASSANDRA-415


git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/branches/cassandra-0.4@812506 13f79535-47bb-0310-9956-ffa450edef68
2009-09-08 13:40:26 +00:00
Eric Evans 0c55c8458c remove reference to developers section of pom.xml
Patch by eevans; reviewed by jbellis for CASSANDRA-415


git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/branches/cassandra-0.4@812505 13f79535-47bb-0310-9956-ffa450edef68
2009-09-08 13:39:33 +00:00
Eric Evans 8070b9bdf0 updated subversion properties (see: CASSANDRA-429)
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/branches/cassandra-0.4@812260 13f79535-47bb-0310-9956-ffa450edef68
2009-09-07 19:16:50 +00:00
Jonathan Ellis 7ec7106b70 log errors in futuretasks in DScheduledTPE like in DTPE (and clean out unused threadlocal hack). patch by jbellis; reviewed by Eric Evans for CASSANDRA-425
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/branches/cassandra-0.4@812227 13f79535-47bb-0310-9956-ffa450edef68
2009-09-07 17:13:30 +00:00
Jonathan Ellis 4952978d57 merge r812163 (CASSANDRA-418) from trunk
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/branches/cassandra-0.4@812170 13f79535-47bb-0310-9956-ffa450edef68
2009-09-07 14:50:42 +00:00
Eric Evans 24420f6b6a properly order ranges in nodeprobe output
Patch by eevans; review by jbellis for CASSANDRA-421


git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/branches/cassandra-0.4@811482 13f79535-47bb-0310-9956-ffa450edef68
2009-09-04 16:41:53 +00:00
Jonathan Ellis 58db081e87 regenerate with thrift compiler from THRIFT-575 to reject method calls with null parameters. patch by jbellis; reviewed by Sammy Yu for CASSANDRA-308
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/branches/cassandra-0.4@810993 13f79535-47bb-0310-9956-ffa450edef68
2009-09-03 15:29:56 +00:00
Jonathan Ellis 33d5b16145 add contrib/bmt_example/CassandraBulkLoader.java. Patch by Chris Goffinet; reviewed by jbellis for CASSSANDRA-398
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/branches/cassandra-0.4@810988 13f79535-47bb-0310-9956-ffa450edef68
2009-09-03 15:14:50 +00:00
Jonathan Ellis 05431c1490 Always generate sstable generation numbers by atomic increment instead of leaving 'holes' that compaction uses. Sometimes, bucketing is not perfect and the holes method will overwrite one of the being-compacted files. Since #223 it has not been important to keep compacted files lower in generation number than newly created ones so this is both simpler and more correct. Patch by Sammy Yu; reviewed by jbellis for CASSANDRA-418
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/branches/cassandra-0.4@810986 13f79535-47bb-0310-9956-ffa450edef68
2009-09-03 15:11:06 +00:00
Jonathan Ellis bb2b7eef43 name commitlog sync and writer threads. patch by Sammy Yu; reviewed by jbellis for CASSANDRA-419
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/branches/cassandra-0.4@810984 13f79535-47bb-0310-9956-ffa450edef68
2009-09-03 15:03:46 +00:00
Eric Evans 6e64cfb948 updated ant version property for rc1 release
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/branches/cassandra-0.4@810579 13f79535-47bb-0310-9956-ffa450edef68
2009-09-02 15:50:34 +00:00
Jonathan Ellis 9547ae95e8 merge 810540 (clru removal) from trunk (committed in wrong order. oops)
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/branches/cassandra-0.4@810570 13f79535-47bb-0310-9956-ffa450edef68
2009-09-02 15:32:09 +00:00
Jonathan Ellis b41b2ebbd9 update non-major compaction logic to use two threshold values: minimum sstables to compact (4) and maximum to compact at once (32). before, the same threshold (4) was used for both. the new logic lets the system recover faster from a bulk load that generates sstables faster than compaction can combine them. patch by Chris Goffinet and jbellis for CASSANDRA-407
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/branches/cassandra-0.4@810334 13f79535-47bb-0310-9956-ffa450edef68
2009-09-02 02:01:03 +00:00
Jonathan Ellis 4ae05b1036 Do not delete corrupt sstables on startup; skip it and let an operator intervene instead. Patch by Chris Goffinet; reviewed by jbellis for CASSANDRA-343
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/branches/cassandra-0.4@810311 13f79535-47bb-0310-9956-ffa450edef68
2009-09-01 23:38:31 +00:00
Eric Evans 0da45132f2 update NOTICE for for third-party libs
Patch by eevans; reviewed by jbellis for CASSANDRA-411


git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/branches/cassandra-0.4@810281 13f79535-47bb-0310-9956-ffa450edef68
2009-09-01 22:21:48 +00:00
Eric Evans a8607a560d update version string property to 0.4
Patch by eevans; reviewed by jbellis for CASSANDRA-409


git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/branches/cassandra-0.4@810274 13f79535-47bb-0310-9956-ffa450edef68
2009-09-01 22:12:12 +00:00
Eric Evans 9f8c0a391c include flexjson version in jar file name
Patch by eevans; reviewed by jbellis for CASSANDRA-410


git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/branches/cassandra-0.4@810271 13f79535-47bb-0310-9956-ffa450edef68
2009-09-01 22:08:34 +00:00
Eric Evans f0962aec67 top-level reference of lib/licenses
Patch by eevans; reviewed by jbellis for CASSANDRA-371


git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/branches/cassandra-0.4@810259 13f79535-47bb-0310-9956-ffa450edef68
2009-09-01 21:42:22 +00:00
Jonathan Ellis e99e942c7f branch 0.4
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/branches/cassandra-0.4@810145 13f79535-47bb-0310-9956-ffa450edef68
2009-09-01 17:54:19 +00:00
Jonathan Ellis 64c38a2657 inline BatchMutation into batch_insert params
patch by jbellis; reviewed by Evan Weaver for CASSANDRA-403

git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@809793 13f79535-47bb-0310-9956-ffa450edef68
2009-09-01 01:52:03 +00:00
Jonathan Ellis 33ac4dddb0 r/m unused code. patch by jbellis
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@809752 13f79535-47bb-0310-9956-ffa450edef68
2009-08-31 21:31:25 +00:00
Jonathan Ellis 781dfe4b6b allow setting the logging level at runtime via mbean.
patch by jbellis; reviewed by Eric Evans for CASSANDRA-402

git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@809746 13f79535-47bb-0310-9956-ffa450edef68
2009-08-31 21:14:27 +00:00
Jonathan Ellis 7bf57616e6 r/m unused import
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@809719 13f79535-47bb-0310-9956-ffa450edef68
2009-08-31 19:49:14 +00:00
Jonathan Ellis bbd170187b organize api methods by type (retrieval or modification). patch by jbellis
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@809718 13f79535-47bb-0310-9956-ffa450edef68
2009-08-31 19:48:24 +00:00
Jonathan Ellis 526af55263 edit comment describing get_string methods. patch by jbellis
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@809704 13f79535-47bb-0310-9956-ffa450edef68
2009-08-31 19:25:26 +00:00
Jonathan Ellis 35cd1761f6 change default comparator to BytesType
patch by jbellis; reviewed by Chris Goffinet for CASSANDRA-400

git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@809645 13f79535-47bb-0310-9956-ffa450edef68
2009-08-31 16:07:37 +00:00
Jonathan Ellis fa1d99ac96 add forwards-compatible ConsistencyLevel parameter to get_key_range. Currently it is a no-op. patch by Chris Goffinet; reviewed by jbellis for CASSANDRA-322
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@809639 13f79535-47bb-0310-9956-ffa450edef68
2009-08-31 15:50:58 +00:00
Jun Rao 533dcad919 Deadlock with SelectorManager.doProcess and TcpConnection.write; patch by Sammy Yu and junrao; reviewed by Chris Goffinet for CASSANDRA-392
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@809629 13f79535-47bb-0310-9956-ffa450edef68
2009-08-31 15:44:42 +00:00
Jonathan Ellis eb83251bda r/m unnecessary IReplicationStrategy interface. r/m LoadVerbHandler and unused endpoint-related code. rename AbstractStrategy -> AbstractReplicationStrategy and getEndpoint methods.
patch by jbellis; reviewed by Sandeep Tata for CASSANDRA-393

git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@809586 13f79535-47bb-0310-9956-ffa450edef68
2009-08-31 13:35:46 +00:00
Jonathan Ellis 86abfe1027 r/m special case of local destination when writing with ConsistencyLevel.ZERO, since it causes blocking for commitlog. (MessagingService still optimizes out the network write/read.) Patch by Chris Goffinet; reviewed by jbellis for CASSANDRA-399
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@809216 13f79535-47bb-0310-9956-ffa450edef68
2009-08-29 22:39:58 +00:00
Jonathan Ellis 8c3693c6b0 move Map creation into default constructor so we don't waste object creation when the non-default constructor is used
patch by jbellis

git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@809001 13f79535-47bb-0310-9956-ffa450edef68
2009-08-28 19:33:05 +00:00
Jonathan Ellis ac921c44d3 add "required" to non-optional fields. Thrift sucks.
patch by jbellis; reviewed by Eric Evans for CASSANDRA-308

git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@808989 13f79535-47bb-0310-9956-ffa450edef68
2009-08-28 19:02:46 +00:00
Jonathan Ellis dc794169b8 Fixes to make BinaryMemtable useful. Highlights are configurable threads for [binary]memtable flushing and flushAndShutdown JMX/nodeprobe directive.
patch by Chris Goffinet; reviewed by jbellis for CASSANDRA-337

git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@808942 13f79535-47bb-0310-9956-ffa450edef68
2009-08-28 16:27:58 +00:00
Jonathan Ellis 29515c11d7 call doAntiCompaction in the tests the same way we do in the actual code -- by submitting it to the MinorCompactionManager so it serializes with other compaction tasks. patch by Sandeep Tata; reviewed by jbellis for CASSANDRA-395
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@808742 13f79535-47bb-0310-9956-ffa450edef68
2009-08-28 03:05:49 +00:00
Jonathan Ellis 44fcf646bd fix typo reported by Arin.
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@808621 13f79535-47bb-0310-9956-ffa450edef68
2009-08-27 20:49:16 +00:00
Jonathan Ellis 59ec4109e4 bump thrift version to 808609 to fix regression from THRIFT-562. patch by jbellis for CASSANDRA-387
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@808620 13f79535-47bb-0310-9956-ffa450edef68
2009-08-27 20:47:21 +00:00
Jonathan Ellis 40641c73a6 remove multiget_count until/unless there is a demonstrated need for it. patch by jbellis for CASSANDRA-70
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@808597 13f79535-47bb-0310-9956-ffa450edef68
2009-08-27 20:11:49 +00:00
Jonathan Ellis 3427b4b7d2 add apache license boilerplate
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@808590 13f79535-47bb-0310-9956-ffa450edef68
2009-08-27 20:07:16 +00:00
Jonathan Ellis 6690c51359 Update AsyncResult to know when it started waiting so you can get() multiple Results in serial but have them wait in parallel. Use this to implement multiget methods. Remove unused MultiAsyncResult code and StorageProxy methods using it.
Patch by Chris Goffinet; reviewed by jbellis for CASSANDRA-70

git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@808589 13f79535-47bb-0310-9956-ffa450edef68
2009-08-27 20:07:12 +00:00
Jonathan Ellis 0f56a25553 update to thrift trunk and rename jar after the svn revision (806014). inline our map typedef to work around regression introduced in THRIFT-144. add slf4j dependencies (required since THRIFT-558). regenerate thrift structs with new version.
patch by jbellis for CASSANDRA-308, CASSANDRA-387

git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@808559 13f79535-47bb-0310-9956-ffa450edef68
2009-08-27 18:11:58 +00:00
Jonathan Ellis ba88f55d1f fix getUsedDiskSpace to look at data directories recursively. Patch by Sammy Yu; reviewed by jbellis for CASSANDRA-394
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@808546 13f79535-47bb-0310-9956-ffa450edef68
2009-08-27 17:22:03 +00:00
Jonathan Ellis 866b06ec3d better fix for COPP. patch by jbellis
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@808271 13f79535-47bb-0310-9956-ffa450edef68
2009-08-27 03:19:40 +00:00
Jonathan Ellis eb6d11d549 fix unit test. patch by jbellis for CASSANDRA-242
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@808268 13f79535-47bb-0310-9956-ffa450edef68
2009-08-27 03:13:50 +00:00
Jonathan Ellis 021ab75a5f add midpoint method to IPartitioner. patch by Stu Hood; reviewed by jbellis for CASSANDRA-242
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@808206 13f79535-47bb-0310-9956-ffa450edef68
2009-08-26 22:20:23 +00:00
Jonathan Ellis f8fa6d2431 refactors COPP to use BytesToken. patch by Stu Hood; reviewed by jbellis for CASSANDRA-242
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@808205 13f79535-47bb-0310-9956-ffa450edef68
2009-08-26 22:20:13 +00:00