Details
-
Bug
-
Status: Resolved
-
Normal
-
Resolution: Fixed
-
None
-
None
-
Normal
Description
CASSANDRA-6230 added all the necessary pieces in the initial release, but streaming itself didn't make it in time.
Now that hints are stored in flat files, we cannot just stream hints sstables. Instead we need to handoff hints files.
Essentially we need to rewrite StorageService::streamHints to be CASSANDRA-6230 aware.
HintMessage and HintVerbHandler can already handle hints targeted for other nodes (see javadoc for both, it's documented reasonably).
HintsDispatcher also takes hostId as an argument, and can stream any hints to any nodes.
The building blocks are all there - we just need StorageService::streamHints to pick the optimal candidate for each file and use HintsDispatcher to stream the files.