摘要 |
A method that applies transaction techniques to file system operations in nondatabase applications executing on parallel processing systems. For each of a set of file operations, program routines are defined for performing (100), finalizing (130), and undoing (140) the operations, so that the operations may be used in a non-database application to create a transaction processing environment. A computer program library, for adding the semantics of transactions to a set of native operations of a native file system, comprises families of routines each corresponding to a native operation, including a Perform routine (100) for providing the functional equivalent of the corresponding native operation (112) while preserving information necessary to roll back such native operation (106-110), a Finalize routine (130) for committing the result of the corresponding Perform routine (100), and an Undo routine (140) for rolling back the result of the corresponding Perform routine (100).
|