Details
Description
The Java upgrade dtest org.apache.cassandra.distributed.upgrade.DropCompactStorageWithDeletesAndWritesTest is ~8% flaky on CircleCI:
java.lang.RuntimeException: java.lang.RuntimeException: Error setting schema for test (query was: ALTER TABLE distributed_test_keyspace.clustering_and_value_with_deletes DROP COMPACT STORAGE) at org.apache.cassandra.distributed.impl.IsolatedExecutor.waitOn(IsolatedExecutor.java:218) at org.apache.cassandra.distributed.impl.IsolatedExecutor.lambda$sync$7(IsolatedExecutor.java:112) at org.apache.cassandra.distributed.impl.Instance.schemaChangeInternal(Instance.java:240) at org.apache.cassandra.distributed.impl.DelegatingInvokableInstance.schemaChangeInternal(DelegatingInvokableInstance.java:82) at org.apache.cassandra.distributed.impl.AbstractCluster.schemaChange(AbstractCluster.java:522) at org.apache.cassandra.distributed.upgrade.DropCompactStorageWithDeletesAndWritesTest.lambda$testDropCompactWithClusteringAndValueColumnWithDeletesAndWrites$3(DropCompactStorageWithDeletesAndWritesTest.java:72) at org.apache.cassandra.distributed.upgrade.UpgradeTestBase$TestCase.run(UpgradeTestBase.java:222) at org.apache.cassandra.distributed.upgrade.DropCompactStorageWithDeletesAndWritesTest.testDropCompactWithClusteringAndValueColumnWithDeletesAndWrites(DropCompactStorageWithDeletesAndWritesTest.java:157) Caused by: java.lang.RuntimeException: Error setting schema for test (query was: ALTER TABLE distributed_test_keyspace.clustering_and_value_with_deletes DROP COMPACT STORAGE) at org.apache.cassandra.distributed.impl.Instance.lambda$schemaChangeInternal$2(Instance.java:238) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) at org.apache.cassandra.concurrent.NamedThreadFactory.lambda$threadLocalDeallocator$0(NamedThreadFactory.java:84) at java.lang.Thread.run(Thread.java:748) Caused by: org.apache.cassandra.exceptions.InvalidRequestException: Cannot DROP COMPACT STORAGE as some nodes in the cluster ([/127.0.0.1]) has some non-upgraded 2.x sstables. Please run `upgradesstables` on those nodes before retrying at org.apache.cassandra.cql3.statements.AlterTableStatement.validateCanDropCompactStorage(AlterTableStatement.java:435) at org.apache.cassandra.cql3.statements.AlterTableStatement.announceMigration(AlterTableStatement.java:310) at org.apache.cassandra.cql3.statements.SchemaAlteringStatement.executeInternal(SchemaAlteringStatement.java:150) at org.apache.cassandra.distributed.impl.Instance.lambda$schemaChangeInternal$2(Instance.java:234)
This was discovered during CASSANDRA-17213.
Attachments
Issue Links
- Discovered while testing
-
CASSANDRA-17213 CompactStorageUpgradeTest.compactStorageUpgradeTest fails w/OOM
- Resolved