×

Systems and methods for supporting transactional message handling

  • US 9,519,547 B2
  • Filed: 09/16/2014
  • Issued: 12/13/2016
  • Est. Priority Date: 06/24/2011
  • Status: Active Grant
First Claim
Patent Images

1. A method performed by a system having at least a processor and a memory therein, the method comprising:

  • enqueuing a message into a message queue framework, the message specifying a transaction requiring at least a row to be inserted into a database system;

    inserting the row into the database system, wherein a status for the row inserted into the database system remains pending in the message queue framework absent initiation of a commit operation for the row;

    initiating the commit operation for the row inserted into the database system upon insertion of the row into the database system regardless of whether any further processing occurs;

    requesting a lock on the row inserted into the database system;

    determining the transaction failed resulting in the enqueued message becoming an orphaned transaction within the message queue framework which will not be consumed, wherein determining the transaction failed is based on whether the lock requested on the row is obtained or denied and based further on whether the status for the row is pending or ready in the message queue framework; and

    performing an orphaned transaction clean up operation including at least discarding the enqueued message by removing the row from the database system and committing the deletion of the row from the database system; and

    wherein the database system embodies a multi-tenant database system, the multi-tenant database system having elements of hardware and software that are shared by a plurality of separate and distinct customer organizations, each of the separate and distinct customer organizations being remotely located from the multi-tenant database system.

View all claims
  • 1 Assignment
Timeline View
Assignment View
    ×
    ×