Jonathan Ellis
c58588945c
set normal gossip messages to level `trace`
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@759220 13f79535-47bb-0310-9956-ffa450edef68
2009-03-27 16:38:42 +00:00
Jonathan Ellis
340cdf4670
expose concrete serializer
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@759219 13f79535-47bb-0310-9956-ffa450edef68
2009-03-27 16:38:34 +00:00
Jonathan Ellis
c139871286
use isSuper
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@759218 13f79535-47bb-0310-9956-ffa450edef68
2009-03-27 16:38:09 +00:00
Jonathan Ellis
21c1d6b9c7
send back response so blocking calls can work
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@759216 13f79535-47bb-0310-9956-ffa450edef68
2009-03-27 16:37:17 +00:00
Jonathan Ellis
2ee9f9e44a
rename WriteResponseMessage -> WriteResponse (it has no relationship to Message class)
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@759215 13f79535-47bb-0310-9956-ffa450edef68
2009-03-27 16:37:00 +00:00
Jonathan Ellis
9049d5919d
fix crash when comparing supercolumns (since they cannot be sorted by time)
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@759214 13f79535-47bb-0310-9956-ffa450edef68
2009-03-27 16:36:36 +00:00
Jonathan Ellis
3a6cbb128c
add deletion marker support to Column (boolean isMarkedForDelete), SuperColumn, and ColumnFamily (change boolean isMarkedForDelete to long markedForDeleteAt). Column is also made immutable to avoid confusion as to how to handle merging different versions of Columns (you don't, you replace the old one with the new). This also makes concurrency bugs impossible, which remove will rely on. Removed old broken remove/delete support in prepartion for working new code.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@759213 13f79535-47bb-0310-9956-ffa450edef68
2009-03-27 16:36:31 +00:00
Jonathan Ellis
4945acd35a
add getColumnFamilyNames. r/m merge() [duplicate of repair]
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@759212 13f79535-47bb-0310-9956-ffa450edef68
2009-03-27 16:36:05 +00:00
Jonathan Ellis
4cb9bf678f
change Object[] to Object... so passing a single one is easier
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@759210 13f79535-47bb-0310-9956-ffa450edef68
2009-03-27 16:35:49 +00:00
Jonathan Ellis
66871216ce
add SuperColumn support to forceFlush. split out recovery flushing into flushOnRecovery.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@759209 13f79535-47bb-0310-9956-ffa450edef68
2009-03-27 16:35:33 +00:00
Jonathan Ellis
6ba824e430
add null check to TimeFilter for consistency
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@759208 13f79535-47bb-0310-9956-ffa450edef68
2009-03-27 16:34:15 +00:00
Jonathan Ellis
dbf05001b6
make local copy of NamesFilter names; modifying caller's List is buggy
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@759206 13f79535-47bb-0310-9956-ffa450edef68
2009-03-27 16:33:25 +00:00
Jonathan Ellis
5ef45143b8
rename createColumn overloads to addColumn to make clear that they are all ultimately doing the same thing
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@759205 13f79535-47bb-0310-9956-ffa450edef68
2009-03-27 16:33:17 +00:00
Jonathan Ellis
2f8268cd09
rename serializer2 -> serializerWithIndexers
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@759204 13f79535-47bb-0310-9956-ffa450edef68
2009-03-27 16:33:02 +00:00
Jonathan Ellis
7f8f72e25b
r/m redundant name from addColumn(name, IColumn)
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@759203 13f79535-47bb-0310-9956-ffa450edef68
2009-03-27 16:32:14 +00:00
Jonathan Ellis
574f8b563d
rename getColumnFamilies -> getColumnFamilyMap. Add public Collection<ColumnFamily> getColumnFamilies
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@759201 13f79535-47bb-0310-9956-ffa450edef68
2009-03-27 16:31:41 +00:00
Avinash Lakshman
0b6c661e42
Part of the multiget() operation.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@759194 13f79535-47bb-0310-9956-ffa450edef68
2009-03-27 16:17:32 +00:00
Avinash Lakshman
d3e63d19aa
Forgot to add this as part of the multiget().
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@759189 13f79535-47bb-0310-9956-ffa450edef68
2009-03-27 16:08:53 +00:00
Avinash Lakshman
bd884e4d98
Final changes made to fix a checkin anomaly.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@759033 13f79535-47bb-0310-9956-ffa450edef68
2009-03-27 06:45:19 +00:00
Avinash Lakshman
1cc4294d34
Basic implementation of multiget() functionality. Fix to how read-repair is done in the ConsistencyManager.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@759028 13f79535-47bb-0310-9956-ffa450edef68
2009-03-27 05:41:59 +00:00
Avinash Lakshman
52062900ca
Some methods added to aggregate the results from multigets.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@759027 13f79535-47bb-0310-9956-ffa450edef68
2009-03-27 05:40:42 +00:00
Avinash Lakshman
964dd9bb57
This is a wierd revert to fix some issues. Some changes will need to be re-applied.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@759026 13f79535-47bb-0310-9956-ffa450edef68
2009-03-27 05:39:40 +00:00
Avinash Lakshman
f5d1a1289c
Changes in here to enable multiget() support.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@759025 13f79535-47bb-0310-9956-ffa450edef68
2009-03-27 05:34:11 +00:00
Avinash Lakshman
f98301a68d
Added some comments in the code.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@759024 13f79535-47bb-0310-9956-ffa450edef68
2009-03-27 05:33:45 +00:00
Avinash Lakshman
d19877f286
Re-checking them in to fix some stuff.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@759022 13f79535-47bb-0310-9956-ffa450edef68
2009-03-27 05:21:26 +00:00
Avinash Lakshman
2b27a9fade
The paritioning related stuff checked in again.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@759021 13f79535-47bb-0310-9956-ffa450edef68
2009-03-27 05:20:50 +00:00
Jonathan Ellis
6c189f73d7
comment out broken tests
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@759014 13f79535-47bb-0310-9956-ffa450edef68
2009-03-27 03:34:34 +00:00
Jonathan Ellis
2249a6a745
log exceptions trapped by FT's
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@759005 13f79535-47bb-0310-9956-ffa450edef68
2009-03-27 02:45:21 +00:00
Jonathan Ellis
1866e3802b
allow user-specified Partitioners
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@759004 13f79535-47bb-0310-9956-ffa450edef68
2009-03-27 02:45:18 +00:00
Jonathan Ellis
76f3302753
add error checking of CF names for people migrating old-style configurations
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@759003 13f79535-47bb-0310-9956-ffa450edef68
2009-03-27 02:45:12 +00:00
Jonathan Ellis
09bc045e26
add check for OPP
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@759002 13f79535-47bb-0310-9956-ffa450edef68
2009-03-27 02:45:02 +00:00
Jonathan Ellis
4c194aa8d1
range query support
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@759001 13f79535-47bb-0310-9956-ffa450edef68
2009-03-27 02:44:57 +00:00
Jonathan Ellis
bf684eea95
clean up FileStruct and make it iterable. (this will be used by range queries.)
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@759000 13f79535-47bb-0310-9956-ffa450edef68
2009-03-27 02:44:49 +00:00
Jonathan Ellis
dd61d5119d
migrate from BigInteger to abstract Token, with BigIntegerToken and StringToken subclasses controlled by Random and OrderPreserving partitioners, respectively
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@758999 13f79535-47bb-0310-9956-ffa450edef68
2009-03-27 02:44:44 +00:00
Jonathan Ellis
8ce795a0a9
r/m unused code dealing with Ranges and tokens
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@758998 13f79535-47bb-0310-9956-ffa450edef68
2009-03-27 02:44:28 +00:00
Jonathan Ellis
20e081f290
consolidates partition behavior in IPartitioner, so creating a new partitioner should be only a matter of implementing that interface. all the external switch statements on PartitionerType have been folded into that.
...
SSTable is now the only part of the code that cares about the distinction between a 'raw' key and a 'decorated' key. variables in that class have been named clientKey or decoratedKey to show which is which. others don't care either because they only deal with decorated keys (SequenceFile) or only with client keys (everyone else). as part of this, I've merged some overloaded methods with substantially duplicated code to simplify auditing these changes.
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@758997 13f79535-47bb-0310-9956-ffa450edef68
2009-03-27 02:44:20 +00:00
Jonathan Ellis
ad1cc13f56
r/m unused BigInteger imports (so i can track the rest down)
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@758996 13f79535-47bb-0310-9956-ffa450edef68
2009-03-27 02:44:10 +00:00
Jonathan Ellis
4cff66a0ee
r/m unused code dealing with hashes
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@758995 13f79535-47bb-0310-9956-ffa450edef68
2009-03-27 02:44:05 +00:00
Jonathan Ellis
2aa0bba0d5
add defaultuncaughtexceptionhandler that logs runtime errors
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@758994 13f79535-47bb-0310-9956-ffa450edef68
2009-03-27 02:43:57 +00:00
Jonathan Ellis
41598bfead
move row mutation factory code into RowMutation; change RM.add(name, cf) to RM.add(cf)
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@758993 13f79535-47bb-0310-9956-ffa450edef68
2009-03-27 02:43:53 +00:00
Jonathan Ellis
a996c8214b
test support. this requires some refactoring so that tests can be independent
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@758992 13f79535-47bb-0310-9956-ffa450edef68
2009-03-27 02:43:46 +00:00
Jonathan Ellis
66dee7aaab
finish remove support. Split CFS.resolve() into resolve(), which combines ColumnFamilies, and removeDeleted(), which takes a single ColumnFamily and returns a new one with deleted IColumns removed. Keep deletion information around until removeDeleted is called so that deletion information can properly supress older IColumns.
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@758983 13f79535-47bb-0310-9956-ffa450edef68
2009-03-27 02:20:08 +00:00
Jonathan Ellis
c5b1b8ba21
clean up getLocalCopy
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@758982 13f79535-47bb-0310-9956-ffa450edef68
2009-03-27 02:20:00 +00:00
Jonathan Ellis
ce8a73f2be
cleanup unused code
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@758981 13f79535-47bb-0310-9956-ffa450edef68
2009-03-27 02:19:56 +00:00
Jonathan Ellis
a9c09a8592
set normal gossip messages to level `trace`
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@758980 13f79535-47bb-0310-9956-ffa450edef68
2009-03-27 02:19:51 +00:00
Jonathan Ellis
07c2d3c29d
expose concrete serializer
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@758979 13f79535-47bb-0310-9956-ffa450edef68
2009-03-27 02:19:45 +00:00
Jonathan Ellis
22c5262720
use isSuper
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@758978 13f79535-47bb-0310-9956-ffa450edef68
2009-03-27 02:19:40 +00:00
Jonathan Ellis
def1edd1fe
send back response so blocking calls can work
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@758977 13f79535-47bb-0310-9956-ffa450edef68
2009-03-27 02:19:35 +00:00
Jonathan Ellis
8f56a96a69
rename WriteResponseMessage -> WriteResponse (it has no relationship to Message class)
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@758976 13f79535-47bb-0310-9956-ffa450edef68
2009-03-27 02:19:30 +00:00
Jonathan Ellis
abc75388a3
fix crash when comparing supercolumns (since they cannot be sorted by time)
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/cassandra/trunk@758975 13f79535-47bb-0310-9956-ffa450edef68
2009-03-27 02:19:24 +00:00