[
https://issues.apache.org/jira/browse/CASSANDRA-4294?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13287432#comment-13287432
]
Sylvain Lebresne commented on CASSANDRA-4294:
---------------------------------------------
I don't think we do, {{forwardsCompatibleOptions}} was used on the thrift side
(so not on the upgrade path), to "support" KsDef.replication_factor. But it's
marked deprecated so people shouldn't use it (if they do, we will ignore it and
likely trigger an exception since the replication factor will be missing).
> Upgrading encounters: 'SimpleStrategy requires a replication_factor strategy
> option.' and refuses to start
> ----------------------------------------------------------------------------------------------------------
>
> Key: CASSANDRA-4294
> URL: https://issues.apache.org/jira/browse/CASSANDRA-4294
> Project: Cassandra
> Issue Type: Bug
> Affects Versions: 1.1.0
> Reporter: Brandon Williams
> Assignee: Sylvain Lebresne
> Fix For: 1.1.1
>
> Attachments: 4294.txt
>
>
> I've seen this reported quite a few times now:
> {noformat}
> ERROR [main] 2012-05-29 19:33:40,589 AbstractCassandraDaemon.java (line 370)
> Exception encountered during startup
> java.lang.RuntimeException:
> org.apache.cassandra.config.ConfigurationException: SimpleStrategy requires a
> replication_factor strategy option.
> at org.apache.cassandra.db.Table.<init>(Table.java:275)
> at org.apache.cassandra.db.Table.open(Table.java:114)
> at org.apache.cassandra.db.Table.open(Table.java:97)
> at
> org.apache.cassandra.service.AbstractCassandraDaemon.setup(AbstractCassandraDaemon.java:204)
> at
> org.apache.cassandra.service.AbstractCassandraDaemon.activate(AbstractCassandraDaemon.java:353)
> at
> org.apache.cassandra.thrift.CassandraDaemon.main(CassandraDaemon.java:106)
> Caused by: org.apache.cassandra.config.ConfigurationException: SimpleStrategy
> requires a replication_factor strategy option.
> at
> org.apache.cassandra.locator.SimpleStrategy.validateOptions(SimpleStrategy.java:71)
> at
> org.apache.cassandra.locator.AbstractReplicationStrategy.createReplicationStrategy(AbstractReplicationStrategy.java:218)
> at org.apache.cassandra.db.Table.createReplicationStrategy(Table.java:295)
> at org.apache.cassandra.db.Table.<init>(Table.java:271)
> ... 5 more
> {noformat}
> The common thread seems to be old lineage, from at least 0.7. 1.0.x works
> fine, but upgrading to 1.1 causes the problem.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira