We're updating the issue view to help you get more done. 

Multiple run records of the same run id exist in the run record table

Description

This causes inconsistent run records across different REST calls. Specifically, when we record the program provisioned state, we don't delete the existing row, which it should.

https://github.com/cdapio/cdap/blob/e9bf1f6466f77e4216621e51a8735886ef67dcea/cdap-app-fabric/src/main/java/io/cdap/cdap/internal/app/store/AppMetadataStore.java#L505

Have to identify all record calls to make sure existing row is also getting deleted in the same transaction.

Release Notes

Improved state transitions for starting pipelines in app fabric to increase stability if app fabric unexpectedly restarts

Fixed

Assignee

Mo Eseifan

Reporter

Terence Yim

Labels

None

Docs Impact

None

UX Impact

None

Fix versions

Priority

Major
Configure