[ https://issues.apache.org/jira/browse/STRATOS-940?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14207946#comment-14207946 ]
Chamila de Alwis commented on STRATOS-940: ------------------------------------------ Fixed. Included in the PR #115. Please merge. The root cause was the Thrift event publisher crashing when the CEP goes down with Stratos. The solution implemented is to throw a ThriftReceiverOfflineException when an error is thrown from the TSocker class and health stat publisher trying to re-establish the connection upon ThriftReceiverOfflineException. https://github.com/apache/stratos/pull/115 > Python Agent does not publish health stats upon a restart in Stratos > -------------------------------------------------------------------- > > Key: STRATOS-940 > URL: https://issues.apache.org/jira/browse/STRATOS-940 > Project: Stratos > Issue Type: Bug > Components: Cartridge Agent > Affects Versions: 4.1.0 M3 > Reporter: Nirmal Fernando > Assignee: Chamila de Alwis > Fix For: 4.1.0 M4 > > > This should be easily reproducible. > * Let agent publish health stats > * restart Stratos > * Agent won't publish stats --> faulty member detected > * hence instances terminated -- This message was sent by Atlassian JIRA (v6.3.4#6332)