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

feat: save expired batches in db #4203

Merged
merged 5 commits into from
Jul 10, 2023
Merged

feat: save expired batches in db #4203

merged 5 commits into from
Jul 10, 2023

Conversation

acha-bill
Copy link
Contributor

@acha-bill acha-bill commented Jul 3, 2023

Checklist

  • I have read the coding guide.
  • My change requires a documentation update, and I have done it.
  • I have added tests to cover my changes.
  • I have filled out the description and linked the related issues.

Description

Expired batches were being stored in-mem. This PR saves them in DB and deletes them when their associated data has been successfully cleaned up.

Open API Spec Version Changes (if applicable)

Motivation and Context (Optional)

Related Issue (Optional)

#4087

Screenshots (if appropriate):

@acha-bill acha-bill changed the title feat: cleanup associated batch data after expiry feat: save expired batches in db Jul 5, 2023
pkg/storer/reserve.go Outdated Show resolved Hide resolved
pkg/storer/reserve.go Outdated Show resolved Hide resolved
@aloknerurkar aloknerurkar merged commit f170e38 into master Jul 10, 2023
13 checks passed
@aloknerurkar aloknerurkar deleted the bee-4087 branch July 10, 2023 12:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants