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

'errno' is not set in some circumstances when 'ntp_gettime' returns TIME_ERROR

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • Public beta
    • 0.6.0
    • tserver
    • None

    Description

      Apparently in some circumstances (like in docker images) 'errno' is not set properly and the status code remains 0 even if an error was returned. We should likely remove 'errno' from the status error message since it leads to a confusing message such as:

      Bad status: Service unavailable: Clock is not synchronized: Error reading clock. Clock considered unsynchronized. Errno: Success

      Attachments

        Activity

          People

            tlipcon Todd Lipcon
            dralves David Alves
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: