Halloween protection in a multi-version database system
First Claim
1. In a computing environment, a method of mitigating update errors including where update operations potentially allow a record to be visited more than once during an operation, the method comprising:
- accessing an instance of a data store operation statement;
executing the instance of the data store operation statement causing an update or delete to an old version of a data store record or creation of a data store record resulting in a new version of the data store record in the case of an update or creation of a data store record or a deleted version of the data store record in the case of a delete in a data store; and
correlating the instance of the data store operation statement with the new version of the data store record or the deleted version of the data store record, wherein correlating the instance of the data store operation statement with the new version of the data store record prevents the instance of the data store operation statement from reading the new version of the data store record so as to prevent the instance of a data store operation statement from accessing its own changes while not preventing the instance of the data store operation statement from accessing a state of the data store as it existed before the data store operation statement started executing, wherein the state of the data store as it existed before the data store operation statement started executing comprises at least one or more of a record created or a record deleted by a previous data store operation statement.
1 Assignment
0 Petitions
Accused Products
Abstract
Mitigating problems related to the Halloween problem including where update operations potentially allow the record to be visited more than once during the operation. A method includes accessing an instance of a data store operation statement. The instance of the data store operation statement is executed causing an update or delete to an old version of data store record or creation of a data store record resulting in a new version of the data store record in the case of an update or creation of a data store record and a deleted version of the data store record in the case of a delete in the data store. The instance of the data store operation statement is correlated with the new version of the data store record or the deleted version of the data store record.
-
Citations
26 Claims
-
1. In a computing environment, a method of mitigating update errors including where update operations potentially allow a record to be visited more than once during an operation, the method comprising:
-
accessing an instance of a data store operation statement; executing the instance of the data store operation statement causing an update or delete to an old version of a data store record or creation of a data store record resulting in a new version of the data store record in the case of an update or creation of a data store record or a deleted version of the data store record in the case of a delete in a data store; and correlating the instance of the data store operation statement with the new version of the data store record or the deleted version of the data store record, wherein correlating the instance of the data store operation statement with the new version of the data store record prevents the instance of the data store operation statement from reading the new version of the data store record so as to prevent the instance of a data store operation statement from accessing its own changes while not preventing the instance of the data store operation statement from accessing a state of the data store as it existed before the data store operation statement started executing, wherein the state of the data store as it existed before the data store operation statement started executing comprises at least one or more of a record created or a record deleted by a previous data store operation statement. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10)
-
-
11. In a computing environment, a computer readable storage device comprising computer executable instructions that when executed by one or more processors cause one or more processors to perform functions for mitigating update errors including where update operations potentially allow a record to be visited more than once during an operation, the functions comprising:
-
accessing an instance of a data store operation statement; executing the instance of the data store operation statement causing an update or delete to an old version of a data store record or creation of a data store record resulting in a new version of the data store record in the case of an update or creation of a data store record or a deleted version of the data store record in the case of a delete in a data store; and correlating the instance of the data store operation statement with the new version of the data store record or the deleted version of the data store record, wherein correlating the instance of the data store operation statement with the new version of the data store record prevents the instance of the data store operation statement from reading the new version of the data store record so as to prevent the instance of a data store operation statement from accessing its own changes while not preventing the instance of the data store operation statement from accessing a state of the data store as it existed before the data store operation statement started executing, wherein the state of the data store as it existed before the data store operation statement started executing comprises at least one or more of a record created or a record deleted by a previous data store operation statement. - View Dependent Claims (12, 13, 14, 15, 16, 17, 18)
-
-
19. In a computing environment, a computing system configured to mitigate update errors including where update operations potentially allow a record to be visited more than once during an operation, the system comprising:
-
one or more physical processors; one or more computer readable storage media coupled to the one or more processors, wherein the computer readable storage medium comprises computer executable instructions that when executed by one or more of the one or more processors cause the following actions to be performed; accessing an instance of a data store operation statement; executing the instance of the data store operation statement causing an update or delete to an old version of a data store record or creation of a data store record resulting in a new version of the data store record in the case of an update or creation of a data store record or a deleted version of the data store record in the case of a delete in a data store; and correlating the instance of the data store operation statement with the new version of the data store record or the deleted version of the data store record, wherein correlating the instance of the data store operation statement with the new version of the data store record prevents the instance of the data store operation statement from reading the new version of the data store record so as to prevent an instance of a data store operation statement from accessing its own changes while not preventing the instance of the data store operation statement from accessing a state of the data store as it existed before the data store operation statement started executing, wherein the state of the data store as it existed before the data store operation statement started executing comprises at least one or more of a record created or a record deleted by a previous data store operation statement. - View Dependent Claims (20, 21, 22, 23, 24, 25, 26)
-
Specification