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

Native client fails compilation on Windows.

    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

          Issue Links

            Activity

              People

              • Assignee:
                cnauroth Chris Nauroth
                Reporter:
                cnauroth Chris Nauroth
              • Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: