Project: springxd
Issue XD-3053: Module configuration exception should not block admin leader election
When the admin leader is elected, the leader recalculates the deployed stream/job states. If for some reason the stream/job couldn't be loaded with ModuleConfigurationException, then the leader fails and subsequently all the deployment requests are being queued. We need to discuss how to handle this situation. A possible fix could be something like this: https://github.com/ilayaperumalg/spring-xd/commit/fa6a48072197e8c350eaebe841191e4b6310f437 The issue is that, if the stream was already successfully deployed into a container, then the stream status would still be set to 'undeployed' by the admin leader during the recalculation. Also, this issue is very minor as the ModuleConfigException would be thrown only if someone upgrades Admin that uses different module options config than the existing stream definitions.
Story points: 3