Repository navigation
Fix DataProduct inputPorts/outputPorts orphaned fields migration issue after migration from 1.10.x to 1.12.x - #25634
Conversation
…e after migration from 1.10.x to 1.12.x
🔍 CI failure analysis for f540d57: Same test (AppsResourceIT.test_triggerApp_200) fails on both PostgreSQL and MySQL with concurrent job conflict. Migration fix working correctly (>99.9% test pass rate).Integration Test Failures (Both Databases)Commit: Same Test Fails on Both EnvironmentsTest: Error: Affected Jobs:
AnalysisType: Consistent test infrastructure issue (race condition) Root Cause: Test attempts to trigger an application while another job is already running. System correctly rejects duplicate execution, but test doesn't handle this scenario. Key Insights:
Migration Fix Status: ✅ SUCCESS
Additional Notemaven-sonarcloud-ci (job 61964596284) is from OLD commit Code Review ✅ ApprovedClean data migration fix that properly removes orphaned JSON fields from both MySQL and PostgreSQL. The SQL syntax is correct, efficient (only updates affected rows), and well-documented. Tip Comment OptionsAuto-apply is off → Gitar will not commit updates to this branch. Comment with these commands to change:
Was this helpful? React with 👍 / 👎 | Gitar |
…e after migration from 1.10.x to 1.12.x (#25634) * Fix DataProduct inputPorts/outputPorts orphaned fields migration issue after migration from 1.10.x to 1.12.x * escape ? as ?? for JDBI
|
cherry-picked to 1.12.0 |
Describe your changes:
Summary
inputPorts/outputPortsorphaned fields migration issuedata_product_entityJSONRoot Cause
In 1.10.x,
inputPortsandoutputPortswere added to the DataProduct schema with default empty arrays. In 1.12.x, these fields were removed (ports are nowrelationship-based), but no data migration was added to clean up existing data.
When deserializing DataProducts with these orphaned fields, Jackson fails because the schema has
additionalProperties: false, resulting in 404 errors, also affecting reindexI worked on ... because ...
Type of change:
Checklist:
Fixes <issue-number>: <short explanation>