You are viewing a plain text version of this content. The canonical link for it is here.
Posted to pr@cassandra.apache.org by "sarankk (via GitHub)" <gi...@apache.org> on 2024/11/21 03:55:10 UTC
Re: [PR] CASSSIDECAR-159: Add advanced driver settings to allow taking in credentials for Cassandra connection [cassandra-sidecar]
sarankk commented on code in PR #148:
URL: https://github.com/apache/cassandra-sidecar/pull/148#discussion_r1851278488
##########
server/src/main/java/org/apache/cassandra/sidecar/acl/AuthCache.java:
##########
@@ -133,7 +133,7 @@ private LoadingCache<K, V> initCache()
private void configureSidecarServerEventListener()
{
EventBus eventBus = vertx.eventBus();
- eventBus.localConsumer(ON_ALL_CASSANDRA_CQL_READY.address(), message -> warmUpAsync(config.warmupRetries()));
+ eventBus.localConsumer(ON_SIDECAR_SCHEMA_INITIALIZED.address(), message -> warmUpAsync(config.warmupRetries()));
Review Comment:
Because we were not starting warm up on `ON_SIDECAR_SCHEMA_INITIALIZED`, first few tries at warming up at failing. Hence switched to starting on schema initialized
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: pr-unsubscribe@cassandra.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: pr-unsubscribe@cassandra.apache.org
For additional commands, e-mail: pr-help@cassandra.apache.org