- **assigned_to**: elunlen --> Vu Minh Nguyen
---
** [tickets:#1531] LOG: Improve handling of OI implementer create and restore**
**Status:** assigned
**Milestone:** 5.0.FC
**Created:** Thu Oct 08, 2015 11:14 AM UTC by elunlen
**Last Updated:** Sun Nov 01, 2015 09:36 PM UTC
**Owner:** Vu Minh Nguyen
Setting up IMM Object Implementer (OI) is not handled in a correct and
consistent way. There is also a lot of redundant code. In some places (but not
everywhere) a thread is used to prevent the main thread from ‘hanging’ a long
time but this is done in an incorrect way. See also ticket [#1527]
Create a ‘handler’ for setting up the OI. The ‘handler’ must handle very long
setup time (up to 1 min). This means that at least part of this must be done in
a separate thread so that the log server main thread never ‘hangs’ for this
long time. An OI is set up when the active log server start, at HA state change
and if the OI handle is lost (IMM error recovery).
Setting up an OI includes:
saImmOiInitialize_2()
saImmOiSelectionObjectGet()
The following may take long time:
saImmOiImplementerSet()
saImmOiClassImplementerSet() for "OpenSafLogConfig" class
saImmOiClassImplementerSet() for "SaLogStreamConfig" class
and:
saImmOiRtObjectCreate_2() of "OpenSafLogCurrentConfig" object
---
Sent from sourceforge.net because opensaf-tickets@lists.sourceforge.net 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.
------------------------------------------------------------------------------
Go from Idea to Many App Stores Faster with Intel(R) XDK
Give your users amazing mobile app experiences with Intel(R) XDK.
Use one codebase in this all-in-one HTML5 development environment.
Design, debug & build mobile apps & 2D/3D high-impact games for multiple OSs.
http://pubads.g.doubleclick.net/gampad/clk?id=254741551&iu=/4140
_______________________________________________
Opensaf-tickets mailing list
Opensaf-tickets@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opensaf-tickets