You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Alan Boudreault (JIRA)" <ji...@apache.org> on 2015/05/03 18:15:06 UTC
[jira] [Commented] (CASSANDRA-9171) Add deletions to paging dtests
[ https://issues.apache.org/jira/browse/CASSANDRA-9171?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14525891#comment-14525891 ]
Alan Boudreault commented on CASSANDRA-9171:
--------------------------------------------
Tentative PR for these new tests: https://github.com/riptano/cassandra-dtest/pull/253
I have an issue with the last test (test_failure_threshold_deletions), not sure why yet... will investigate more tomorrow. Here's the traceback:
{code}
aboudreault@kovarro:~/git/cstar/cassandra-dtest$ nosetests paging_test.py:TestPagingWithDeletions.test_failure_threshold_deletions
E
======================================================================
ERROR: test_failure_threshold_deletions (paging_test.TestPagingWithDeletions)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/aboudreault/git/cstar/cassandra-dtest/paging_test.py", line 1255, in test_failure_threshold_deletions
NoHostAvailable, self.check_all_paging_results, [], 0, []
File "/usr/lib/python2.7/unittest/case.py", line 475, in assertRaises
callableObj(*args, **kwargs)
File "/home/aboudreault/git/cstar/cassandra-dtest/paging_test.py", line 998, in check_all_paging_results
pf = self.get_page_fetcher()
File "/home/aboudreault/git/cstar/cassandra-dtest/paging_test.py", line 989, in get_page_fetcher
return PageFetcher(future)
File "/home/aboudreault/git/cstar/cassandra-dtest/paging_test.py", line 57, in __init__
self.wait(seconds=30)
File "/home/aboudreault/git/cstar/cassandra-dtest/paging_test.py", line 117, in wait
raise RuntimeError("Requested pages were not delivered before timeout.")
RuntimeError: Requested pages were not delivered before timeout.
-------------------- >> begin captured logging << --------------------
dtest: DEBUG: cluster ccm directory: /tmp/dtest-QEhCUV
cassandra.cluster: ERROR: Unexpected exception while handling result in ResponseFuture:
Traceback (most recent call last):
File "/home/aboudreault/git/cstar/python-driver/cassandra/cluster.py", line 2807, in _set_result
self._set_final_exception(response.to_exception())
File "/home/aboudreault/git/cstar/python-driver/cassandra/cluster.py", line 2901, in _set_final_exception
fn(response, *args, **kwargs)
File "/home/aboudreault/git/cstar/cassandra-dtest/paging_test.py", line 75, in handle_error
raise exc
ReadTimeout: code=1200 [Coordinator node timed out waiting for replica nodes' responses] message="Operation timed out - received only 0 responses." info={'received_responses': 0, 'required_responses': 2, 'consistency': 'ALL'}
cassandra.connection: ERROR: Callback handler errored, ignoring:
Traceback (most recent call last):
File "/home/aboudreault/git/cstar/python-driver/cassandra/connection.py", line 446, in process_msg
callback(response)
File "/home/aboudreault/git/cstar/python-driver/cassandra/cluster.py", line 2832, in _set_result
self._set_final_exception(exc)
File "/home/aboudreault/git/cstar/python-driver/cassandra/cluster.py", line 2901, in _set_final_exception
fn(response, *args, **kwargs)
File "/home/aboudreault/git/cstar/cassandra-dtest/paging_test.py", line 75, in handle_error
raise exc
ReadTimeout: code=1200 [Coordinator node timed out waiting for replica nodes' responses] message="Operation timed out - received only 0 responses." info={'received_responses': 0, 'required_responses': 2, 'consistency': 'ALL'}
--------------------- >> end captured logging << ---------------------
{/code}
The code fails even with a higher timeout (tried 90,200...). at this line: self.wait(seconds=30)
> Add deletions to paging dtests
> ------------------------------
>
> Key: CASSANDRA-9171
> URL: https://issues.apache.org/jira/browse/CASSANDRA-9171
> Project: Cassandra
> Issue Type: Test
> Components: Tests
> Reporter: Tyler Hobbs
> Assignee: Alan Boudreault
> Labels: retrospective_generated
>
> Deletions can easily impact paging (see CASSANDRA-8490 for an example). We should improve the paging dtests to include various kinds of deletions: partition-level, row-level, and cell-level. The tests should also exercise deleting enough contiguous partitions/rows/levels to fill an entire page.
> Assigning to [~rhatch] for now since he created the original paging tests, but I can reassign this if needed.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)