Hi Devs,

Please be kind enough to explain me if I understood it wrong.

Topology is updated after every member is created. Stratos can go
down/crash after a member is created but before topology is updated. When
we start the stratos again, AS reads the topology and populate the member
lists. But topology doesn't have this member, so AS does not know about
this member.

With current logic CEP cannot identify this member as a faulty one, because
member is not in the topology, so CEP will reject any events from this
member.

So this member is going to stay there in the IaaS.

Is this a possible scenario?

We can make CEP to identify this as a faulty member as below;
If a member sends events to CEP and the member is not in the topology, then
CEP can complain it as a faulty member. This solution can work if the
member is sending events to CEP. There can be situation where cartridge
agent can crash. Then it will not send any events to CEP, so CEP also
doesn't know about this member.

How can we solve this?

Thanks.

-- 
Rajkumar Rajaratnam
Software Engineer | WSO2, Inc.
Mobile +94777568639 | +94783498120

Reply via email to