Uploaded image for project: 'Kudu'
  1. Kudu
  2. KUDU-2935

Implement built-in NTP client

    XMLWordPrintableJSON

Details

    Description

      It would be nice to add a stripped-down implementation of built-in NTP client without any reliance on the kernel NTP discipline. The built-in client should maintain wall clock synchronized with NTP servers, and calling WalltimeWithError() should return wall clock timestamp with the estimation of error/offset from true time. Having built-in NTP client would provide more control over acceptable clock error and jitter acceptable for HybridTime timestamp generation.

      From the operability perspective, it would make it easier to run Kudu in containerized environments and overall make it easier for users to configure NTP even if they don't have superuser privileges at a node.

      The very first implementation should be good enough to work with properly configured and well behaving NTP servers, not necessarily being full-featured and 100% RFC-compliant NTP client. Later on, we can add more features and constraints to protect against misbehaving and rogue NTP servers.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              aserbin Alexey Serbin
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated: