Lightweight Fault Tolerance Avatar
  1. OMG Specification

Lightweight Fault Tolerance — Closed Issues

  • Acronym: LWFT
  • Issues Count: 3
  • Description: Issues resolved by a task force and approved by Board
Closed All
Issues resolved by a task force and approved by Board

Issues Descriptions

Some normative LwFT IDL files use TAO-specific macros. These need to be removed

  • Key: LWFTF2-1
  • Legacy Issue Number: 16244
  • Status: closed  
  • Source: THALES ( Hakim Souami)
  • Summary:

    BasicTypes.idl, Forwarding.idl and ServerReplicationManagement.idl Lwft IDL files from mars/2009-08-02 (machine readable files) contain TAO-specific macro and paths in the include section such as :

    #ifdef __TAO_IDL

    #include "tao/PI_Forward.pidl"

    #include "tao/PI_Server/ServerRequestInfo.pidl"

    #include "tao/PI/ClientRequestInfo.pidl"

    #include "tao/PI/PIForwardRequest.pidl"

    #endif

    These should be removed and replaced by includes to standard CORBA 3.1 idl files from http://www.omg.org/spec/CORBA/3.1/20030102/.

  • Reported: LWFT 1.0b2 — Mon, 16 May 2011 04:00 GMT
  • Disposition: Resolved — LWFT 1.0
  • Disposition Summary:

    Remove the __TAO_IDL macro and include PortableGroup.idl and PortableInterceptor.idl from CORBA 3.1 from http://www.omg.org/spec/CORBA/3.1/20030102/.

  • Updated: Fri, 6 Mar 2015 23:16 GMT

Too many IDL files with no prefix that may conflict with application IDL

  • Key: LWFTF2-3
  • Legacy Issue Number: 16246
  • Status: closed  
  • Source: THALES ( Hakim Souami)
  • Summary:

    There are so many Lwft IDL files from mars/2009-08-02 (machine readable files) and these do not contain any prefix to avoid conflicts with application IDLs (BasicTypes.idl for example may easily conflict with an application IDL).

    We propose to follow approach used in CORBA 3.1 orb.idl file (in http://www.omg.org/spec/CORBA/3.1/20030102/orb.idl) and defined one single LWFT.idl to be included by application. The LWFT.idl is to to include all IDL files from mars/2009-08-02 previously prefixed by 'LWFT_'.

    The LWFT_xxx.idl files will contain no include directives and no LWFT module (see attachement).

    The following LWFT.idl will comply with above recommendations and will comly with post CORBA 3.0 compilers :

    ---------------------------------------------------------------

    // File: LWFT.idl

    // From Lightweight Fault Tolerance

    #ifndef LWFT_IDL

    #define LWFT_IDL

    #ifdef PRE_3_0_COMPILER

    #include <PortableGroup.idl>

    #include <PortableInterceptor.idl>

    #include <TimeBase.idl>

    #include <orb.idl>

    #pragma prefix "omg.org"

    #else

    import ::CORBA;

    import ::PortableGroup;

    import ::PortableInterceptor;

    import ::TimeBase;

    typeprefix LWFT "omg.org"

    #endif // PRE_3_0_COMPILER

    // This module brings together many files defining the LWFT module.

    // It describes interfaces and data types of the Lightweight fault

    // tolerance that can be brought into an IDL compilation by "import ::LWFT"

    // or in pre-3.0 IDL compilers by the include directive

    // "#include <LWFT.idl>".

    module LWFT

    { // Basic type definitions #include <LWFT_BasicTypes.idl> // ClientFailoverSemanticsPolicy type and value #include <LWFT_ClientFailoverSemanticsPolicy.idl> // Contrain FT Current interface #include <LWFT_Current.idl> // Naming schemes for Object Groups #include <LWFT_ObjectGroupNames.idl> // ObjectGroupMembershipPolicy type and value #include <LWFT_ObjectGroupMembershipPolicy.idl> // ObjectGroupNameResolutionPolicy type and value #include <LWFT_ObjectGroupNameResolutionPolicy.idl> // interfaces for Process-level replication and process groups #include <LWFT_ServerReplicationManagement.idl> // Locators, ObjectKey decoders for the Forwarding framework #include <LWFT_Forwarding.idl> }

    ;

    #endif // LWFT_IDL

    ---------------------------------------------------------------

  • Reported: LWFT 1.0b2 — Mon, 16 May 2011 04:00 GMT
  • Disposition: Resolved — LWFT 1.0
  • Disposition Summary:

    Follow approach used in CORBA 3.1 orb.idl file (in http://www.omg.org/spec/CORBA/3.1/20030102/orb.idl) and define one single LWFT.idl to be included by application. The LWFT.idl is to include all IDL files from mars/20090802
    previously prefixed by 'LWFT_'.The LWFT_xxx.idl files will contain no include directives and no LWFT module (see attachement).

  • Updated: Fri, 6 Mar 2015 23:16 GMT

LwFT IDL files do not address CORBA 3.0 compilers with no support for #include directive

  • Key: LWFTF2-2
  • Legacy Issue Number: 16245
  • Status: closed  
  • Source: THALES ( Hakim Souami)
  • Summary:

    The Lwft IDL files from mars/2009-08-02 (machine readable files) do not address CORBA 3.0 compilers as when PRE_3_0_COMPILER macro is not defined.

    See CORBA 3.1 idl files from http://www.omg.org/spec/CORBA/3.1/20030102/ that use 'import' and 'typeprefix' directives when PRE_3_0_COMPILER is not defined.

    Following CORBA 3.1 approach in http://www.omg.org/spec/CORBA/3.1/20030102/, the following is to be used:

    #ifdef PRE_3_0_COMPILER

    #include <PortableGroup.idl>

    #include <PortableInterceptor.idl>

    #include <TimeBase.idl>

    #include <orb.idl>

    #pragma prefix "omg.org"

    #else

    import ::CORBA;

    import ::PortableGroup;

    import ::PortableInterceptor;

    import ::TimeBase;

    typeprefix LWFT "omg.org"

    #endif // PRE_3_0_COMPILER

  • Reported: LWFT 1.0b2 — Mon, 16 May 2011 04:00 GMT
  • Disposition: Resolved — LWFT 1.0
  • Disposition Summary:

    See CORBA 3.1 idl files from http://www.omg.org/spec/CORBA/3.1/20030102/ that use 'import' and 'typeprefix' directives when PRE_3_0_COMPILER is not defined.Following CORBA 3.1 approach in http://www.omg.org/spec/CORBA/3.1/20030102/, use include directive and pragma prefix when PRE_3_0_COMPILER macro is defined and import and typeprefix when the macro is not defined

  • Updated: Fri, 6 Mar 2015 23:16 GMT