You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Carsten Ziegeler (Jira)" <ji...@apache.org> on 2023/06/07 11:13:00 UTC
[jira] [Created] (FELIX-6613) ServicesCheck still reports services available after they are gone
Carsten Ziegeler created FELIX-6613:
---------------------------------------
Summary: ServicesCheck still reports services available after they are gone
Key: FELIX-6613
URL: https://issues.apache.org/jira/browse/FELIX-6613
Project: Felix
Issue Type: Bug
Components: Health Checks
Affects Versions: healthcheck.generalchecks 3.0.4
Reporter: Carsten Ziegeler
Assignee: Carsten Ziegeler
Fix For: healthcheck.generalchecks 3.0.6
ServicesCheck is using a service tracker to track services. it checks the *tracking count* to verify if a service is available. however, tracking count does not return the number of available services (as the code assumes) but the number of changes to that service.
For example, if a service is added and then removed, the tracking count is two - the HC will report the service as being available although it is not.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)