mesos-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Schwartzmeyer (JIRA)" <>
Subject [jira] [Updated] (MESOS-5932) Replicated log's dependency on leveldb prevents it from being used on Windows
Date Thu, 06 Apr 2017 22:17:41 GMT


Andrew Schwartzmeyer updated MESOS-5932:
    Issue Type: Task  (was: Bug)

> Replicated log's dependency on leveldb prevents it from being used on Windows
> -----------------------------------------------------------------------------
>                 Key: MESOS-5932
>                 URL:
>             Project: Mesos
>          Issue Type: Task
>          Components: master
>            Reporter: Alex Clemmer
>            Assignee: Alex Clemmer
>              Labels: agent, master, mesosphere
> The replicated log (in src/log/) depends on leveldb to store and persist data in the
> This dependency is well-contained within replica.cpp, but until it is abstracted out,
it nonetheless prevents the master from being built on Windows, which in turn prevents the
agent tests from being built and run on Windows.
> Preliminary investigation shows that we will probably want to split this work into 2
> * Temporarily remove the ability of the master to use the replicated log on Windows (in
master/main.cpp). This should involve 1 conditional where we instantiate a `Log::Log`. This
should be enough for us to light up the agent tests.
> * Add leveldb Windows support to Mesos. This involves: adding CMake files to build leveldb
source, and adding Windows-specific `port_*` files that will map the platform-specific constructs
of leveldb to Windows. We can take hints from leveldown and other projects, which add their
own `port_*` files that suit their purposes (namely, running leveldb, in node, on Windows).
NOTE: the leveldb community explicitly calls out in its documentation that it is not interested
in non-POSIX changes, so it is likely that this will never be inducted into the mainline leveldb

This message was sent by Atlassian JIRA

View raw message