Patent ID: 8606947
Filing Date: 2013-12-10
Classification: G06F,G06Q

Abstract:
1. A method, comprising: receiving, at a transaction participant, a message from a transaction coordinator comprising an indication as to whether the transaction coordinator, that coordinates commitment of transactions as requested by an application, supports a heuristic response from the transaction participant, where heuristic responses are sent by transaction participants to the transaction coordinator that is coordinating the transactions as requested by the application in response to the transaction participants determining that heuristic outcomes occur and the heuristic outcomes comprise situations where the transaction participants determine they are unable to honor transactional prior prepared commitments made to the transaction coordinator during first prepare phases of two-phase commits associated with the transactions, and the transactional prior prepared commitments comprise indications to the transaction coordinator that the transaction participants are prepared during the first prepare phases of the two-phase commits to commit respective portions of the transactions when instructed by the transaction coordinator; determining from a message element in the message whether the transaction coordinator supports heuristics, where the message element is ignorable by transaction participants that are incapable of communicating the heuristic response to the transaction coordinator; and responsive to the transaction participant determining that a heuristic outcome has occurred based upon an inability to commit a portion of a transaction previously indicated by the transaction participant to the transaction coordinator as prepared to commit and determining that the transaction coordinator supports heuristics, sending the heuristic response from the transaction participant to the transaction coordinator to inform the transaction coordinator that the transaction participant has determined that it is unable to honor a transactional prior prepared commitment made to the transaction coordinator by the transaction participant during a first prepare phase of a two-phase commit associated with a transaction coordinated by the transaction coordinator as requested by the application.