ack, code review only./Thanks HansN

On 04/07/2016 03:23 AM, Minh Hon Chau wrote:
>   osaf/services/saf/amf/amfd/ndproc.cc |  2 +-
>   1 files changed, 1 insertions(+), 1 deletions(-)
>
>
> While amfd is performing sync with all amfnd(s) after headless, there should 
> be
> component/su error (for instance a restart error) occuring during sync period.
> Amfnd(s) sends data_update msg(s) to increase the error counter. This 
> data_update(s)
> will be ignored at amfd since amfnd is still absent due to on-going sync. 
> Amfnd(s)
> will resend these update messages after sync completes.
>
> Patch lower severity of logging for data_update while syncing, it should be 
> more
> likely a warning than an error.
>
> diff --git a/osaf/services/saf/amf/amfd/ndproc.cc 
> b/osaf/services/saf/amf/amfd/ndproc.cc
> --- a/osaf/services/saf/amf/amfd/ndproc.cc
> +++ b/osaf/services/saf/amf/amfd/ndproc.cc
> @@ -810,7 +810,7 @@ void avd_data_update_req_evh(AVD_CL_CB *
>       }
>   
>       if ((node->node_state == AVD_AVND_STATE_ABSENT) || (node->node_state == 
> AVD_AVND_STATE_GO_DOWN)) {
> -             LOG_ER("%s: node %x, receive msg_id(%u) in invalid node state 
> %u",
> +             LOG_WA("%s: node %x, receive msg_id(%u) in invalid node state 
> %u",
>                       __FUNCTION__, node->node_info.nodeId,
>                       n2d_msg->msg_info.n2d_data_req.msg_id, 
> node->node_state);
>   


------------------------------------------------------------------------------
Mobile security can be enabling, not merely restricting. Employees who
bring their own devices (BYOD) to work are irked by the imposition of MDM
restrictions. Mobile Device Manager Plus allows you to control only the
apps on BYO-devices by containerizing them, leaving personal data untouched!
https://ad.doubleclick.net/ddm/clk/304595813;131938128;j
_______________________________________________
Opensaf-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensaf-devel

Reply via email to