Joe Schaefer
d32f50d8cd
cassandra goes tlp
...
git-svn-id: https://svn.apache.org/repos/asf/cassandra/tags/cassandra-0.3.0-rc2@922689 13f79535-47bb-0310-9956-ffa450edef68
2010-03-13 23:17:20 +00:00
Jonathan Ellis
0b67a27382
tag 0.3 rc2
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/tags/cassandra-0.3.0-rc2@785763 13f79535-47bb-0310-9956-ffa450edef68
2009-06-17 19:18:44 +00:00
Jonathan Ellis
d8b4275288
add changelog. patch by jbellis; reviewed by Jun Rao for CASSANDRA-221
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/branches/cassandra-0.3@783106 13f79535-47bb-0310-9956-ffa450edef68
2009-06-09 19:38:46 +00:00
Jonathan Ellis
b4e90b9e7b
r/m 'touch' code that populates a cache that is never used (and never updated on compaction either, so it's buggy too).
...
patch by jbellis; reviewed by goffinet for CASSANDRA-222
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/branches/cassandra-0.3@782731 13f79535-47bb-0310-9956-ffa450edef68
2009-06-08 19:18:18 +00:00
Jonathan Ellis
bb543e0f4b
cleanup for TcpConnection. patch by jbellis; reviewed by Jun Rao for CASSANDRA-220
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/branches/cassandra-0.3@782678 13f79535-47bb-0310-9956-ffa450edef68
2009-06-08 15:35:34 +00:00
Jonathan Ellis
629b696491
fix race in TcpConnection. patch by Jun Rao; reviewed by jbellis for CASSANDRA-220
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/branches/cassandra-0.3@782656 13f79535-47bb-0310-9956-ffa450edef68
2009-06-08 14:44:57 +00:00
Jonathan Ellis
0e43f5a073
Rename thrift api parameters dealing with column specification. Patch by jbellis; reviewed by Jun Rao for CASSANDRA-214
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/branches/cassandra-0.3@782116 13f79535-47bb-0310-9956-ffa450edef68
2009-06-05 19:43:54 +00:00
Jonathan Ellis
9e4dbf52bf
add BUGS.txt. patch by jbellis and Eric Evans for CASSANDRA-216
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/branches/cassandra-0.3@782110 13f79535-47bb-0310-9956-ffa450edef68
2009-06-05 19:31:38 +00:00
Jonathan Ellis
33f549d0a3
Change select timeout from 100ms to 1. This mitigates a bug on some systems where the select doesn't process new data until the next call. (Spinning faster doesn't increase load on an idle system.) patch by jbellis; tested by goffinet
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/branches/cassandra-0.3@782095 13f79535-47bb-0310-9956-ffa450edef68
2009-06-05 18:38:45 +00:00
Jonathan Ellis
49ed308408
fix wiki link. patch by johano for CASSANDRA-207
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/branches/cassandra-0.3@780680 13f79535-47bb-0310-9956-ffa450edef68
2009-06-01 15:25:48 +00:00
Jonathan Ellis
38dc4fe758
add apache license summary to bash and python scripts. patch by johano; reviewed by jbellis for CASSANDRA-206
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/branches/cassandra-0.3@780679 13f79535-47bb-0310-9956-ffa450edef68
2009-06-01 15:25:45 +00:00
Jonathan Ellis
813fbb0996
incorporate libraries' NOTICEs. patch by johano for CASSANDRA-205
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/branches/cassandra-0.3@780678 13f79535-47bb-0310-9956-ffa450edef68
2009-06-01 15:25:36 +00:00
Jonathan Ellis
83ac967ef2
fix possible data loss during multiple restarts. patch by jbellis; reviewed by Jun Rao for CASSANDRA-204
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/branches/cassandra-0.3@779770 13f79535-47bb-0310-9956-ffa450edef68
2009-05-28 21:04:50 +00:00
Jonathan Ellis
69c19d9de7
add license files for lib/ jars. patch by johano; reviewed by jbellis for CASSANDRA-176
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/branches/cassandra-0.3@779750 13f79535-47bb-0310-9956-ffa450edef68
2009-05-28 19:57:18 +00:00
Jonathan Ellis
f2ecfb5cb1
s/cassandra/apache-cassandra-incubating/. patch by johano; reviewed by jbellis for CASSANDRA-191
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/branches/cassandra-0.3@779747 13f79535-47bb-0310-9956-ffa450edef68
2009-05-28 19:53:52 +00:00
Jonathan Ellis
a41df854d6
OneCompactionTest is failing occasionally because 500 keys per CFS is actually triggering an automatic compaction (since test flush threshold is only 20) and we were doing a non-threadsafe doCompaction for convenience: the failure occurs when our manual compaction begins mid-run of an automatic one, and the automatic deletes the original sstable file first. Fix by (a) dropping the number of keys so that OneCompactionTest lives up to its name (more are tested in "CompactionsTest") and (b) making the compactions call threadsafe by refactoring to allow a threshold parameter to MCM.submit.
...
patch by jbellis; reviewed by Jun Rao for CASSANDRA-184
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/branches/cassandra-0.3@776714 13f79535-47bb-0310-9956-ffa450edef68
2009-05-20 14:40:27 +00:00
Jonathan Ellis
24cc41bd10
add src distribution and change suffixes to .tar.gz. patch by johano; reviewed by jbellis for CASSANDRA-190
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/branches/cassandra-0.3@776713 13f79535-47bb-0310-9956-ffa450edef68
2009-05-20 14:38:52 +00:00
Jonathan Ellis
bbb009ca26
r/m activation.jar for CASSANDRA-186
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/branches/cassandra-0.3@776087 13f79535-47bb-0310-9956-ffa450edef68
2009-05-18 20:50:22 +00:00
Jonathan Ellis
17004b60c5
r/m pcj.jar. patch by jbellis; reviewed by Eric Evans for CASSANDRA-177
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/branches/cassandra-0.3@775368 13f79535-47bb-0310-9956-ffa450edef68
2009-05-15 22:35:09 +00:00
Jonathan Ellis
5758b88232
r/m JSAP library. patch by jbellis; reviewed by Eric Evans for CASSANDRA-178
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/branches/cassandra-0.3@775334 13f79535-47bb-0310-9956-ffa450edef68
2009-05-15 20:57:53 +00:00
Jonathan Ellis
ea8dcf0176
r/m ASM library. patch by johano; reviewed by jbellis for CASSANDRA-179
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/branches/cassandra-0.3@774945 13f79535-47bb-0310-9956-ffa450edef68
2009-05-14 22:02:02 +00:00
Jonathan Ellis
d6b7b7c433
add license header to source files missing one. patch by johano; reviewed by jbellis for CASSANDRA-175
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/branches/cassandra-0.3@774788 13f79535-47bb-0310-9956-ffa450edef68
2009-05-14 14:33:41 +00:00
Jonathan Ellis
3b6c919d93
branch 0.3
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/branches/cassandra-0.3@774578 13f79535-47bb-0310-9956-ffa450edef68
2009-05-13 22:47:24 +00:00
Jonathan Ellis
1fdfad82b3
enable assertions by default. patch by jbellis
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@774568 13f79535-47bb-0310-9956-ffa450edef68
2009-05-13 22:31:52 +00:00
Jonathan Ellis
3d7203266a
replace executor with locking. the interaction between the executor service terminating and the CFS
...
was inherently unsafe -- you would have to lock anyway to make it safe, the atomic reference wasn't
enough, so at that point you might as well get rid of the executor.
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@774567 13f79535-47bb-0310-9956-ffa450edef68
2009-05-13 22:31:49 +00:00
Jonathan Ellis
9bb87e99a4
fix cobetura report. patch by johano; reviewed by jbellis for CASSANDRA-167
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@774525 13f79535-47bb-0310-9956-ffa450edef68
2009-05-13 20:53:15 +00:00
Jonathan Ellis
735008dafc
more log cleanup. patch by jbellis
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@774424 13f79535-47bb-0310-9956-ffa450edef68
2009-05-13 16:47:14 +00:00
Jonathan Ellis
bd3c6acf33
misc cleanup. patch by jbellis
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@774166 13f79535-47bb-0310-9956-ffa450edef68
2009-05-13 02:19:34 +00:00
Jonathan Ellis
f86d47c242
to avoid adding work to terminating executor (which will raise an exception) we need to check for threshold violated _first_, and move puts to the new memtable once flush has started. patch by jbellis; reviewed by Eric Evans for CASSANDRA-165
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@774165 13f79535-47bb-0310-9956-ffa450edef68
2009-05-13 02:17:23 +00:00
Jonathan Ellis
ae70cea79a
fix RackUnawareStrategyTest -- endpoint asserts 'host' is an ip address (to make sure we're not mixing hostnames in again) so create a suitable fake IP for the test. patch by jbellis for CASSANDRA-163
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@774097 13f79535-47bb-0310-9956-ffa450edef68
2009-05-12 21:26:42 +00:00
Jonathan Ellis
3aca0737cb
another workaround for register/select wonkiness. patch by jbellis; tested by Mark Robson for CASSANDRA-156
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@774076 13f79535-47bb-0310-9956-ffa450edef68
2009-05-12 20:46:36 +00:00
Jonathan Ellis
da441aed29
cleanup ssTable filename tracking. patch by jbellis
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@774025 13f79535-47bb-0310-9956-ffa450edef68
2009-05-12 19:11:31 +00:00
Jonathan Ellis
b460bd71c5
test to more reliably reproduce CME during range. fix by locking out compact during range query.
...
patch by jbellis; reviewed by Eric Evans for CASSANDRA-161
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@774024 13f79535-47bb-0310-9956-ffa450edef68
2009-05-12 19:11:27 +00:00
Jonathan Ellis
5886b7c9ac
fix race condition in compaction -- it was possible for a read thread to "snapshot" ssTables_, then have
...
the compactor thread delete those (after merging them into a new file) before the read thread checked
them. Since the read thread's "snapshot" doesn't include the new merged sstable, it incorrectly tells
the caller that the key does not exist.
patch by jbellis; reviewed by Eric Evans for CASSANDRA-161
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@774023 13f79535-47bb-0310-9956-ffa450edef68
2009-05-12 19:11:21 +00:00
Jonathan Ellis
41ee512d6f
fix race condition between when memtable is replaced as the active one and when it's added to
...
the set of historical (pending flush) memtables.
patch by jbellis; reviewed by Eric Evans for CASSANDRA-161
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@774022 13f79535-47bb-0310-9956-ffa450edef68
2009-05-12 19:11:15 +00:00
Jonathan Ellis
6fc61d0cd5
fix junit-related build issues. patch by johano; reviewed by jbellis for CASSANDRA-164
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@774016 13f79535-47bb-0310-9956-ffa450edef68
2009-05-12 18:51:49 +00:00
Jonathan Ellis
2fd856de35
unregister mbean on flush. patch by daishi; reviewed by jbellis for CASSANDRA-157
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@774002 13f79535-47bb-0310-9956-ffa450edef68
2009-05-12 17:56:31 +00:00
Jonathan Ellis
9307f621bc
we don't need these jars for junit
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@773957 13f79535-47bb-0310-9956-ffa450edef68
2009-05-12 16:11:37 +00:00
Jonathan Ellis
5964cd4c04
extract tests that could conflict with each other to a separate test class (= gets own jvm)
...
patch by jbellis; reviewed by Sandeep Tata for CASSANDRA-162
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@773941 13f79535-47bb-0310-9956-ffa450edef68
2009-05-12 15:26:52 +00:00
Jonathan Ellis
97fc5cb8ef
migrate to JUnit 4.6. patch by jbellis; reviewed by Sandeep Tata for CASSANDRA-162
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@773940 13f79535-47bb-0310-9956-ffa450edef68
2009-05-12 15:26:38 +00:00
Jonathan Ellis
8054e4e715
test different data sizes for namesort. patch by jbellis
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@773730 13f79535-47bb-0310-9956-ffa450edef68
2009-05-11 23:52:23 +00:00
Jonathan Ellis
ad2cd9a9ba
more cleanup, mostly by reducing nesting level where possible. patch by jbellis
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@773729 13f79535-47bb-0310-9956-ffa450edef68
2009-05-11 23:52:17 +00:00
Jonathan Ellis
dd1f0972bb
reformat. this is just whitespace changes, automated by the IDE. patch by jbellis
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@773728 13f79535-47bb-0310-9956-ffa450edef68
2009-05-11 23:52:10 +00:00
Jonathan Ellis
fe3e1a8a09
check for at-end-of-data in iterator init. patch by jbellis; reviewed by Jun Rao for CASSANDRA-153
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@773727 13f79535-47bb-0310-9956-ffa450edef68
2009-05-11 23:48:34 +00:00
Jonathan Ellis
dfa41ec103
cannonicalize all accesses to indexMetadataMap.
...
patch by jbellis; reviewed by Jun Rao for CASSANDRA-153
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@773726 13f79535-47bb-0310-9956-ffa450edef68
2009-05-11 23:48:28 +00:00
Jonathan Ellis
69bc7e97c8
unit test to expose bug system test is running into. patch by jbellis; reviewed by Jun Rao for CASSANDRA-153
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@773725 13f79535-47bb-0310-9956-ffa450edef68
2009-05-11 23:48:20 +00:00
Jonathan Ellis
761e953afa
clean up compaction code and refactor to allow user-specified threadhold (minimum number of CFs to compact). patch by jbellis
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@773573 13f79535-47bb-0310-9956-ffa450edef68
2009-05-11 14:26:16 +00:00
Jonathan Ellis
e1971c6d07
allow specifying "ant test -Dtest.name=ColumnFamilyStoreTest" etc. patch by Michael Greene; reviewed by jbellis for CASSANDRA-158
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@773556 13f79535-47bb-0310-9956-ffa450edef68
2009-05-11 13:36:21 +00:00
Jonathan Ellis
44a0a3a54d
fix CME during range queries -- keyset call needs to go on the memtable exector.
...
patch by jbellis; tested by Tv for CASSANDRA-153
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@773152 13f79535-47bb-0310-9956-ffa450edef68
2009-05-09 01:40:16 +00:00
Jonathan Ellis
426bf0f450
expose range query bugs by forcing flushes during the test w/ a very small memtable object limit
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@773151 13f79535-47bb-0310-9956-ffa450edef68
2009-05-09 01:40:07 +00:00