DB2 - Problem description
Problem IC87852 | Status: Closed |
After a crash during shutdown while truncating a log file, crash recovery may fail due to truncated log. | |
product: | |
DB2 FOR LUW / DB2FORLUW / A10 - DB2 | |
Problem description: | |
Due to a timing hole where the log file is truncated during a crash the LFH with the SQLPG_HFLAG2_GHCK_TRUNC_LOGFILE flag is not written. Errors produced in the db2diag.log should be similar to the following 2012-03-16-04.52.29.626688-240 I2164616A373 LEVEL: Error PID : 373150 TID : 1 PROC : db2loggr (DB2INST1) 0 INSTANCE: db2inst1 NODE : 000 FUNCTION: DB2 UDB, data protection services, sqlpgInitRecoverable, probe:5520 DATA #1 : <preformatted> Unexpected size for S0012345.LOG, PageCount 4074 ExtSize 7000 actualFileSize 16687104 | |
Problem Summary: | |
**************************************************************** * USERS AFFECTED: * * After a crash during shutdown while truncating a log file, * * crash recovery may fail due to truncated log. * **************************************************************** * PROBLEM DESCRIPTION: * * See Error Description * **************************************************************** * RECOMMENDATION: * * Upgrade to DB2 LUW version 10 fp1 * **************************************************************** | |
Local Fix: | |
available fix packs: | |
DB2 Version 10.1 Fix Pack 2 for Linux, UNIX, and Windows | |
Solution | |
Workaround | |
not known / see Local fix | |
Timestamps | |
Date - problem reported : Date - problem closed : Date - last modified : | 04.11.2012 17.12.2012 17.12.2012 |
Problem solved at the following versions (IBM BugInfos) | |
Problem solved according to the fixlist(s) of the following version(s) | |
10.1.0.2 | |
10.5.0.2 |