You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Reported by customer on FFC - the latest auto-snapshot of their instance is different to the current deployed flows. Not sure how that is possible - nor if it can be recreated. I did look at their snapshot/flows and confirmed the difference.
Worth noting the snapshot was 2.4Mb in size - in case there's a timing issue here.
Expected Behavior
Auto-snapshot to reliably be the latest deployed flows.
Steps To Reproduce
Unknown
Environment
FlowFuse version:
Node.js version:
npm version:
Platform/OS:
Browser:
Have you provided an initial effort estimate for this issue?
I can not provide an initial effort estimate
The text was updated successfully, but these errors were encountered:
The auto-snapshot is triggered when the Node-RED instance logs the flows.set audit event.
Within the Node-RED codebase, the audit event is logged immediately before the flows/credentials are passed to the storage layer to be saved.
If the flows/credentials are sufficiently large, a timing window opens up where the auto-snapshot is created before Node-RED has finished saving the flows/credentials.
We need to move the trigger for auto-snapshot out of the audit-log handler and over to the storage api.
Current Behavior
Reported by customer on FFC - the latest auto-snapshot of their instance is different to the current deployed flows. Not sure how that is possible - nor if it can be recreated. I did look at their snapshot/flows and confirmed the difference.
Worth noting the snapshot was 2.4Mb in size - in case there's a timing issue here.
Expected Behavior
Auto-snapshot to reliably be the latest deployed flows.
Steps To Reproduce
Unknown
Environment
Have you provided an initial effort estimate for this issue?
I can not provide an initial effort estimate
The text was updated successfully, but these errors were encountered: