Patent ID: 9477557
Filing Date: 2016-10-25
CPC Classification: G06F

Claim Text:
1. A method implemented by a computing system while performing a transaction on a collection of records in a persistent system coupled to one or more processors via a bus and which is usable to facilitate detection of record level and transaction level torn writes associated with the transaction, in which issued writes associated with the transaction and corresponding records have not yet been persisted in durable storage, the method comprising: an act of logging in a log buffer post-commit processing information including at least a commit marker for a current transaction and including a pointer for each record new version that is created by the current transaction and for at least a portion of each record version that is updated by the current transaction; for each new record version that is created by the current transaction, performing the following: an act of creating a transaction level torn-write guard based on the log buffer, subsequent to adding the record version level torn-write guard for each new record version to the log buffer, the transaction level torn-write guard comprising at least one of a checksum computed over at least a portion of the log bugger or a bit map corresponding to a predetermined pattern previously applied to the log buffer; and an act of adding the created transaction level torn-write guard to the log buffer, such that the log buffer includes the commit marker for each record, the pointer for each record and the torn-write guard for each new record, as well as the transaction level torn-write guard.