cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mikhail Stepura (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CASSANDRA-7876) Errors in locally handled range slices do not propagate correctly
Date Wed, 03 Sep 2014 22:47:51 GMT

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

Mikhail Stepura commented on CASSANDRA-7876:
--------------------------------------------

[~thobbs] The client does receive an error, but because of {{sission.default_timeout}} the
OperationTimedOut happens before. 
If you specify a longer timeout for {{session.execute}}, you'll see the error from the server.
Server side
{code}
DEBUG 15:38:11,423 Received: EXECUTE 2472335ad2281245607b17721a08efae with 1 values at consistency
ONE, v=2
ERROR 15:38:11,432 Exception in thread Thread[ReadStage:26,5,main]
java.lang.AssertionError: Sequential scan with filters is not supported (if you just created
an index, you need to wait for the creation to be propagated to all nodes before querying
it)
	at org.apache.cassandra.db.filter.ExtendedFilter$WithClauses.getExtraFilter(ExtendedFilter.java:258)
	at org.apache.cassandra.db.ColumnFamilyStore.filter(ColumnFamilyStore.java:1759)
	at org.apache.cassandra.db.ColumnFamilyStore.getRangeSlice(ColumnFamilyStore.java:1709)
	at org.apache.cassandra.db.PagedRangeCommand.executeLocally(PagedRangeCommand.java:119)
	at org.apache.cassandra.service.StorageProxy$LocalRangeSliceRunnable.runMayThrow(StorageProxy.java:1394)
	at org.apache.cassandra.service.StorageProxy$DroppableRunnable.run(StorageProxy.java:1936)
	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:745)
DEBUG 15:38:13,718 GC for ConcurrentMarkSweep: 22 ms for 1 collections, 393432560 used; max
is 2093809664
DEBUG 15:38:21,431 Read timeout: org.apache.cassandra.exceptions.ReadTimeoutException: Operation
timed out - received only 0 responses.
DEBUG 15:38:21,432 Range slice timeout; received 0 of 1 responses for range 257 of 257
DEBUG 15:38:21,432 request complete
DEBUG 15:38:21,432 Responding: ERROR READ_TIMEOUT: Operation timed out - received only 0 responses.,
v=2
{code}

Client side
{code}
ReadTimeout: code=1200 [Coordinator node timed out waiting for replica nodes' responses] message="Operation
timed out - received only 0 responses." info={'received_responses': 0, 'data_retrieved': False,
'required_responses': 1, 'consistency': 1}
{code}

> Errors in locally handled range slices do not propagate correctly
> -----------------------------------------------------------------
>
>                 Key: CASSANDRA-7876
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-7876
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Core
>            Reporter: Tyler Hobbs
>            Assignee: Mikhail Stepura
>             Fix For: 2.0.11, 2.1.1
>
>         Attachments: repro.py
>
>
> Until CASSANDRA-7875 is fixed, the attached repro.py demonstrates the problem.  The client
does not receive an error response from the server, leading to a client-side timeout.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message