Disable Discovery Service | Community
Skip to main content
ronnyfm
Level 4
May 24, 2017 4:38 PM UTC
Solved

Disable Discovery Service

I am facing this WARN message that slows down the instance. For some reason the cluster change event keeps updating and changing. 

Is there a way to disable this service or configuration for a single instance that is not in a cluster? Already tried removing the default localhost topology URL.

org.apache.sling.discovery.impl.common.heartbeat.HeartbeatHandler checkForLocalClusterViewChange/.run: time since local instance last wrote a heartbeat is 669667ms (heartbeatTimeoutMillis=300000, heartbeatIntervalMillis=30000 => maxMillisSinceHb=240000). Flagging us as (still) changing 24.05.2017 09:22:51.868 *INFO* [discovery.connectors.common.runner.f706cedf-cb2a-4421-8e65-d2f62b3daa23.checkForLocalClusterViewChange] org.apache.sling.discovery.impl.common.heartbeat.HeartbeatHandler invalidateCurrentEstablishedView: invalidating slingId=f706cedf-cb2a-4421-8e65-d2f62b3daa23, lastEstablishedViewId=f6e47254-570f-43ed-ac54-70d77e2885cb
This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Accepted solution
Jun 14, 2017 6:13 AM UTC

To recover this , you need to do graceful rolling restart , it will recover from the red topology .

5 replies

ronnyfm
ronnyfmAuthor
Level 4
Jun 30, 2017 4:46 PM UTC

Well, that didn't solve the issue. The only workaround was to increase timeouts in the configuration.

Translate
Accepted solution
Jun 14, 2017 6:13 AM UTC

To recover this , you need to do graceful rolling restart , it will recover from the red topology .

Translate
MC_Stuff
Level 10
May 24, 2017 10:23 PM UTC

Hi ronny, 

Install the standalone sling discovery bundle 

Thanks,

Translate
ronnyfm
ronnyfmAuthor
Level 4
May 24, 2017 4:48 PM UTC

Second screenshot

Translate
ronnyfm
ronnyfmAuthor
Level 4
May 24, 2017 4:44 PM UTC

Screenshot.

Translate