When the active log server start; alarm, notification, system and application streams with configuration stream object are created based on the attribute values in respective stream configuration object. Values are fetched using IMM API saImmOmAccessorGet_2(). An in parameter to this function is a list of attributes to be read. Instead of providing a list a NULL pointer can be used which means that all attributes shall be read. The log server uses a NULL pointer which is a problem since some attributas are pure runtime attributes which may casue a deadlock since dispatch of the callback function for providing values for the runtime attributes is done in the same thread as the call to saImmOmAccessorGet_2(). This must be changed to use an attribute list containing all attributes except the pure runtime attributes.
changeset: 6741:a6f3f71af874
tag: tip
parent: 6738:257e4c26d1f3
user: Lennart Lund lennart.lund@ericsson.com
date: Tue Aug 18 13:31:03 2015 +0200
summary: log: Incorrect reading of stream configuration objects at startup [#1450]
rev: a6f3f71af87427704a911cd539ab595033f33a62
changeset: 6740:6a52ec8efe09
branch: opensaf-4.6.x
parent: 6728:8a0d304666c0
user: Lennart Lund lennart.lund@ericsson.com
date: Tue Aug 18 13:31:03 2015 +0200
summary: log: Incorrect reading of stream configuration objects at startup [#1450]
rev: 6a52ec8efe09f0dca93aefc290d9941d1c99e277
changeset: 6739:d602770577be
branch: opensaf-4.5.x
parent: 6727:1591d7a11144
user: Lennart Lund lennart.lund@ericsson.com
date: Tue Aug 18 13:31:03 2015 +0200
summary: log: Incorrect reading of stream configuration objects at startup [#1450]
rev: d602770577bea78f03f10dffe771fa61c4c33396
Related
Tickets:
#1450