You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Sergio Bossa (JIRA)" <ji...@apache.org> on 2014/06/20 19:33:24 UTC

[jira] [Created] (CASSANDRA-7425) AssertionError when local writes at CL.ANY do not complete due to timeout

Sergio Bossa created CASSANDRA-7425:
---------------------------------------

             Summary: AssertionError when local writes at CL.ANY do not complete due to timeout
                 Key: CASSANDRA-7425
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-7425
             Project: Cassandra
          Issue Type: Bug
          Components: Core
            Reporter: Sergio Bossa


When the local node is overloaded, if local writes at CL.ANY do not complete due to a timeout, an hint is sent to the local node, breaking the following assertion in StorageProxy#submitHint:
{code}
assert !target.equals(FBUtilities.getBroadcastAddress()) : target;
{code}

Cassandra tracing is also affected by this bug:
{noformat}
ERROR [TracingStage:20] 2014-06-18 08:00:44,215 CassandraDaemon.java (line 199) Exception in thread Thread[TracingStage:20,5,main]
java.lang.AssertionError: hostname
        at org.apache.cassandra.service.StorageProxy.submitHint(StorageProxy.java:859)
        at org.apache.cassandra.service.StorageProxy.mutate(StorageProxy.java:490)
        at org.apache.cassandra.tracing.Tracing.mutateWithCatch(Tracing.java:291)
        at org.apache.cassandra.tracing.TraceState$1.runMayThrow(TraceState.java:104)
        at org.apache.cassandra.utils.WrappedRunnable.run(WrappedRunnable.java:28)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
{noformat}



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