-
[OPIK-6191] [BE] feat: implement migration job to assign project_id to alerts and split multi-project alerts (#6815)
发布于
2026-05-22 11:48:48 +00:00 -
Alerts migration job
-
fix(migration): deduplicate scope project ID parsing and guard against malformed JSON
Co-Authored-By: Claude Sonnet 4.6 (1M context) noreply@anthropic.com
- fix(migration): address review comments — null filter in SQL, concurrent workspace processing, AtomicReference
Co-Authored-By: Claude Sonnet 4.6 (1M context) noreply@anthropic.com
- fix(migration): extract EligibleAlertWorkspace record; move alert batch size to config
Co-Authored-By: Claude Sonnet 4.6 (1M context) noreply@anthropic.com
- fix(migration): address andrescrz review — move DAO logic to service, UUID v7, last_updated_by, encapsulate tx methods
Co-Authored-By: Claude Sonnet 4.6 (1M context) noreply@anthropic.com
- fix(migration): sort validProjectIds at query level (ORDER BY id in findByIds), remove Java-level sort
Co-Authored-By: Claude Sonnet 4.6 (1M context) noreply@anthropic.com
- fix(migration): use explicit :bean.alertTriggerId in AlertTriggerConfigDAO to guarantee correct alert_trigger_id and last_updated_by persistence
Co-Authored-By: Claude Sonnet 4.6 (1M context) noreply@anthropic.com
下载附件
-