You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@druid.apache.org by GitBox <gi...@apache.org> on 2021/01/20 10:27:49 UTC

[GitHub] [druid] zhangyue19921010 commented on pull request #10779: [Bug Fix] Broker will not wait for its SQL metadata view to fully initialize before starting up, even though set awaitInitializationOnStart true

zhangyue19921010 commented on pull request #10779:
URL: https://github.com/apache/druid/pull/10779#issuecomment-763504141


   Hi @gianm Thanks for your review. I just add a UT named `testSchemaInit` as you suggested.
   If condition is  ` if (isServerViewInitialized) `, this UT will fail with errors 
   ```
   java.lang.AssertionError: 
   Expected :2
   Actual   :0
   ```
   
   If condition is `isServerViewInitialized && lastFailure == 0L`, this UT will success and DruidSchema is initialized  as expected.


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

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@druid.apache.org
For additional commands, e-mail: commits-help@druid.apache.org