Replies: 1 comment
-
|
Hi @hhvitek , thanks for reporting this. At the moment, the Mongock importer has mainly been tested against Mongock v5+ audit history. Mongock v4 audit documents have a slightly different shape, and as you found, some fields expected by the current importer, such as type and systemChange , may not exist in v4 entries. So, to answer your question, Mongock v4 is not fully supported yet as a starting point for the Flamingock importer in 1.3.0. We’ll take this into account for a next version and add support for Mongock v4 audit history migration. In the meantime, if you want to continue with the migration now, you can backfill the existing Mongock audit entries with the missing fields before running Flamingock: We haven't tested it, but that should let the current migration process continue with Mongock v4 audit data. Thanks again for the detailed stack trace; it clearly points to the missing v4 compatibility layer. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Importing Mongock 4 audit history fails on missing "type" field
Is Mongock 4 supported as a starting point for the Flamingock importer, or only Mongock 5? Flamingock 1.2.0 currently crashes on my setup Mongock 4 era audit collection at startup:
My existing audit document collections (written by Mongock 4) have no "type" field - only "state".
Is there a supported way to migrate Mongock 4 audit history to Mongock 5 shape before letting Flamingock import it? If I manually backfill type = "EXECUTION" on all existing entries manually i move to another exception
Beta Was this translation helpful? Give feedback.
All reactions