30 Data Sharing in a Nutshell
As Figure 2-7 shows, application users continue to have access to data. New
work entering the system will be routed to DBP2 or other members of the data
sharing group. Transactions, tasks, or queries that were executing on DBP1 at
the time of the failure are candidates for recovery.
DBP1 may hold locks on behalf of transactions that were executing at the time of
the failure. If those locks were global locks, that is, if they were on resources that
are actively shared, then the update type locks in the lock structure are changed
to retained locks. This means that no other access is allowed to the resources
protected by those locks until the underlying changes are either committed or
backed out. The key to restoring ...