You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Stefan Egli (JIRA)" <ji...@apache.org> on 2015/01/29 17:18:34 UTC

[jira] [Commented] (SLING-3434) Make intra-cluster discovery-heartbeats independent from machine clock differences

    [ https://issues.apache.org/jira/browse/SLING-3434?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14297078#comment-14297078 ] 

Stefan Egli commented on SLING-3434:
------------------------------------

As a step to go forward here, added 'votedAt' property to /ongoingVotings. This will allow to create a health-check which issues an alarm if 'votedAt' differs too much within a cluster.
Created a subtask for the health-check in SLING-4371

> Make intra-cluster discovery-heartbeats independent from machine clock differences
> ----------------------------------------------------------------------------------
>
>                 Key: SLING-3434
>                 URL: https://issues.apache.org/jira/browse/SLING-3434
>             Project: Sling
>          Issue Type: Bug
>          Components: Extensions
>    Affects Versions: Discovery Impl 1.0.2
>            Reporter: Stefan Egli
>             Fix For: Discovery Impl 1.0.14
>
>
> SLING-2967 fixed an issue where topology connectors were dependent on having machine clocks in sync - so inter-cluster we're no longer dependent on NTP-synching.
> Inside a cluster though, this problem is still there. Since heartbeats are written as absolute time - based on the originator's machine clock - it still only works fine the whole cluster is NTP-synched.
> In general I think this is not a problem as it is best-practice to make sure machines have NTP set up.
> Nevertheless, it would help if discovery.impl could become independent from this.
> Also, if clocks are off by too much, pseudo-network-partitions can occur, with the result of having multiple leaders in a cluster (also see SLING-3432)



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)