You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@storm.apache.org by GitBox <gi...@apache.org> on 2020/04/16 18:06:02 UTC
[GitHub] [storm] Ethanlm edited a comment on issue #3249: [STORM-3624] Fix
race condition when loading scheduler configs
Ethanlm edited a comment on issue #3249: [STORM-3624] Fix race condition when loading scheduler configs
URL: https://github.com/apache/storm/pull/3249#issuecomment-614809676
Per @kishorvpatil 's suggestion, eliminated the new thread and changed to refresh every time before scheduling.
I am still keeping a separate class (SchedulerConfigCache) to deal with the cache/refresh logic to avoid code repetition in different schedulers (e.g. ResourceAwareScheduler, MultitenantScheduler)
----------------------------------------------------------------
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
With regards,
Apache Git Services