You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Jeremy Hanna (JIRA)" <ji...@apache.org> on 2014/10/13 21:37:35 UTC
[jira] [Commented] (CASSANDRA-8049) Explicitly examine current C*
state on startup to detect incompatibilities before upgrade
[ https://issues.apache.org/jira/browse/CASSANDRA-8049?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14169821#comment-14169821 ]
Jeremy Hanna commented on CASSANDRA-8049:
-----------------------------------------
Would be great to see this as there was CASSANDRA-6598 which made upgrading sstables in 1.2 not include index sstables. That made it so if a user didn't upgrade sstables with a 1.2.14+ version of C* before going to 2.0, 2.0 would migrate some system data and then fail to startup. It was seen in a few different cases and painful to go back. It is documented, but something to fail fast would be very welcome.
> Explicitly examine current C* state on startup to detect incompatibilities before upgrade
> -----------------------------------------------------------------------------------------
>
> Key: CASSANDRA-8049
> URL: https://issues.apache.org/jira/browse/CASSANDRA-8049
> Project: Cassandra
> Issue Type: Bug
> Reporter: Aleksey Yeschenko
> Fix For: 3.0
>
>
> Unfortunately, we cannot rely on users reading, and following, NEWS.txt before upgrading. People don't read, or ignore it, and sometimes have issues as the result (see CASSANDRA-8047, for example, and I know of several cases like that one).
> We should add an explicit compatibility check on startup, before we modify anything, or write out sstables with the new format. We should fail and complain loudly if we detect a skipped upgrade step.
> We should also snapshot the schema tables before attempting any conversions (since it's not uncommon to make schema modifications as part of the upgrade).
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)