Techniques for transaction semantics for a database server performing file operations
First Claim
1. A machine-implemented method, comprising the machine-implemented steps of:
- a database server receiving a file command representing at least a request to open a resource stored in a database;
commencing one or more database transactions to execute the file command;
opening said resource;
while said resource is opened in response to said file command, prior to closing said resource;
said database server successfully committing the one or more database transactions, wherein the one or more database transactions resulted in a change being committed to the resource;
after said database server successfully committing the one or more database transactions, said database server determining that the resource is to be reverted to a state that existed prior to receiving said file command and that does not reflect the committed change; and
after determining that the resource should be reverted to a state that existed prior to receiving said file command that does not reflect the committed change, reverting said resource to said state;
wherein the method is performed by one or more computing devices.
1 Assignment
0 Petitions
Accused Products
Abstract
A method and apparatus for reverting a resource to a prior state in time is provided. Changes are committed to a resource at a particular point in time. After the particular point in time, a request, which may be a file system operation request, to revert the resource to a state prior to the particular point in time is received at a database server. In response to the request, the resource is reverted to the state prior to the particular point in time. The current state of the resource ceases to reflect the plurality of changes. Advantageously, if a requestor creates an incorrect version of a resource, the changes made to a schema-based resource are not compatible with the schema, or the changes of multiple requesters are not compatible with each other, the resource may be reverted to the earlier point in time.
91 Citations
30 Claims
-
1. A machine-implemented method, comprising the machine-implemented steps of:
-
a database server receiving a file command representing at least a request to open a resource stored in a database; commencing one or more database transactions to execute the file command; opening said resource; while said resource is opened in response to said file command, prior to closing said resource; said database server successfully committing the one or more database transactions, wherein the one or more database transactions resulted in a change being committed to the resource; after said database server successfully committing the one or more database transactions, said database server determining that the resource is to be reverted to a state that existed prior to receiving said file command and that does not reflect the committed change; and after determining that the resource should be reverted to a state that existed prior to receiving said file command that does not reflect the committed change, reverting said resource to said state; wherein the method is performed by one or more computing devices. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 29, 30)
-
-
16. A computer-readable storage medium storing one or more sequences of instructions which, when executed by one or more processors, causes:
-
a database server receiving a file command representing at least a request to open a resource stored in a database; commencing one or more database transactions to execute the file command;
opening said resource;while said resource is opened in response to said file command, prior to closing said resource; said database server successfully committing the one or more database transactions, wherein the one or more database transactions resulted in a change being committed to the resource; after said database server successfully committing the one or more database transactions, said database server determining that the resource is to be reverted to a state that existed prior to receiving said file command and that does not reflect the committed change; and after determining that the resource should be reverted to a state that existed prior to receiving said file command that does not reflect the committed change, reverting said resource to said state. - View Dependent Claims (17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28)
-
Specification