Method and system for consolidating related partial operations into a transaction log
AssigneeSun Microsystems, Inc.
InventorsRicardo Labiaga, Spencer Shepler, Michael D. Kupfer
Life of this patent
Estimating the term…
Abstract
Improved logging techniques that produce transaction logs are disclosed. The logging techniques are able to consolidate multiple related partial operations performed on a server device into a single log entry in a transaction log. Accordingly, the logging techniques are well suited for logging operations of protocols in which transactions are often completed over multiple operations. The logging techniques are particularly well suited for logging access to NFS file and/or directory resources with respect to a NFS server, even when the NFS operations are performed via Remote Procedure Calls (RPCs) to the NFS server.
Claims21
A method for consolidating related partial operations performed on a server device into a single log entry in a transaction log, comprising:
- receiving partial operations to be performed on the server device;
- determining whether the partial operations together form a complete operation;
- temporarily storing, for purposes of producing the transaction log, only reduced amounts of information about the partial operations;
- and
- producing a log entry in the transaction log pertaining to the complete operation based on the temporarily stored information about the partial operations when said determining determines that the partial operations together form the complete operation.
A method for producing a transaction log for operations performed on a server device, said method comprising:
- (a) receiving transaction information pertaining to an operation being requested to be performed on the server;
- (b) determining whether the operation is a complete operation or a partial operation;
- (c) temporarily storing the transaction information for the operation when said determining (b) determines that the operation is a partial operation;
- (d) determining whether the partial operation temporarily stored has been completed through subsequent partial operations;
- and
- (e) generating a log entry in the transaction log based on the transaction information temporarily stored for the operation after said determining (d) determines that the operation has been completed through subsequent partial operations.
A transaction logging system for NFS operations directed to a file server, said system comprising:
- a file store that stores a plurality of electronic files;
- a transaction log of NFS activity;
- and
- a NFS server coupled to said file store, said NFS server includes at least
- a NFS server kernel module that receives NFS operation requests and returns replies;
- a buffer operatively connected to said NFS server kernel module, said buffer stores the NFS operation requests that are received;
- and
- a NFS log manager operatively connected to said buffer, said NFS log manager examines the NFS operation requests and determines whether the NFS operation requests are complete through a single NFS operation and if not whether the NFS operation requests are complete through multiple NFS operations, and produces a log entry in said transaction log when said NFS log manager determines that the NFS operation requests are complete.
A computer readable medium including computer program code for consolidating related partial operations performed on a server device into a single log entry in a transaction log, said computer readable medium comprising:
- computer program code receiving partial operations to be performed on the server device;
- computer program code determining whether the partial operations together form a complete operation;
- and
- computer program code producing a log entry in the transaction log pertaining to the complete operation when said determining determines that the partial operations together form the complete operation.
A computer readable medium including computer program code for producing a transaction log for operations performed on a server device, said computer readable medium comprising:
- computer program code for receiving transaction information pertaining to an operation being requested to be performed on the server;
- computer program code for determining whether the operation is a complete operation or a partial operation;
- computer program code for temporarily storing the transaction information for the operation when said computer program code for determining determines that the operation is a partial operation;
- computer program code for determining whether the partial operation temporarily stored has been completed through subsequent partial operations;
- and
- computer program code for generating a log entry in the transaction log based on the transaction information temporarily stored for the operation after said computer program code for determining determines that the operation has been completed through subsequent partial operations.
Dependencies are inferred from the claim text.