[ 
https://issues.apache.org/jira/browse/CASSANDRA-18348?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Sam Tunnicliffe reassigned CASSANDRA-18348:
-------------------------------------------

    Assignee: Sam Tunnicliffe

> CEP-21: AlterTest#unknownMemtableConfigurationTest fails on possibly no 
> longer valid assumptions around schema propagation
> --------------------------------------------------------------------------------------------------------------------------
>
>                 Key: CASSANDRA-18348
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-18348
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Cluster/Membership, Cluster/Schema
>            Reporter: Caleb Rackliffe
>            Assignee: Sam Tunnicliffe
>            Priority: Normal
>             Fix For: NA
>
>
> See: 
> [https://app.circleci.com/pipelines/github/beobal/cassandra/406/workflows/00cdb02e-4b3e-477a-b997-403121172249/jobs/4201/tests]
> The test hangs on L156, which the test assumes should succeed w/ node 1 
> having correct local configuration:
> {noformat}
> cluster.schemaChange("ALTER TABLE " + KEYSPACE + ".tbl WITH memtable = 
> 'testconfig'", false, node1);
> {noformat}
> In the logs...
> {noformat}
> ERROR [node2_isolatedExecutor:1] node2 2023-03-17 12:26:07,943 
> JVMStabilityInspector.java:68 - Exception in thread 
> Thread[node2_isolatedExecutor:1,5,isolatedExecutor]
> org.apache.cassandra.exceptions.ConfigurationException: Memtable 
> configuration "testconfig" not found.
>       at 
> org.apache.cassandra.schema.MemtableParams.parseConfiguration(MemtableParams.java:155)
>       at java.base/java.util.HashMap.computeIfAbsent(HashMap.java:1133)
>       at 
> org.apache.cassandra.schema.MemtableParams.get(MemtableParams.java:111)
>       at 
> org.apache.cassandra.cql3.statements.schema.TableAttributes.build(TableAttributes.java:129)
>       at 
> org.apache.cassandra.cql3.statements.schema.TableAttributes.asNewTableParams(TableAttributes.java:65)
>       at 
> org.apache.cassandra.cql3.statements.schema.AlterTableStatement$AlterOptions.validate(AlterTableStatement.java:444)
>       at 
> org.apache.cassandra.distributed.impl.Coordinator.unsafeExecuteInternal(Coordinator.java:114)
> {noformat}
> {noformat}
> ERROR 17:26:12 Could not process the entry
> java.lang.AssertionError: null
>       at 
> org.apache.cassandra.tcm.log.LocalLog.processPendingInternal(LocalLog.java:272)
>       at 
> org.apache.cassandra.tcm.log.LocalLog$Async$AsyncRunnable.run(LocalLog.java:473)
>       at 
> org.apache.cassandra.concurrent.InfiniteLoopExecutor.loop(InfiniteLoopExecutor.java:121)
> {noformat}
> {noformat}
> java.lang.IllegalStateException: Schema agreement not reached. Schema 
> versions of the instances: [00000000-0000-0000-0000-000000000009, 
> 00000000-0000-0000-0000-000000000006]
>       at 
> org.apache.cassandra.distributed.impl.AbstractCluster$ChangeMonitor.waitForCompletion(AbstractCluster.java:895)
>       at 
> org.apache.cassandra.distributed.impl.AbstractCluster.lambda$schemaChange$8(AbstractCluster.java:824)
>       at org.apache.cassandra.concurrent.FutureTask$1.call(FutureTask.java:96)
> {noformat}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to