US 7,483,987 B2
Registering a resource that delegates commit voting
Soloman J. Barghouthi, Rochester, Minn. (US); Ian Robinson, Southhampton (United Kingdom); Andrew John Schofield, Eastleigh (United Kingdom); and Kevin William Sutter, Rochester, Minn. (US)
Assigned to International Business Machines Corporation, Armonk, N.Y. (US)
Filed on Nov. 30, 2004, as Appl. No. 11/436.
Prior Publication US 2006/0117095 A1, Jun. 01, 2006
Int. Cl. G06F 15/173 (2006.01)
U.S. Cl. 709—226  [709/230] 6 Claims
OG exemplary drawing
 
1. A method comprising:
receiving an allocation request for a first resource as part of a two-phase commit protocol;
determining whether the first resource desires to delegate commit voting to an enlisted resource;
if the first resource desires to delegate commit voting to the enlisted resource, converting the two-phase commit protocol to a one-phase commit protocol, wherein the converting further comprises
registering the first resource as a non-voting participant, wherein the first resource accesses a secondary resource, and wherein the enlisted resource and the secondary resource share a physical connection,
prohibiting the first resource from voting in an enclosing transactional context, and
performing commit processing for the enlisted resource; and
if the first resource does not desire to delegate commit voting to the enlisted resource, enlisting the first resource as a voting participant in the enclosing transactional context.