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)

Reply via email to