[ 
https://issues.apache.org/jira/browse/CASSANDRA-17894?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17608832#comment-17608832
 ] 

Brandon Williams commented on CASSANDRA-17894:
----------------------------------------------

bq. ISTM we could benefit from something like an executeSchemaChange() call

Or if the driver would handle it with every session.execute(), since that's how 
we do all the schema changes.  In any case that's refactoring for a different 
ticket, we have 40+ instances of waits now.

bq. Seems to me with this method the default is none and create_ks gives 120?

The default is 10 in the driver, and we don't specify a wait_time in the vast 
majority of our uses.  Maybe it's better to run with what a client would 
probably use until we have a problem?

> Test Failure: 
> dtest-large.topology_test.TestTopology.test_stop_decommission_too_few_replicas_multi_dc
>  
> ------------------------------------------------------------------------------------------------------
>
>                 Key: CASSANDRA-17894
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-17894
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Test/dtest/python
>            Reporter: Josh McKenzie
>            Assignee: Brandon Williams
>            Priority: Normal
>             Fix For: 4.1-beta, 4.1.x, 4.x
>
>
> Link to failure: 
> https://ci-cassandra.apache.org/job/Cassandra-4.1/162/testReport/dtest-large.topology_test/TestTopology/test_stop_decommission_too_few_replicas_multi_dc/
> Error Message
> test teardown failure
> Stacktrace
> {code}
> Unexpected error found in node logs (see stdout for full details). Errors: 
> [[node1] 'ERROR [OptionalTasks:1] 2022-09-13 02:10:09,576 
> JVMStabilityInspector.java:68 - Exception in thread 
> Thread[OptionalTasks:1,5,OptionalTasks]\njava.lang.AssertionError: Unknown 
> keyspace ks\n\tat 
> org.apache.cassandra.db.Keyspace.<init>(Keyspace.java:339)\n\tat 
> org.apache.cassandra.db.Keyspace.lambda$open$0(Keyspace.java:163)\n\tat 
> org.apache.cassandra.utils.concurrent.LoadingMap.blockingLoadIfAbsent(LoadingMap.java:105)\n\tat
>  
> org.apache.cassandra.schema.Schema.maybeAddKeyspaceInstance(Schema.java:228)\n\tat
>  org.apache.cassandra.db.Keyspace.open(Keyspace.java:163)\n\tat 
> org.apache.cassandra.db.Keyspace.open(Keyspace.java:152)\n\tat 
> com.google.common.collect.Iterators$6.transform(Iterators.java:785)\n\tat 
> com.google.common.collect.TransformedIterator.next(TransformedIterator.java:47)\n\tat
>  
> org.apache.cassandra.db.SizeEstimatesRecorder.run(SizeEstimatesRecorder.java:74)\n\tat
>  
> org.apache.cassandra.concurrent.ExecutionFailure$1.run(ExecutionFailure.java:124)\n\tat
>  
> java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)\n\tat 
> java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308)\n\tat 
> java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180)\n\tat
>  
> java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294)\n\tat
>  
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)\n\tat
>  
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)\n\tat
>  
> io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)\n\tat
>  java.lang.Thread.run(Thread.java:748)']
> {code}



--
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