DB2 - Problem description
Problem IC96012 | Status: Closed |
POTENTIAL HANG ON TRANENTRY LATCH IN SQLPM_WRITE_APPL_LOCKS DURING LOCK SNAPSHOT | |
product: | |
DB2 FOR LUW / DB2FORLUW / 970 - DB2 | |
Problem description: | |
When a federated server utilizing two-phase-commit starts up it will hold the tranEntry latch. If the federated query involves connecting back into the same database then it will start an agent that will try to get the dblatch. Since snapshot processing first gets the dblatch and then tries to get the tranEntry latch, it is possible for a hang to occur if a LOCK snapshot is processing when such federated query processing is running. | |
Problem Summary: | |
**************************************************************** * USERS AFFECTED: * * Anybody using federated transaction two phase commit * * transaction and LOCK snapshots * **************************************************************** * PROBLEM DESCRIPTION: * * See Error Description * **************************************************************** * RECOMMENDATION: * * Upgrade to Version 9.7 Fix Pack 9 * **************************************************************** | |
Local Fix: | |
This hang can be avoided if the federated transaction does not require two phase commit. Two phase commit can be disabled as follows: alter server <server name> options (set DB2_TWO_PHASE_COMMIT 'N') | |
available fix packs: | |
DB2 Version 9.7 Fix Pack 9 for Linux, UNIX, and Windows | |
Solution | |
Problem was first fixed in Version 9.7 Fix Pack 9 | |
Workaround | |
not known / see Local fix | |
BUG-Tracking | |
forerunner : APAR is sysrouted TO one or more of the following: IC96022 IC96028 IC96535 follow-up : | |
Timestamps | |
Date - problem reported : Date - problem closed : Date - last modified : | 17.09.2013 16.12.2013 16.12.2013 |
Problem solved at the following versions (IBM BugInfos) | |
9.7.FP9 | |
Problem solved according to the fixlist(s) of the following version(s) | |
9.7.0.9 | |
9.7.0.9 |