Uploaded image for project: 'Mesos'
  1. Mesos
  2. MESOS-5561

Need to remove references to "messages/messages.hpp" from `State` API

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 1.0.0
    • None
    • Mesosphere Sprint 36
    • 2

    Description

      In order to expose the `State` API for using replicated log in Mesos modules it is necessary that the `State` API does not reference headers that are not exposed as part of the Mesos installation.

      Currently include/mesos/state/protobuf.hpp references src/messages/messages.hpp making the `State` API unusable in a module.

      We need to move the protobuf `serialize`/`deserialize` functions out of messages.hpp and move them to `stout/protobuf.hpp`. This will help us remove references to messages.hpp from the `State` API.

      Attachments

        Activity

          People

            avinash.mesos Avinash Sridharan
            avinash.mesos Avinash Sridharan
            Jie Yu Jie Yu
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: