[ https://issues.apache.org/jira/browse/CASSANDRA-10421?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14962755#comment-14962755 ]
Stefania commented on CASSANDRA-10421: -------------------------------------- Still 2 utests failing that are not failing on the latest build of 3.0 (#197): * {{MoveTest.BeforeFirstTest}} timed out before the first test. I cannot reproduce this locally but it also seems that it never happened on 3.0 (I went back 30 builds). I've looked at the log and it seems it was quite slow at initializing the schema. * {{LeveledCompactionStrategyTest.testCompactionProgress}} : this passes locally and it [failed on 3.0|http://cassci.datastax.com/job/cassandra-3.0_testall/170/testReport/org.apache.cassandra.db.compaction/LeveledCompactionStrategyTest/testCompactionProgress_compression/] at the same line on build #170 (albeit with compression enabled). I think the problem is in the test, specifically in {{waitForLeveling}}. I've launched one more run. > Potential issue with LogTransaction as it only checks in a single directory > for files > ------------------------------------------------------------------------------------- > > Key: CASSANDRA-10421 > URL: https://issues.apache.org/jira/browse/CASSANDRA-10421 > Project: Cassandra > Issue Type: Bug > Reporter: Marcus Eriksson > Assignee: Stefania > Priority: Blocker > Fix For: 3.0.0 > > > When creating a new LogTransaction we try to create the new logfile in the > same directory as the one we are writing to, but as we use > {{[directories.getDirectoryForNewSSTables()|https://github.com/apache/cassandra/blob/trunk/src/java/org/apache/cassandra/db/lifecycle/LogTransaction.java#L125]}} > this might end up in "any" of the configured data directories. If it does, > we will not be able to clean up leftovers as we check for files in the same > directory as the logfile was created: > https://github.com/apache/cassandra/blob/trunk/src/java/org/apache/cassandra/db/lifecycle/LogRecord.java#L163 > cc [~Stefania] -- This message was sent by Atlassian JIRA (v6.3.4#6332)