---
** [tickets:#1686] log: log agent library is not backward compatible**
**Status:** accepted
**Milestone:** 5.0.FC
**Created:** Fri Mar 04, 2016 03:04 AM UTC by Vu Minh Nguyen
**Last Updated:** Fri Mar 04, 2016 03:04 AM UTC
**Owner:** Vu Minh Nguyen
Static arrays of `logFileName` and `logFilePathName` were changed to dynamic
ones in ticket [#279].
So, when opening one of dedicated log streams, `logFileName` and `logFilePath`
name now are NULL, in other word, their length are zero (0). Their data are not
passed to MDS for encoding.
But in old versions (using static arrays), `logFileName` and `logFilePath` name
are not NULL always, their length are at least one and are always passed to
MDS for encoding. Therefore, in server side at MDS layer, the callback for
decoding these data have an precondition check if these data length are zero or
not. It equal, decode gets failed, the `saLogStreamOpen` will get failed
finally.
So, when log agent on standby node using new code (dynamic ones) to communicate
with the log server on active node using old code (static ones), the standby
node will get roboot because the NTF service on standby gets fail to open
dedicated log streams toward log server.
---
Sent from sourceforge.net because [email protected] is
subscribed to https://sourceforge.net/p/opensaf/tickets/
To unsubscribe from further messages, a project admin can change settings at
https://sourceforge.net/p/opensaf/admin/tickets/options. Or, if this is a
mailing list, you can unsubscribe from the mailing list.
------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140
_______________________________________________
Opensaf-tickets mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensaf-tickets