IBM Support

IT42699: MANY ATS/RIS FILES MIGHT GENERATED WHEN TABLE ARE CREATED WITH ERKEY AND WITH REPLCHECK

Subscribe to this APAR

By subscribing, you receive periodic emails alerting you to the status of the APAR, along with a link to the fix after it becomes available. You can track this item individually or track all items by product.

Notify me when this APAR changes.

Notify me when an APAR for this component changes.

 

APAR status

  • Closed as program error.

Error description

  • Here is an example of the table and replicate setup which might
    result in the problem being seen ...
    
    create table t1 (id serial not null, c1 char(1) not null) with
    replcheck with erkey ;
    
    create index t1_rowid on t1 (id) using btree  ;
    
    create unique index t1_erkey_replcheck on t1 (ifx_erkey_1,
    ifx_erkey_2, ifx_erkey_3, ifx_replcheck) using btree  ;
    
    Please note that the inclusion of "with erkey" will
    automatically create a unique index on columns (ifx_erkey_1,
    ifx_erkey_2, ifx_erkey_3) which we will call erkey_123.
    
    When defining the replicate, then there will be a need to
    include "--erkey".
    
    cdr define replicate --erkey --conflict=ignore --ats --ris
    repl_t1 \
            "db@cdr_110:informix.t1" "select t.id, t.c1 from t1 t" \
            "db@cdr_111:informix.t1" "select t.id, t.c1 from t1 t"
    
    Once this replicate is operational, then an issue will be seen
    if the index data dictionary cache entries shows index
    t1_erkey_replcheck before index erkey_123.
    
    The order of indexes can be seen by running "onstat -g dic t1".
    
    Depending on the SQL being run on the source server, then the
    target server will report various ATS/RIS problems showing
    either dbop:update, dbop:delete, dbop:keydelete or
    dbop:keyinsert and the data will be out of sync.
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * Users of Informix Server prior to 12.10.xC16 and 14.10.xC10. *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * See Error Description                                        *
    ****************************************************************
    * RECOMMENDATION:                                              *
    * Upgrade to Informix Server 12.10.xC16 or 14.10.xC10.         *
    ****************************************************************
    

Problem conclusion

  • Fixed in Informix Server 12.10.xC16 and 14.10.xC10.
    

Temporary fix

Comments

APAR Information

  • APAR number

    IT42699

  • Reported component name

    INFORMIX SERVER

  • Reported component ID

    5725A3900

  • Reported release

    C10

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2022-12-13

  • Closed date

    2023-05-15

  • Last modified date

    2023-05-15

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

Fix information

  • Fixed component name

    INFORMIX SERVER

  • Fixed component ID

    5725A3900

Applicable component levels

[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSGU8G","label":"Informix Servers"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"C10","Line of Business":{"code":"LOB10","label":"Data and AI"}}]

Document Information

Modified date:
16 May 2023