Idempotence for database transactions
Abstract
A method, machine, and computer-readable medium is provided for managing transactional sets of commands sent from a client to a server for execution. A first server reports logical identifiers that identify transactional sets of commands to a client. The first server commits information about a set of commands to indicate that the set has committed. A second server receives, from the client, a request that identifies the set based on the logical identifier that the client had received. The second server determines whether the request identified the latest set received for execution in a corresponding session and whether any transactions in the set have not committed. If any transaction has not committed, the second server enforces uncommitted state of the identified set by blocking completion of the identified set issued in the first session. The identified set may then be executed in the second session without risk of duplication.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 46 · Forward citations: 8.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A method comprising: a server receiving, from a client in a second session, a request for an outcome of an identified set of one or more commands comprising two or more related transactions that were previously sent by the client in a first session; wherein the identified set of one or more commands, if completed in the first session, would cause performance of: a first server operation that commits a transaction of the two or more related transactions, and a second server operation that sends, to the client, an indication that the identified set of one or more commands has committed; wherein
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (8 of 8 total)
References Cited — Backward Prior Art (46)
Non-Patent Literature (5)
- "Database Replay", Oracle White Paper, 2007 (19 pages).
- Colle et al., "Oracle Database Replay," ACM, 2009 (4 pages).
- Current Claims in application No. PCT/US2012/054326, dated Jan. 2013, 4 pages.
- European Patent Office, "Office Action", in application No. PCT/US2012/054326, dated Jan. 3, 2013, 11 pages.
- Galanis et al., "Oracle Database Replay," ACM, 2008, pp. 1159-1170 (12 pages).