cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sylvain Lebresne (JIRA)" <>
Subject [jira] [Commented] (CASSANDRA-10779) Mutations do not block for completion under view lock contention
Date Wed, 03 Feb 2016 13:59:39 GMT


Sylvain Lebresne commented on CASSANDRA-10779:

bq. Agreed the test is a non-issue +1

I'm not sure I agree. That message is logged due to a timeout, which is not a real error as
far as C* is concerned, and logging like that could easily flood the log with a not too useful
message. In fact, it appears the place where the exception is throw was explicitly trying
to ignore timeouts, but the timeout is wrapped by a {{RuntimeException}} so it get through.
I think we better fix that.

In general, the MV tests don't do anything terribly nasty, so having them log anything at
ERROR is definitively a bad smell.

> Mutations do not block for completion under view lock contention
> ----------------------------------------------------------------
>                 Key: CASSANDRA-10779
>                 URL:
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Local Write-Read Paths
>         Environment: Windows 7 64-bit, Cassandra v3.0.0, Java 1.8u60
>            Reporter: Will Zhang
>            Assignee: Carl Yeksigian
>             Fix For: 3.0.3, 3.3
> Hi guys,
> I encountered the following warning message when I was testing to upgrade from v2.2.2
to v3.0.0. 
> It looks like a write time-out but in an uncaught exception. Could this be an easy fix?
> Log file section below. Thank you!
> {code}
> 	WARN  [SharedPool-Worker-64] 2015-11-26 14:04:24,678
- Uncaught exception on thread Thread[SharedPool-Worker-64,10,main]: {}
> org.apache.cassandra.exceptions.WriteTimeoutException: Operation timed out - received
only 0 responses.
> 		at org.apache.cassandra.db.Keyspace.apply( ~[apache-cassandra-3.0.0.jar:3.0.0]
> 		at org.apache.cassandra.db.Keyspace.apply( ~[apache-cassandra-3.0.0.jar:3.0.0]
> 		at org.apache.cassandra.db.Mutation.apply( ~[apache-cassandra-3.0.0.jar:3.0.0]
> 		at org.apache.cassandra.db.Keyspace.lambda$apply$59( ~[apache-cassandra-3.0.0.jar:3.0.0]
> 		at java.util.concurrent.Executors$ ~[na:1.8.0_60]
> 		at org.apache.cassandra.concurrent.AbstractTracingAwareExecutorService$
> 		at [apache-cassandra-3.0.0.jar:3.0.0]
> 		at [na:1.8.0_60]
> 	INFO  [IndexSummaryManager:1] 2015-11-26 14:41:10,527 -
Redistributing index summaries
> {code}

This message was sent by Atlassian JIRA

View raw message