Details
-
Sub-task
-
Status: Resolved
-
Normal
-
Resolution: Fixed
-
None
Description
counter_tests.TestCounters.upgrade_test
will fail when run on a cluster with JVM assertions disabled. The tests will hang when cassandra throws the following exception:
java.lang.IllegalStateException: No match found at java.util.regex.Matcher.group(Matcher.java:536) ~[na:1.8.0_60] at org.apache.cassandra.db.lifecycle.LogFile.make(LogFile.java:52) ~[main/:na] at org.apache.cassandra.db.lifecycle.LogTransaction.removeUnfinishedLeftovers(LogTransaction.java:399) ~[main/:na] at org.apache.cassandra.db.lifecycle.LifecycleTransaction.removeUnfinishedLeftovers(LifecycleTransaction.java:552) ~[main/:na] at org.apache.cassandra.db.ColumnFamilyStore.scrubDataDirectories(ColumnFamilyStore.java:571) ~[main/:na] at org.apache.cassandra.service.StartupChecks$7.execute(StartupChecks.java:274) ~[main/:na] at org.apache.cassandra.service.StartupChecks.verify(StartupChecks.java:103) ~[main/:na] at org.apache.cassandra.service.CassandraDaemon.setup(CassandraDaemon.java:169) [main/:na] at org.apache.cassandra.service.CassandraDaemon.activate(CassandraDaemon.java:548) [main/:na] at org.apache.cassandra.service.CassandraDaemon.main(CassandraDaemon.java:676) [main/:na]
These tests both pass with/without JVM assertions on C* 2.2 and pass on 3.0 when assertions are enabled.
Ran against:
apache/cassandra-2.2: 7cab3272455bdd16b639c510416ae339a8613414
apache/cassandra-3.0: f21c888510b0dbbea1a63459476f2dc54093de63
Ran with cmd:
JVM_EXTRA_OPTS=-da PRINT_DEBUG=true nosetests -xsv counter_tests.TestCounters.upgrade_test
Attachments
Issue Links
- duplicates
-
CASSANDRA-10521 snapshot dtests failing on 3.0 when JVM assertions disabled
- Resolved
- relates to
-
CASSANDRA-10521 snapshot dtests failing on 3.0 when JVM assertions disabled
- Resolved