[
https://issues.apache.org/jira/browse/CASSANDRA-8592?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14353927#comment-14353927
]
Tyler Hobbs commented on CASSANDRA-8592:
----------------------------------------
bq. Is there a way in dtest to pass a JVM flag only to a specific replica?
If you get a {{ccmlib.node.Node}} instance (e.g. {{node1 =
self.cluster.nodes.values()[0]}}), you should be able to do {{node1.stop()}}
and then {{node1.start(jvm_args=["-Dcassandra.test.fail_writes=True"])}}. I
haven't tested it, but something like that should work.
> Add WriteFailureException
> -------------------------
>
> Key: CASSANDRA-8592
> URL: https://issues.apache.org/jira/browse/CASSANDRA-8592
> Project: Cassandra
> Issue Type: New Feature
> Components: API, Core
> Reporter: Tyler Hobbs
> Assignee: Stefania
> Labels: client-impacting
> Fix For: 3.0
>
>
> Similar to what CASSANDRA-7886 did for reads, we should add a
> WriteFailureException and have replicas signal a failure while handling a
> write to the coordinator.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)