Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix purge history threshold check #39

Merged
merged 2 commits into from
Jul 19, 2021

Conversation

Jaah
Copy link
Contributor

@Jaah Jaah commented Jun 28, 2021

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.

Copy link
Member

@cgillum cgillum left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This fix appears to be correct. Thank you for the contribution!

@cgillum
Copy link
Member

cgillum commented Jul 19, 2021

Looks like we have some tests that assume the previous behavior that also need to be updated in order for the CI to pass.

Update CHANGELOG with change details
@ghost
Copy link

ghost commented Jul 19, 2021

CLA assistant check
All CLA requirements met.

@cgillum
Copy link
Member

cgillum commented Jul 19, 2021

I went ahead and added the appropriate test updates to your PR. I also credited you with this contribution in the CHANGELOG. Thanks again!

@cgillum cgillum merged commit fda26f1 into microsoft:main Jul 19, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants