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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]