Details
-
Improvement
-
Status: Resolved
-
Normal
-
Resolution: Fixed
-
None
-
None
Description
Cassandra should support Java based clients without requiring the overhead of thrift serialization.
To support this, a java client should be able to join the gossip pool but provide no tokens of its own (so it accepts no writes).
The way this can be done is add a new startup routine to StorageService called startGossip() that would only initialize itself enough to get access to gossip.
I don't think its quite this simple though since cassandra code assumes there is at least one local token in places.
Also, all StorageProxy methods used for thrift service should be made public StorageProxy.getKeyRange() is not public.