Intel-bigdata / SSM

Smart Storage Management for Big Data, a comprehensive hot/cold data optimized solution
Apache License 2.0
134 stars 67 forks source link

Fix issue: new master server couldn't realize the existence of remote… #2145

Closed PHILO-HE closed 4 years ago

PHILO-HE commented 4 years ago

… executor provided by active standby server

PHILO-HE commented 4 years ago
   Suppose there are three Smart Server. After one server is down, one of
   the remaining server will be elected as master and the other will
   continue serve as standby. Obviously, the new master server will not
   receive message for adding standby node (i.e., trigger #memberAdded),
   so the new master will just know the standby server is a member of hazelcast
   service, but not realize that standby node is serving as remote executor.
   Thus, we need to call a method to deliver the message about standby
   node to CmdletDispatcherHelper.