Open ramzee2017 opened 5 years ago
@ramzee2017 Hi. As far as I understand your problem is that the Apache Ignite instance starts after vertx creates a BlockedThreadChecker instance that defines a thread lock at the time when the IgniteClusterManager instance is called by the join method in which the Ignite instance is created. Ignite takes a few seconds to start, depending on the configuration. You can either create an instance Ignite before the start of the vertx and pass it to an instance in IgniteClusterManager or change the delay time of the response to a long thread blocking.
The description of the problem: My setup looks like the following. I have a bunch of microservices implemented using Vertx Java and deployed on docker swarm consisting of 3 manager and 2 worker nodes. Apache Ignite is used as the cluster manager solution for the different microservices, potentially running on different swarm nodes, to be able to send messages to each other over the event bus. Once in while, after working with my microservices, I start getting the exceptions below from all of my microservices. My application is not accessible during that time but after a few minutes of inactivity it comes back till next time I start getting the same behaviour.
It looks like all of the microservices are stuck doing some ignite related activity. I wonder if this is a known issue and what are the possible ways to solve it e.g.: ignite or vertx specific configuration that might help here, etc.
Thanks, Ilya.