Joe Schaefer
ac8e74b28e
cassandra goes tlp
...
git-svn-id: https://svn.apache.org/repos/asf/cassandra/tags/cassandra-0.4.0-beta1@922689 13f79535-47bb-0310-9956-ffa450edef68
2010-03-13 23:17:20 +00:00
Eric Evans
215a8a6cdd
update version string for beta1 release
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/tags/cassandra-0.4.0-beta1@804351 13f79535-47bb-0310-9956-ffa450edef68
2009-08-14 20:05:21 +00:00
Jonathan Ellis
7584604cd5
tag 0.4.0 beta 1
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/tags/cassandra-0.4.0-beta1@804298 13f79535-47bb-0310-9956-ffa450edef68
2009-08-14 17:01:06 +00:00
Jonathan Ellis
1aeca2b625
add license headers to new-since-0.3 files.
...
patch by jbellis; reviewed by Eric Evans for CASSANDRA-365
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@804294 13f79535-47bb-0310-9956-ffa450edef68
2009-08-14 16:52:55 +00:00
Jonathan Ellis
7158863861
Fixes for saving Token in SystemTable. patch by jbellis and Sammy Yu for CASSANDRA-362
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@804045 13f79535-47bb-0310-9956-ffa450edef68
2009-08-13 22:16:01 +00:00
Jonathan Ellis
ddf00a509a
give up on trying to optimize startWith -- it's basically impossible when replication factor > 1 b/c of the range wrap point.
...
patch by jbellis; tested by Mark Robson for CASSANDRA-348
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@803716 13f79535-47bb-0310-9956-ffa450edef68
2009-08-12 21:27:24 +00:00
Eric Evans
cd66ac8326
CASSANDRA-361 cleanup left-over references to Cql
...
Patch by Michael Greene (+ regeneration of thrift code); reviewed
by eevans for CASSANDRA-361
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@803355 13f79535-47bb-0310-9956-ffa450edef68
2009-08-12 02:59:55 +00:00
Jonathan Ellis
3ec8258db6
expose threadpool's pendingtasks via nodeprobe. patch by Sammy Yu; reviewed by jbellis for CASSANDRA-360
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@803285 13f79535-47bb-0310-9956-ffa450edef68
2009-08-11 20:40:10 +00:00
Jonathan Ellis
a461792de9
Move CFSerializer into its own file. Rename deserializeEmpty to deserializeFromSSTableNoColumns; add serializeForSSTable and serializeWithIndexes to do the without-metadata serialization. Add SSTableReader.makeColumnFamily to create the CF skeleton w/o reading any data.
...
patch by jbellis; reviewed by Sandeep Tata for CASSANDRA-233
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@803284 13f79535-47bb-0310-9956-ffa450edef68
2009-08-11 20:34:21 +00:00
Jonathan Ellis
ac414f9a52
add back read latency stats for CFS.getColumnFamily. patch by Sammy Yu; reviewed by jbellis for CASSANDRA-359
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@803240 13f79535-47bb-0310-9956-ffa450edef68
2009-08-11 18:27:20 +00:00
Jonathan Ellis
850e865440
use CFS executor for BMt flushes.
...
patch by jbellis; reviewed by Eric Evans for CASSANDRA-337
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@803211 13f79535-47bb-0310-9956-ffa450edef68
2009-08-11 17:17:21 +00:00
Jonathan Ellis
c5c1234ffc
update BUGS.txt for 0.4
...
patch by jbellis; reviewed by Eric Evans and Michael Greene for CASSANDRA-354
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@803208 13f79535-47bb-0310-9956-ffa450edef68
2009-08-11 17:13:06 +00:00
Jonathan Ellis
7ea2c96852
add settings for buffer sizes; make unconfigurable ones more sane.
...
patch by jbellis; reviewed by Jun Rao and Eric Evans for CASSANDRA-355
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@803135 13f79535-47bb-0310-9956-ffa450edef68
2009-08-11 14:13:47 +00:00
Jonathan Ellis
9f570c192d
respect "start" filter argument for subcolumns.
...
patch by jbellis; reviewed by Even Weaver for CASSANDRA-357
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@802978 13f79535-47bb-0310-9956-ffa450edef68
2009-08-11 02:09:40 +00:00
Jonathan Ellis
480650b826
fix typo breaking CompareSubcolumnsWith. fix timeuuid compare with byte[0].
...
patch by jbellis; reviewed by Evan Weaver for CASSANDRA-357
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@802977 13f79535-47bb-0310-9956-ffa450edef68
2009-08-11 02:09:33 +00:00
Jonathan Ellis
7f63092fed
fix build failure. patch by jbellis
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@802969 13f79535-47bb-0310-9956-ffa450edef68
2009-08-11 00:50:19 +00:00
Jonathan Ellis
6b7a1c300f
switch "!isAscending" for "reversed."
...
patch by jbellis, Carl Bystrom, and Bill de hOra. reviewed by Eric Evans for CASSANDRA-311
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@802953 13f79535-47bb-0310-9956-ffa450edef68
2009-08-10 23:17:08 +00:00
Jonathan Ellis
5a31842278
check column-level bloom filter during name-based slicing.
...
patch by jbellis; reviewed by Jun Rao for CASSANDRA-325
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@802950 13f79535-47bb-0310-9956-ffa450edef68
2009-08-10 22:52:08 +00:00
Eric Evans
6861b013c5
CASSANDRA-296 updated CLI output for README.txt
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@802912 13f79535-47bb-0310-9956-ffa450edef68
2009-08-10 19:35:07 +00:00
Eric Evans
8455ebfe87
CASSANDRA-296 remove CQL
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@802911 13f79535-47bb-0310-9956-ffa450edef68
2009-08-10 19:35:01 +00:00
Eric Evans
38c2556834
CASSANDRA-296 remove CQL support from the CLI
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@802909 13f79535-47bb-0310-9956-ffa450edef68
2009-08-10 19:34:45 +00:00
Eric Evans
e3f6bd529f
CASSANDRA-296 fix grammar breakage
...
Changeset ada820 was an attempt to make hostname parsing less stupid,
(i.e. don't allow underscores; do allow hyphens; allow IP addresses).
It didn't entirely fix the problems it set out to and it broke
parsing of anything that used the "Identifier" lexer, (for example
the thrift {get,set} ... commands).
This changeset partially reverts ada820 until a proper fix to
hostname parsing can be found.
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@802908 13f79535-47bb-0310-9956-ffa450edef68
2009-08-10 19:34:38 +00:00
Eric Evans
bf6236ddf6
CASSANDRA-241 optional support for framed transport
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@802898 13f79535-47bb-0310-9956-ffa450edef68
2009-08-10 18:57:03 +00:00
Jonathan Ellis
ceb4a10808
use the existing collectReducedColumns api to make subcolumn slices conform as expected to filter semantics
...
patch by jbellis; reviewed by Evan Weaver for CASSANDRA-356
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@802827 13f79535-47bb-0310-9956-ffa450edef68
2009-08-10 15:30:12 +00:00
Jonathan Ellis
cee37599f6
rename, clean up collectColumns methods
...
patch by jbellis; reviewed by Evan Weaver for CASSANDRA-356
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@802826 13f79535-47bb-0310-9956-ffa450edef68
2009-08-10 15:29:58 +00:00
Jonathan Ellis
15354b4906
Combine thrift slice methods. Now we have one get() method, one get_slice(), and one get_count().
...
patch by jbellis; reviewed by Evan Weaver for CASSANDRA-329
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@802640 13f79535-47bb-0310-9956-ffa450edef68
2009-08-10 02:51:35 +00:00
Jonathan Ellis
5ed5464e31
add Ruby namespace. patch by Evan Weaver; reviewed by Michael Koziarski and Scott Chacon for CASSANDRA-327
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@802639 13f79535-47bb-0310-9956-ffa450edef68
2009-08-10 02:49:33 +00:00
Jonathan Ellis
9d6f4752b6
reduce buffer sizes for test suite since it forces lots of small flushes. reduces NameSortTest from ~30s back to < 10s.
...
patch by jbellis for CASSANDRA-339
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@802276 13f79535-47bb-0310-9956-ffa450edef68
2009-08-08 00:59:14 +00:00
Jonathan Ellis
a7f0fb64ae
r/m unwanted file. patch by jbellis
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@802268 13f79535-47bb-0310-9956-ffa450edef68
2009-08-07 23:30:32 +00:00
Jonathan Ellis
d748648b23
fix broken casts. patch by Bill de hOra; reviewed by jbellis for CASSANDRA-338
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@802267 13f79535-47bb-0310-9956-ffa450edef68
2009-08-07 23:29:50 +00:00
Jonathan Ellis
25dbb8cf85
update test config to use CollatingOPP. patch by jbellis for CASSANDRA-339
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@802246 13f79535-47bb-0310-9956-ffa450edef68
2009-08-07 22:01:17 +00:00
Jonathan Ellis
fa53f58871
make default OPP non-collating (compare is faster).
...
patch by jbellis; reviewed by Sammy Yu for CASSANDRA-339
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@802186 13f79535-47bb-0310-9956-ffa450edef68
2009-08-07 20:57:08 +00:00
Jonathan Ellis
e24925d49e
add SSTableWriter buffer size option; increase default.
...
patch by jbellis; reviewed by Sammy Yu for CASSANDRA-339
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@802185 13f79535-47bb-0310-9956-ffa450edef68
2009-08-07 20:57:02 +00:00
Jonathan Ellis
8a9c25ae0e
- switch from trying to get the next endpoint by increasing offset to asking tokenMetadata for "the next
...
one." this will always be correct where the offset approach will not (usually you want offset to just be 1,
but sometimes you have to keep increasing it if no results are found but the range is still not finished)
- merge results differently when the endpoint responsible for where the ring wraps is involved, since
that endpoint can hold keys from both the beginning and end of the range.
patch by jbellis; tested by Mark Robson for CASSANDRA-348
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@802180 13f79535-47bb-0310-9956-ffa450edef68
2009-08-07 20:48:45 +00:00
Jonathan Ellis
fba03ce691
move getKeyRange to CFS, where it encapsulates better.
...
patch by jbellis; reviewed by Eric Evans for CASSANDRA-345
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@802098 13f79535-47bb-0310-9956-ffa450edef68
2009-08-07 17:35:25 +00:00
Jonathan Ellis
9a9371d1ef
include index and bloom filter in snapshots. patch by Sammy Yu; reviewed by jbellis for CASSANDRA-353
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@802093 13f79535-47bb-0310-9956-ffa450edef68
2009-08-07 17:08:16 +00:00
Jonathan Ellis
cb0e6a348f
human-readable error for bad CommitLogSyncDelay.
...
patch by jbellis; reviewed by Eric Evans for CASSANDRA-349
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@802092 13f79535-47bb-0310-9956-ffa450edef68
2009-08-07 17:03:32 +00:00
Jonathan Ellis
d221a41719
tests + fix for bsearch returning not-found-to-the-right
...
patch by jbellis; reviewed by Jun Rao for CASSANDRA-351
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@802078 13f79535-47bb-0310-9956-ffa450edef68
2009-08-07 16:24:54 +00:00
Jonathan Ellis
00190bf20e
inline excessively abstracted reTest setup
...
patch by jbellis; reviewed by Jun Rao for CASSANDRA-351
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@802077 13f79535-47bb-0310-9956-ffa450edef68
2009-08-07 16:24:41 +00:00
Jonathan Ellis
1dd5f60422
compact slicelarge row to ensure we are in fact testing with more than the minimum index count
...
patch by jbellis; reviewed by Jun Rao for CASSANDRA-351
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@802076 13f79535-47bb-0310-9956-ffa450edef68
2009-08-07 16:24:31 +00:00
Jonathan Ellis
671912ef57
final cleanup of SSTableSliceIterator, now with less unnecessary copying of Columns around
...
patch by jbellis; reviewed by Jun Rao for CASSANDRA-332
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@802075 13f79535-47bb-0310-9956-ffa450edef68
2009-08-07 16:24:25 +00:00
Jonathan Ellis
4a0860e4fe
avoid copying variables to ColumnGroupReader that it can get from the parent class. rename underscored variables.
...
patch by jbellis; reviewed by Jun Rao for CASSANDRA-332
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@802074 13f79535-47bb-0310-9956-ffa450edef68
2009-08-07 16:24:17 +00:00
Jonathan Ellis
c011c67182
move comparator out of IndexInfo
...
patch by jbellis; reviewed by Jun Rao for CASSANDRA-332
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@802073 13f79535-47bb-0310-9956-ffa450edef68
2009-08-07 16:24:12 +00:00
Jonathan Ellis
a9c6a1e7d6
always write at least one index (with first and last column of the range) for the columns in row. this vastly simplifies column reading code and makes indexing bugs much more obvious (since there is only one read path each for names / slices now).
...
patch by jbellis; reviewed by Jun Rao for CASSANDRA-332
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@802072 13f79535-47bb-0310-9956-ffa450edef68
2009-08-07 16:24:04 +00:00
Jonathan Ellis
0f2a76bb5b
don't serialize unused column count into column index. remove DataInput/Output round-tripping from ColumnGroupReader
...
patch by jbellis; reviewed by Jun Rao for CASSANDRA-332
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@802071 13f79535-47bb-0310-9956-ffa450edef68
2009-08-07 16:23:53 +00:00
Jonathan Ellis
b3b9cd8d51
add test for multi-block reversal.
...
patch by jbellis; reviewed by Jun Rao for CASSANDRA-332
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@802070 13f79535-47bb-0310-9956-ffa450edef68
2009-08-07 16:23:42 +00:00
Eric Evans
3924ae9fe8
have bin/cassandra startup script respect JAVA_HOME
...
Patch by Joe Stump; reviewed by eevans for CASSANDRA-352
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@802067 13f79535-47bb-0310-9956-ffa450edef68
2009-08-07 16:19:32 +00:00
Jonathan Ellis
449a444c7d
fix range query buglet; add debug logging
...
patch by jbellis; tested by Mark Robson for CASSANDRA-348
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@801676 13f79535-47bb-0310-9956-ffa450edef68
2009-08-06 15:34:22 +00:00
Jonathan Ellis
e1e6a6c554
Improve the speed of RandomPartitioner comparator. patch by Sammy Yu; reviewed by jbellis for CASSANDRA-346
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@801493 13f79535-47bb-0310-9956-ffa450edef68
2009-08-06 01:55:29 +00:00
Jonathan Ellis
88b0ee7be4
fix more findbugs complaints. patch by Michael Greene; reviewed by jbellis for CASSANDRA-338
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@801228 13f79535-47bb-0310-9956-ffa450edef68
2009-08-05 13:38:40 +00:00