System and software failures
- Last Updated: April 29, 2024
- 1 minute read
- OpenEdge
- Version 13.0
- Documentation
System and software failures
Following a system hardware or software failure that it cannot recover from, the AVM undoes any partially completed transactions for all users. This includes any work done in any complete or incomplete subtransaction encompassed within the uncommitted transaction.
If OpenEdge loses a database connection (for example, because a remote server fails), client processing can still continue. In this case, the following actions occur:
- The AVM raises the
STOPcondition. For this special instance of theSTOPcondition, you cannot change the default processing. the AVM ignores anyON STOPphrases. - The AVM deletes any running persistent procedure instances that reference the disconnected database.
- The AVM undoes executing blocks, beginning with the innermost active block and working outward. It continues to undo blocks until it reaches a level above all references to tables or sequences in the disconnected database.
- The AVM changes to the normal
STOPcondition. From this point on, the AVM observes any furtherON STOPphrases it encounters in your procedures.
The AVM continues to undo blocks until it reaches an ON STOP phrase.
If no ON STOP phrase is reached, it undoes all
active blocks and restarts the top-level procedure.