Uploaded image for project: 'ZooKeeper'
  1. ZooKeeper
  2. ZOOKEEPER-2178

Native client fails compilation on Windows.

VotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.5.0
    • Fix Version/s: 3.5.1, 3.6.0
    • Component/s: c client
    • Labels:
      None
    • Environment:

      Windows

      Description

      Due to several recent changes, the native client fails to compile on Windows:

      1. ZOOKEEPER-827 (read-only mode) mismatched a function return type between the declaration and definition.
      2. ZOOKEEPER-1626 (monotonic clock for tolerance to time adjustments) added an include of unistd.h, which does not exist on Windows.
      3. Additionally, ZOOKEEPER-1626 did not implement a code path for accessing the Windows monotonic clock.

        Attachments

        1. ZOOKEEPER-2178.001.patch
          2 kB
          Chris Nauroth

        Issue Links

          Activity

            People

            • Assignee:
              cnauroth Chris Nauroth
              Reporter:
              cnauroth Chris Nauroth

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment