IBM Support

IT24743: CRASH RECOVERY MIGHT FAIL OR INTRODUCE DATABASE CORRUPTION WHEN USING AN ENCRYPTED DATABASE

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

  • The issue only happens on encrypted databases.  In rare cases,
    asynchronous page-cleaner agents might incorrectly flush
    modified pages to disk before the corresponding log records have
    been flushed to disk.  This is in violation of Db2's write-ahead
    logging protocol.  If a database crash occurs while a page has a
    change on disk whose corresponding log record is not on disk,
    then the subsequent crash recovery might fail or it might
    complete successfully while leaving database objects in an
    inconsistent state.  This might result in a wide variety of
    errors or might cause Db2 to return incorrect results.
    

Local fix

  • Run db2dart or INPSECT to examine the database after running
    crash recovery on an encrypted database.  To turn encrypted
    database to un-encrypted can be done by restore.
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * Encrypted Databases only                                     *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * See Error Description                                        *
    ****************************************************************
    * RECOMMENDATION:                                              *
    * Please, see error description and install this fix.          *
    ****************************************************************
    

Problem conclusion

  • Please, see error description and install this fix.
    

Temporary fix

Comments

APAR Information

  • APAR number

    IT24743

  • Reported component name

    DB2 FOR LUW

  • Reported component ID

    DB2FORLUW

  • Reported release

    A50

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    YesHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2018-04-16

  • Closed date

    2018-07-16

  • Last modified date

    2018-07-16

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

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

    IT24968

Fix information

  • Fixed component name

    DB2 FOR LUW

  • Fixed component ID

    DB2FORLUW

Applicable component levels

[{"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SSEPGG","label":"DB2 for Linux, UNIX and Windows"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"10.5","Edition":"","Line of Business":{"code":"LOB10","label":"Data and AI"}}]

Document Information

Modified date:
16 July 2018