[
https://issues.apache.org/jira/browse/MESOS-7753?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16073159#comment-16073159
]
James Peach commented on MESOS-7753:
------------------------------------
I agree that every message actually does have a sender. Even a broadcast is
sent from a specific {{Process}}. In this case, there is something that is a
member of the {{Network}} that is performing the broadcast, so it seems really
wonky to not have a source {{UPID}} (since membership in the network is defined
by a {{UPID}}). In the case it looks like the broadcast is sent by the
{{NetworkProcess}} so it should use the to/from version of {{process::post}}
(maybe we we should deprecate the to-only version?).
> `log.LearnedMessage` could be rejected due to being sent from '@0.0.0.0:0'
> --------------------------------------------------------------------------
>
> Key: MESOS-7753
> URL: https://issues.apache.org/jira/browse/MESOS-7753
> Project: Mesos
> Issue Type: Bug
> Components: replicated log
> Reporter: Yan Xu
>
> This is due to the use of
> https://github.com/apache/mesos/blob/ced7d69767142c912db0c2e01b95c0f5de791bd9/src/log/network.hpp#L247
> which sets the message's {{from}} field to an empty UPID.
> The rationale for using this form is that there's no intended response for
> this message. However with MESOS-7401, this message could be rejected.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)