Disable Discovery Service | Community
Skip to main content
ronnyfm
May 24, 2017
Solved

Disable Discovery Service

  • May 24, 2017
  • 5 replies
  • 3938 views

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.
Best answer by

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

5 replies

ronnyfm
ronnyfmAuthor
May 24, 2017

Screenshot.

ronnyfm
ronnyfmAuthor
May 24, 2017

Second screenshot

MC_Stuff
May 24, 2017

Hi ronny, 

Install the standalone sling discovery bundle 

Thanks,

Accepted solution
June 14, 2017

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

ronnyfm
ronnyfmAuthor
June 30, 2017

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