cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stefania (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CASSANDRA-12565) Node may not start when upgrading from 2.2 to 3.0 if drain is not run
Date Tue, 30 Aug 2016 09:23:20 GMT

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

Stefania commented on CASSANDRA-12565:
--------------------------------------

Patch is trivial and ready for review but CI results are still pending:

||3.0||trunk||
|[patch|https://github.com/stef1927/cassandra/commits/12565-3.0]|[patch|https://github.com/stef1927/cassandra/commits/12565]|
|[testall|http://cassci.datastax.com/view/Dev/view/stef1927/job/stef1927-12565-3.0-testall/]|[testall|http://cassci.datastax.com/view/Dev/view/stef1927/job/stef1927-12565-testall/]|
|[dtest|http://cassci.datastax.com/view/Dev/view/stef1927/job/stef1927-12565-3.0-dtest/]|[dtest|http://cassci.datastax.com/view/Dev/view/stef1927/job/stef1927-12565-dtest/]|


> Node may not start when upgrading from 2.2 to 3.0 if drain is not run
> ---------------------------------------------------------------------
>
>                 Key: CASSANDRA-12565
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-12565
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Local Write-Read Paths
>            Reporter: Stefania
>            Assignee: Stefania
>             Fix For: 3.0.x, 3.x
>
>
> Whilst debugging CASSANDRA-12457, I noticed that if we don't stop compactions when draining
the 2.2 node, then we may fail to restart the node after upgrading to 3.0.
> This is because sstable names in 2.2 have been changed from _la_ to _lb_ but [{{LEGACY_TMP_REGEX_STR}}|https://github.com/apache/cassandra/blob/trunk/src/java/org/apache/cassandra/io/sstable/Descriptor.java#L187]
in Descriptor.java doe not match _lb_ sstables and therefore it won't clean or ignore temporary
files.



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

Mime
View raw message