Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
None
-
None
-
None
Description
We are using the flowExecutionId from a LeaseObtainedStatus as the eventTimestamp to attempt to complete the lease at a later time. However, this only works for scheduled flows where we adopt the consensus eventTimestamp as the flowExecutionId. For adhoc flows, we do not update the id and the two values may be different so lease completion fails by the current owner of the lease. This PR keeps track of the eventTimestamp from the lease arbiter to prevent any confusion.