Joe Schaefer
8b21b5a787
cassandra goes tlp
...
git-svn-id: https://svn.apache.org/repos/asf/cassandra/tags/cassandra-0.4.0-rc1@922689 13f79535-47bb-0310-9956-ffa450edef68
2010-03-13 23:17:20 +00:00
Eric Evans
9b38e424fe
tagging 0.4.0-rc1
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/tags/cassandra-0.4.0-rc1@810582 13f79535-47bb-0310-9956-ffa450edef68
2009-09-02 15:55:26 +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
Jonathan Ellis
847f3b0293
1. Switch bootstrapNodes in TokenMetadata to Map<Token,EndPoint> so RackUnawareStrategy can use it.
...
2. Fix AbstractStrategy and RackUnawareStrategy to incorporate the bootstrapping nodes for
getHintedStorageEndPoints through StorageService.getNStorageEndPointMap (now used by insert and
insertBlocking after 383)
3. Add unit test fot RackUnawareStrategy to test if bootstrapping nodes are being returned correctly.
patch by Sandeep Tata; reviewed by jbellis for CASSANDRA-375
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@808161 13f79535-47bb-0310-9956-ffa450edef68
2009-08-26 19:04:07 +00:00
Jonathan Ellis
489143566d
add more (debug) logging to log recovery process. patch by jbellis
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@808151 13f79535-47bb-0310-9956-ffa450edef68
2009-08-26 18:33:46 +00:00
Jonathan Ellis
0fc2d87e2b
combine batch_insert and batch_insert_super the way we did get_slice and get_slice_super
...
patch by jbellis. reviewed by Chris Goffinet and Evan Weaver for CASSANDRA-388
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@808045 13f79535-47bb-0310-9956-ffa450edef68
2009-08-26 15:11:27 +00:00
Jun Rao
c4992f48ce
Expose ring map to client for more direct access; patch by junrao; reviewed by jbellis for CASSANDRA-197
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@807431 13f79535-47bb-0310-9956-ffa450edef68
2009-08-24 23:39:27 +00:00
Jonathan Ellis
a2899de137
[fixed version] avoid opening multiple writers for the current file; the buffered nature of the global logWriter_ could cause problems
...
patch by jbellis; reviewed for CASSANDRA-370 by Sammy Yu
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@807399 13f79535-47bb-0310-9956-ffa450edef68
2009-08-24 22:03:35 +00:00
Jonathan Ellis
eb49a18acd
need to include column container's deletion status when determining whether to include a column in the live count.
...
patch by jbellis; reviewed by Jun Rao for CASSANDRA-386
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@807395 13f79535-47bb-0310-9956-ffa450edef68
2009-08-24 21:48:20 +00:00
Jonathan Ellis
39d97f3892
Revert "CASSANDRA-370 avoid opening multiple writers for the current file; the buffered nature of the global logWriter_ could cause problems"
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@807381 13f79535-47bb-0310-9956-ffa450edef68
2009-08-24 21:13:32 +00:00
Jonathan Ellis
12cbf75280
read(bytes) doesn't automatically throw EOFException if it reads less than asked for, so we need to check for that.
...
patch by jbellis; reviewed by Sammy Yu for CASSANDRA-370
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@807365 13f79535-47bb-0310-9956-ffa450edef68
2009-08-24 20:32:00 +00:00
Jonathan Ellis
5fd4ff7747
CASSANDRA-370 avoid opening multiple writers for the current file; the buffered nature of the global logWriter_ could cause problems
...
patch by jbellis; reviewed by Sammy Yu for CASSANDRA-370
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@807364 13f79535-47bb-0310-9956-ffa450edef68
2009-08-24 20:31:56 +00:00
Eric Evans
e871517c62
updated log file location
...
Patch by eevans; reviewed by jbellis for CASSANDRA-391
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@807334 13f79535-47bb-0310-9956-ffa450edef68
2009-08-24 18:40:20 +00:00
Jonathan Ellis
3917094f04
allow blocking write to create hints if not enough of the "correct" nodes are live, but enough are to fulfil the requested consistency level. patch by Sandeep Tata; reviewed by jbellis and Michael Greene for CASSANDRA-383
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@807305 13f79535-47bb-0310-9956-ffa450edef68
2009-08-24 16:49:21 +00:00
Eric Evans
dcabc0e343
print right side of range in nodeprobe ring output
...
Patch by Sammy Yu and Michael Greene; reviewed by eevans for CASSANDRA-382
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@806362 13f79535-47bb-0310-9956-ffa450edef68
2009-08-20 21:17:59 +00:00
Jonathan Ellis
568933f5c4
change LongType to read longs in big endian order to be consistent with network order and the UUID types.
...
patch by jbellis and Evan Weaver; reviewed by Michael Greene for CASSANDRA-384
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@806342 13f79535-47bb-0310-9956-ffa450edef68
2009-08-20 20:37:45 +00:00
Eric Evans
e741bebb1e
CASSANDRA-373 re{format,factor} conf/storage-conf.xml
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@806325 13f79535-47bb-0310-9956-ffa450edef68
2009-08-20 19:48:10 +00:00