[ 
https://issues.apache.org/jira/browse/CASSANDRA-6796?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13963998#comment-13963998
 ] 

Ben Hood commented on CASSANDRA-6796:
-------------------------------------

I'm getting the following error with a 2.0.6 node - is this potentially 
related?   

{noformat}
ERROR [Native-Transport-Requests:16633] 2014-04-09 10:11:45,811 
ErrorMessage.java (line 222) Unexpected exception during request
java.lang.AssertionError: localhost/127.0.0.1
        at 
org.apache.cassandra.service.StorageProxy.submitHint(StorageProxy.java:860)
        at 
org.apache.cassandra.service.StorageProxy.mutate(StorageProxy.java:480)
        at 
org.apache.cassandra.service.StorageProxy.mutateWithTriggers(StorageProxy.java:524)
        at 
org.apache.cassandra.cql3.statements.BatchStatement.executeWithoutConditions(BatchStatement.java:210)
        at 
org.apache.cassandra.cql3.statements.BatchStatement.execute(BatchStatement.java:203)
        at 
org.apache.cassandra.cql3.statements.BatchStatement.executeWithPerStatementVariables(BatchStatement.java:192)
        at 
org.apache.cassandra.cql3.QueryProcessor.processBatch(QueryProcessor.java:373)
        at 
org.apache.cassandra.transport.messages.BatchMessage.execute(BatchMessage.java:206)
        at 
org.apache.cassandra.transport.Message$Dispatcher.messageReceived(Message.java:304)
        at 
org.jboss.netty.handler.execution.ChannelUpstreamEventRunnable.doRun(ChannelUpstreamEventRunnable.java:43)
        at 
org.jboss.netty.handler.execution.ChannelEventRunnable.run(ChannelEventRunnable.java:67)
        at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
        at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
        at java.lang.Thread.run(Thread.java:744)
{noformat}

> StorageProxy may submit hint to itself (with an assert) for CL.Any
> ------------------------------------------------------------------
>
>                 Key: CASSANDRA-6796
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-6796
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Core
>            Reporter: Viktor Kuzmin
>            Priority: Minor
>
> StorageProxy.mutate may  produce WriteTimoutException and with 
> ConsistencyLevel.ANY it tries to submitHint. But submitHint function have 
> assertation - we may not send hints to ourself. That may lead to exception 
> (in case we're among natural endpoints) and hint will be not submitted to 
> other endpoints.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to