[ https://issues.apache.org/jira/browse/CASSANDRA-20452?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17938832#comment-17938832 ]
guo Maxwell commented on CASSANDRA-20452: ----------------------------------------- +1 on this if the ci are all right. > Failure to start a node with materialized views when they are turned off in > config > ---------------------------------------------------------------------------------- > > Key: CASSANDRA-20452 > URL: https://issues.apache.org/jira/browse/CASSANDRA-20452 > Project: Apache Cassandra > Issue Type: Bug > Components: Transactional Cluster Metadata > Reporter: Stefan Miklosovic > Assignee: Stefan Miklosovic > Priority: Normal > Fix For: 5.x > > Time Spent: 10m > Remaining Estimate: 0h > > 1. new empty node, setting materialized_views_enabled: true (is false by > default) in cassandra.yaml > 2. create materialized view > 3. shutdown the node, change the property to false > 4. start the node and see > {code} > java.lang.IllegalStateException: Can't dereference Success for a rejected > execution: INVALID: Materialized views are disabled. Enable in cassandra.yaml > to use. > at > org.apache.cassandra.tcm.Transformation$Rejected.success(Transformation.java:151) > at org.apache.cassandra.tcm.log.LogState.flatten(LogState.java:108) > at > org.apache.cassandra.tcm.log.LocalLog.replayPersisted(LocalLog.java:587) > at org.apache.cassandra.tcm.log.LocalLog.ready(LocalLog.java:669) > at > org.apache.cassandra.tcm.Startup.initializeAsNonCmsNode(Startup.java:159) > at org.apache.cassandra.tcm.Startup.initialize(Startup.java:107) > at org.apache.cassandra.tcm.Startup.initialize(Startup.java:88) > at > org.apache.cassandra.service.CassandraDaemon.setup(CassandraDaemon.java:269) > at > org.apache.cassandra.service.CassandraDaemon.activate(CassandraDaemon.java:730) > at > org.apache.cassandra.service.CassandraDaemon.main(CassandraDaemon.java:884) > {code} -- This message was sent by Atlassian Jira (v8.20.10#820010) --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org