Hi, Noticed that we are calling CC API (once) to terminate an instance directly on receiving some events. And we are assuming instances will be terminated without any problem.
It is a risk! - We will get these events only once - We are calling CC API to terminate the instances - Say instance termination is failing for some reasons What is the situation now? AS will not ask CC to terminate these instances again. Because, you will not get these events (say ClusterTerminatingEvent) again. So these instances will never be terminated. IMO, on receiving these events, we should move these members to a member list(may be obsolete member list) and let drools to terminate this instances. When AS receives member terminated event for the member, we will remove it from the list. This way, AS will ask CC to terminate the instance until it gets member terminated event. This flow is already there for obsoleted members. So only thing we have to do is to move these members to obsolete member list when receiving these events. wdyt? Thanks. -- Raj