[
https://issues.apache.org/jira/browse/CASSANDRA-1951?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Sylvain Lebresne updated CASSANDRA-1951:
----------------------------------------
Attachment: 0002-Remove-thread-creation-of-EmbeddedCassandraService.patch
0001-Allow-to-start-and-stop-the-thrift-server-through-JM.patch
With the first patch there is a race condition in the unit test, in the CliTest
in particular (it cannot connect). This is due to the tests using
EmbeddedCassandraService. Basically the way EmbeddedCassandraService was
written interacted badly with the fact that the CassandraDaemon launch its own
thread and the tests were trying to connect before the server was properly
launched.
Attaching a second patch that simplify EmbeddedCassandraService now that
CassandraDeamon.start() is non-blocking and make the tests pass. I've also
rebased the first patch
> offline local nodes
> -------------------
>
> Key: CASSANDRA-1951
> URL: https://issues.apache.org/jira/browse/CASSANDRA-1951
> Project: Cassandra
> Issue Type: Improvement
> Components: Core
> Reporter: Gary Dusbabek
> Assignee: Sylvain Lebresne
> Priority: Minor
> Fix For: 0.7.2
>
> Attachments:
> 0001-Allow-to-start-and-stop-the-thrift-server-through-JM.patch,
> 0002-Remove-thread-creation-of-EmbeddedCassandraService.patch
>
> Time Spent: 2h
> Remaining Estimate: 0h
>
> We'd like the ability to take a node offline (gossip, thrift, etc), but
> without bringing down cassandra. The main reason is so that compactions can
> be performed completely off-line.
> CASSANDRA-1108 gets us most of the way there, but not all the way.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.