Closed Jaah closed 3 years ago
Looks like we have some tests that assume the previous behavior that also need to be updated in order for the CI to pass.
I went ahead and added the appropriate test updates to your PR. I also credited you with this contribution in the CHANGELOG. Thanks again!
The documentation for
PurgeOrchestrationHistoryAsync
says it should be purging instances that are older than the given threshold. However it seems that the stored procedure used to retrieve these is currently retrieving instances newer than the given threshold.This will PR fixes the
PurgeInstanceStateByTime
stored procedure to retrieve instances that are older than the given threshold time.