[
https://issues.apache.org/jira/browse/FELIX-6613?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Carsten Ziegeler closed FELIX-6613.
-----------------------------------
> 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
> Priority: Blocker
> 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)