You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@mesos.apache.org by "Joris Van Remoortere (JIRA)" <ji...@apache.org> on 2016/07/31 00:44:20 UTC

[jira] [Created] (MESOS-5944) Remove `O_SYNC` from StatusUpdateManager logs

Joris Van Remoortere created MESOS-5944:
-------------------------------------------

             Summary: Remove `O_SYNC` from StatusUpdateManager logs
                 Key: MESOS-5944
                 URL: https://issues.apache.org/jira/browse/MESOS-5944
             Project: Mesos
          Issue Type: Improvement
          Components: slave
            Reporter: Joris Van Remoortere
            Assignee: Joris Van Remoortere
             Fix For: 1.1.0


Currently the {{StatusUpdateManager}} uses {{O_SYNC}} to flush status updates to disk. 

We don't need to use {{O_SYNC}} because we only read this file if the host did not crash. {{os::write}} success implies the kernel will have flushed our data to the page cache. This is sufficient for the recovery scenarios we use this data for.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)