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 2014/03/05 14:37:43 UTC

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

Stefan Egli created SLING-3434:
----------------------------------

             Summary: 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


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.2#6252)