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

DB expiry service attempting to delete too many documents at once #1549

Closed
bstasyszyn opened this issue May 3, 2023 · 0 comments · Fixed by #1555
Closed

DB expiry service attempting to delete too many documents at once #1549

bstasyszyn opened this issue May 3, 2023 · 0 comments · Fixed by #1555
Assignees
Labels
enhancement New feature or request

Comments

@bstasyszyn
Copy link
Contributor

The database expiration service attempts to delete all expired documents in a single batch. The batch size is currently unbounded, so the batch update operation may fail. There should be an upper limit to the number of documents to delete in a single batch.

@bstasyszyn bstasyszyn added the enhancement New feature or request label May 3, 2023
@bstasyszyn bstasyszyn self-assigned this May 3, 2023
bstasyszyn added a commit to bstasyszyn/orb that referenced this issue May 5, 2023
closes trustbloc#1549

Signed-off-by: Bob Stasyszyn <Bob.Stasyszyn@securekey.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant