[
https://issues.apache.org/jira/browse/MESOS-2266?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14544589#comment-14544589
]
Michael Park commented on MESOS-2266:
-------------------------------------
{noformat}
commit fcd966bbcb361e5bc07cff6edd6a80d6b07accb4
Refs:
Author: Michael Park <[email protected]>
AuthorDate: Sun Jan 25 14:17:03 2015 -0800
Commit: Jie Yu <[email protected]>
CommitDate: Sun Jan 25 14:19:22 2015 -0800
Introduced a generic checkpoint function.
Review: https://reviews.apache.org/r/29918
{noformat}
> Introduce a checkpoint function to support google::protobuf::Repeated<T>
> ------------------------------------------------------------------------
>
> Key: MESOS-2266
> URL: https://issues.apache.org/jira/browse/MESOS-2266
> Project: Mesos
> Issue Type: Task
> Components: slave
> Reporter: Michael Park
> Assignee: Michael Park
> Fix For: 0.22.0
>
>
> The function should use the {{protobuf::write(path,
> google::protobuf::RepeatedPtrField<T>}} to write a
> {{google::protobuf::RepeatedPtrField<T>}} to a temporary file and use
> {{os::rename}} to atomically move the file to the desired path.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)