Is it possible to manage the Elsa's collections by ourselves? #6198
Replies: 2 comments 2 replies
|
In my experience with Elsa (we also use MongoDB), you can add and remove documents however you like (like with TTL indexes) and Elsa handles this well. Adding new definitions and instances and removing anything has never produced problems for me. I haven't done anything with bookmarks, this might not work as smoothly. |
|
There isn't a supported database-level migration path for carrying Elsa 2 workflow instances into Elsa 3. The persisted instance and bookmark/state models are different enough that copying or transforming the tables directly would be application- and provider-specific, and we do not ship an automatic upgrader for them. That is also true for newer Elsa upgrades when their persisted state shape changes: see the current guidance in #7758. Your parallel-run approach is therefore the safest one:
If you must move in-flight instances, treat it as a custom migration project: test a copy of the persisted data, including related bookmarks, and validate resume behavior for every workflow shape you rely on. We cannot recommend a generic table-level conversion. |
Uh oh!
There was an error while loading. Please reload this page.
Elsa working with MongoDB with DBA.
All reactions