[
https://issues.apache.org/jira/browse/MESOS-9282?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16634765#comment-16634765
]
Jie Yu commented on MESOS-9282:
-------------------------------
>From [~bmahler]:
we should probably try to figure out a way to avoid O_SYNC? seems like it’s
going to tank performance based on why joris made that change?
I guess the bigger question is around what semantics we want across agent
reboot. Sounds like now we want the same agent id. But should we care about the
terminal status updates and so on? Seems like agent reboot takes awhile and it
feels wrong to not do something more graceful on the agent prior to reboot.
Let’s say there’s a hard reboot where there is no chance to do something
graceful, then we’d probably rather know that any non-terminal tasks are now
unreachable and then GONE after the reboot (rather than trying to figure out if
they terminated right before the reboot?)
> StatusUpdateManager does not sync checkpointed data to disk.
> ------------------------------------------------------------
>
> Key: MESOS-9282
> URL: https://issues.apache.org/jira/browse/MESOS-9282
> Project: Mesos
> Issue Type: Bug
> Affects Versions: 1.5.1, 1.6.1, 1.7.0
> Reporter: Jie Yu
> Priority: Major
>
> This is related to MESOS-9281, which we observed in a testing environment.
> The status update manager used to open the checkpoint file using O_SYNC,
> which will guarantee that each write will be persisted to the disk (similar
> to calling fsync() after each write()).
> This was removed due to some performance issue
> https://reviews.apache.org/r/50635/
> However, the assumption in the patch is no longer true after we allow the
> re-use the same agent ID after machine reboot. This will likely cause issues.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)