Claims
- 1. A data processing method for facilitating a restart within a data processing system following a failure, the data processing system comprising, within persistent storage, a recovery log containing recovery log records which can be used during recovery from the failure of the data processing system, the log records relating to units of work undertaken by the data processing system, the method comprising the steps of:
retrieving, from the recovery log, a recovery log record relating to a unit of work; determining whether or not the unit of work meets at least one predetermined criterion; and performing a recovery process if the unit of work meets the predetermined criterion.
- 2. A method as claimed in claim 1 in which the step of determining whether or not the unit of work meets the at least one predetermined criterion comprises the step of comparing at least one metric of the unit of work with at least one threshold value.
- 3. A method as claimed in claim 2 in which the step of determining comprises the step of concluding that the unit of work meets the predetermined criterion if the metric of the unit of work does not exceed the threshold value.
- 4. A method as claimed in claim 2 in which the step of determining comprises the s tep of concluding that the unit of work meets the predetermined criterion if the metric of the unit of work exceeds the threshold value.
- 5. A method as claimed in claim 1 in which the step of determining comprises the steps of outputting a message comprising data relating to the unit of work; and receiving a response to the message which provides an indication of further processing to be undertaken in relation to the unit of work.
- 6. A method as claimed in claim 5 in which the step of outputting a message comprises the step of outputting the message in a human-readable form comprising information relating to at least one metric of the unit of work and soliciting input of a preferred action to be performed in relation to the unit of work during the recovery process.
- 7. A method as claimed in claim 5 in which the step of outputting a message comprises the step of communicating data relating to the unit of work to an application for assessing at least one metric associated with the unit of work; and receiving a response from the application which provides an indication of a preferred action to be performed in relation to the unit of work during the recovery process.
- 8. A method as claimed in claim 1, in which the step of performing the recovery process comprises the step of deleting from the recovery log all units of work that do not meet the predetermined criterion; and performing a further recovery process in relation to the units of work of the updated recovery log.
- 9. A method as claimed in claim 1 in which the step of performing the recovery process comprises the step of effecting a predetermined action in relation to the removed unit of work.
- 10. A method as claimed in claim 9 in which the step of effecting a predetermined action in relation to the unit of work comprises the step of forcing a commit operation in relation to the unit of work.
- 11. A method as claimed in claim 1 in which the step of performing the recovery process comprises the step of completing the unit of work.
- 12. A method as claimed in claim 1 in which the step of performing the predetermined recovery process comprises the step of effecting a commit for the unit of work.
- 13. A data processing system for facilitating a restart following a failure, the data processing system comprising, within persistent storage, a recovery log containing recovery log records which can be used during recovery from the failure of the data processing system, the log records relating to units of work undertaken by the data processing system;
means for retrieving, from the recovery log, a recovery log record relating to a unit of work; means for determining whether or not the unit of work meets at least one predetermined criterion; and means for performing a recovery process if the unit of work meets the predetermined criterion.
- 14. A system as claimed in claim 13 in which the means for determining whether or not the unit of work meets the at least one predetermined criterion comprises the step of comparing at least one metric of the unit of work with at least one threshold value.
- 15. A system as claimed in claim 14 in which the means for determining comprises means for concluding that the unit of work meets the predetermined criterion if the metric of the unit of work does not exceed the threshold value.
- 16. A system as claimed in claim 14 in which the means for determining comprises means for concluding that the unit of work meets the predetermined criterion if the metric of the unit of work exceeds the threshold value.
- 17. A system as claimed in claim 13 in which the means for determining comprises means for outputting a message comprising data relating to the unit of work; and means for receiving a response to the message which provides an indication of further processing to be undertaken in relation to the unit of work.
- 18. A system as claimed in claim 17 in which the means for outputting a message comprises the step of outputting the message in a human-readable form comprising information relating to a metric of the unit of work and means for soliciting input of a preferred action to be performed in relation to the unit of work during the recovery process.
- 19. A system as claimed in claim 17 in which the means for outputting a message comprises means for communicating data relating to the unit of work to an application for assessing at least one metric associated with the unit of work; and means for receiving a response from the application which provides an indication of a preferred action to be performed in relation to the unit of work during the recovery process.
- 20. A system as claimed in claim 13, in which the means for performing the predetermined recovery process comprises means for writing to a restart recovery log all units of work that do not meet the predetermined criterion and means for performing the recovery process in relation to the restart recovery log.
- 21. A system as claimed claim 13 in which the means for performing the recovery process comprises means for effecting a predetermined action in relation to the removed unit of work.
- 22. A system as claimed in claim 21 in which the means for effecting a predetermined action comprises means for forcing a commit operation in relation to the unit of work.
- 23. A system as claimed in claim 13 in which the means for performing the predetermined recovery process comprises means for completing the unit of work.
- 24. A system as claimed in claim 13 in which the means for performing the predetermined recovery process comprises means for effecting a commit for the unit of work.
- 25. A data processing method for a data processing system comprising a recovery log containing recovery log records relating to a plurality of units of work which have influenced a system resource of the data processing system, the method comprising the steps of
retrieving a recovery log record from the recovery log, assessing the unit of work associated with the recovery log to determine, whether or not a recovery process corresponding to the unit of work should be performed in relation to the system resource; and performing the recovery process in relation to the system resource in accordance with the unit of work if the assessment does not indicate that the recovery process should not be performed; or omitting to perform the recovery process in relation to the system resource if the assessment indicates that recovery process should not be performed.
- 26. A method as claimed in claim 25, in which the step of assessing comprises the step of comparing at least one metric of the unit of work with at least one threshold value.
- 27. A method as claimed in claim 26 in which the step of assessing further comprises the step of concluding that the recovery process should be performed if the metric of the unit of work does not exceed the threshold value.
- 28. A method as claimed in claim 27 in which the step of assessing further comprises the step of concluding that the recovery process should not be performed if the metric of the unit of work exceeds the threshold value.
- 29. A method as claimed in claim 15, in which the step of assessing the steps of outputting a message comprising data relating to the unit of work; and receiving a response to the message which provides an indication of further processing to be undertaken in relation to the unit of work.
- 30. A method as claimed in claim 29 in which the step of outputting a message comprises the step of outputting the message in a human-readable form comprising information relating to at least one metric of the unit of work and soliciting input of a preferred action to be performed in relation to the unit of work during the recovery process.
- 31. A method as claimed in claim 30 in which the step of outputting a message comprises the step of communicating data relating to the unit of work to an application for assessing at least one metric associated with the unit of work; and receiving a response from the application which provides an indication of a preferred action to be performed in relation to the unit of work during the recovery process.
- 32. A method as claimed in claim 25, in which the step of omitting comprises the step of performing a predetermined operation in relation to the unit of work.
- 33. A method as claimed in claim 32, in which the step of performing the predetermined operation comprises the step of performing a commit operation in relation to the unit of work.
- 34. A system for implementing a method as claimed in claim 25.
- 35. A computer program product comprising a storage medium having embodied thereon computer program code means for implementing a method as claimed in claim 1.
- 36. A computer program product comprising a storage medium having embodied thereon computer program code means for implementing a method as claimed in claim 25.
CROSS REFERENCE TO RELATED APPLICATION
[0001] This application claims priority and all other benefits under 35 U.S.C. §120 of prior filed co-pending U.S. patent application Ser. No. 60/183,861, filed Feb. 22, 2000 and is incorporated herein by reference thereto.
Provisional Applications (1)
|
Number |
Date |
Country |
|
60183861 |
Feb 2000 |
US |