-
Notifications
You must be signed in to change notification settings - Fork 9.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor(core): Revamp crash recovery mechanism for main mode (#9613)
- Loading branch information
1 parent
c88bd06
commit cd4e2b3
Showing
10 changed files
with
648 additions
and
223 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
import type { INode } from 'n8n-workflow'; | ||
import { NodeOperationError } from 'n8n-workflow'; | ||
|
||
export class NodeCrashedError extends NodeOperationError { | ||
constructor(node: INode) { | ||
super(node, 'Node crashed, possible out-of-memory issue', { | ||
message: 'Execution stopped at this node', | ||
description: | ||
"n8n may have run out of memory while running this execution. More context and tips on how to avoid this <a href='https://docs.n8n.io/hosting/scaling/memory-errors/' target='_blank'>in the docs</a>", | ||
}); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
import { WorkflowOperationError } from 'n8n-workflow'; | ||
|
||
export class WorkflowCrashedError extends WorkflowOperationError { | ||
constructor() { | ||
super('Workflow did not finish, possible out-of-memory issue'); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
213 changes: 0 additions & 213 deletions
213
packages/cli/src/eventbus/executionDataRecovery.service.ts
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.