Uploaded image for project: 'Sling'
  1. Sling
  2. SLING-3434

Make intra-cluster discovery-heartbeats independent from machine clock differences

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Incomplete
    • Discovery Impl 1.0.2
    • None
    • Extensions
    • None

    Description

      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)

      Attachments

        Issue Links

          Activity

            People

              stefanegli Stefan Egli
              stefanegli Stefan Egli
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: