Transaction consistency and problematic states
First Claim
1. A computer-readable medium having computer-executable instructions, which when executed perform actions, comprising:
- receiving a request to provide a consistent view of a set of resources, wherein a plurality of resource managers are potentially involved in a transaction affecting the set of resources;
allowing a first resource manager that is in a problematic state that makes the view inconsistent to proceed until it exits the problematic state, wherein the first resource manager is associated with a first portion of the set of resources; and
preventing a second resource manager from entering the problematic state, wherein the second resource manager is associated with a second portion of the set of resources;
indicating that the consistent view is available.
3 Assignments
0 Petitions
Accused Products
Abstract
Aspects of the subject matter described herein relate to transactions. In aspects, a consistency requester such as a shadow copy service requests to have a consistent view of a set of resources. In response, transactions that are in a problematic state are allowed to exit the problematic state while new and existing transactions that are not in the problematic state are allowed to perform any work except work that takes them into the problematic state. After no transactions are in the problematic state, a consistent view of the set of resources is available. This view may be used by the consistency requester as desired. Afterwards, the consistency requester may indicate that a consistent view is no longer needed. Transactions are then allowed to enter the problematic state. Transactions may also be allowed to enter the problematic state if a timeout elapses.
46 Citations
19 Claims
-
1. A computer-readable medium having computer-executable instructions, which when executed perform actions, comprising:
-
receiving a request to provide a consistent view of a set of resources, wherein a plurality of resource managers are potentially involved in a transaction affecting the set of resources;
allowing a first resource manager that is in a problematic state that makes the view inconsistent to proceed until it exits the problematic state, wherein the first resource manager is associated with a first portion of the set of resources; and
preventing a second resource manager from entering the problematic state, wherein the second resource manager is associated with a second portion of the set of resources;
indicating that the consistent view is available. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11)
-
-
12. A method implemented at least in part by a computer, the method comprising:
-
requesting that resource managers be prevented from entering a problematic state with respect to transactions affecting a set of resources;
waiting until an earliest of a timeout period elasping or until all of the resource managers that are in the problematic state exit the problematic state;
if the timeout period has not elasped, receiving a notification that indicates that no resource managers are in the problematic state; and
if the timeout period has elasped, refraining from taking a shadow copy of the set of resources. - View Dependent Claims (13, 14, 15, 16, 17)
-
-
18. In a computing environment, an apparatus, comprising:
-
a set of resource managers operable to manage a set of resources stored on a set of resource stores;
a consistency requestor operable to request a consistent view of the set of resources; and
a transaction manager operable to receive the request and in response thereto to prevent resource managers involved in transactions involving the set of resources from entering a problematic state that creates or maintains an inconsistent view of the set of resources, wherein the transaction manager is further operable to allow any resource managers involved in transactions that are in the problematic state to proceed with the transactions to exit the problematic state. - View Dependent Claims (19)
-
Specification