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

Andres de la Peña commented on CASSANDRA-12519:
-----------------------------------------------

The error mentioned in the description and in the two tickets that this is a 
duplicate of is about the releveling itself, and I haven't been able to 
reproduce it in 4.0.

However, the error mentioned in the last comment is different. This new error 
consists on a validation error in the transaction log, thrown when running 
{{sstableoflinerelevel}}, at the moment of [listing the 
sstables|https://github.com/apache/cassandra/blob/cassandra-4.0.0/src/java/org/apache/cassandra/tools/SSTableOfflineRelevel.java#L104].
 I haven't been able to reproduce this new type of failure in 3.0 and 3.11, 
although it can be reproduced in 4.0 with a few thousands of rounds in the 
multiplexer.

I suspect that somehow the corruption happens in the previous call to 
{{sstablelevelreset}}, so {{sstableoflinerelevel}} hits it before it actually 
starts the releveling. Indeed, the failure can be reproduced by just calling 
{{sstablelevelreset}} twice, without using {{sstableoflinerelevel}}.

> dtest failure in 
> offline_tools_test.TestOfflineTools.sstableofflinerelevel_test
> -------------------------------------------------------------------------------
>
>                 Key: CASSANDRA-12519
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-12519
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: Test/dtest/python
>            Reporter: Sean McCarthy
>            Assignee: Andres de la Peña
>            Priority: Normal
>             Fix For: 4.0-rc2, 4.0, 3.0.x, 3.11.x, 4.x
>
>         Attachments: node1.log, node1_debug.log, node1_gc.log
>
>
> example failure: 
> http://cassci.datastax.com/job/trunk_offheap_dtest/379/testReport/offline_tools_test/TestOfflineTools/sstableofflinerelevel_test/
> {code}
> Stacktrace
>   File "/usr/lib/python2.7/unittest/case.py", line 329, in run
>     testMethod()
>   File "/home/automaton/cassandra-dtest/offline_tools_test.py", line 209, in 
> sstableofflinerelevel_test
>     self.assertGreater(max(final_levels), 1)
>   File "/usr/lib/python2.7/unittest/case.py", line 942, in assertGreater
>     self.fail(self._formatMessage(msg, standardMsg))
>   File "/usr/lib/python2.7/unittest/case.py", line 410, in fail
>     raise self.failureException(msg)
> "1 not greater than 1
> {code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org
For additional commands, e-mail: commits-h...@cassandra.apache.org

Reply via email to