- **status**: review --> fixed
- **assigned_to**: Vu Minh Nguyen --> nobody
- **Comment**:
changeset: 7321:a6911a36b830
tag: tip
parent: 7319:6ddbce46d3e6
user: Vu Minh Nguyen <[email protected]>
date: Fri Mar 11 12:43:18 2016 +0100
summary: log: log agent library is not backward compatible [#1686]
rev: a6911a36b830347543dccc821ab473f16c774ccb
---
** [tickets:#1686] log: log agent library is not backward compatible**
**Status:** fixed
**Milestone:** 5.0.FC
**Created:** Fri Mar 04, 2016 03:04 AM UTC by Vu Minh Nguyen
**Last Updated:** Fri Mar 04, 2016 03:30 AM UTC
**Owner:** nobody
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.
------------------------------------------------------------------------------
Transform Data into Opportunity.
Accelerate data analysis in your applications with
Intel Data Analytics Acceleration Library.
Click to learn more.
http://pubads.g.doubleclick.net/gampad/clk?id=278785111&iu=/4140
_______________________________________________
Opensaf-tickets mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensaf-tickets