fixed minor push notification issue in case of distributed node disconnection
@@ -828,6 +828,7 @@ public class OHazelcastPlugin extends ODistributedAbstractPlugin
List<String> hosts = new ArrayList<>();
for (Member member : activeNodes.values()) {
ODocument memberConfig = getNodeConfigurationByUuid(member.getUuid(), true);
+ if (memberConfig != null) {
final String nodeStatus = memberConfig.field("status");
if (memberConfig != null && !"OFFLINE".equals(nodeStatus)) {
@@ -841,6 +842,7 @@ public class OHazelcastPlugin extends ODistributedAbstractPlugin
}
}
}
+ }
serverInstance.getPushManager().pushDistributedConfig(databaseName, hosts);
}
