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(api): mongo upgraders batch updates to ensure no timeouts #9675

Open
wants to merge 1 commit into
base: 4.5.x
Choose a base branch
from

Conversation

wbabyte
Copy link
Contributor

@wbabyte wbabyte commented Oct 23, 2024

Issue

https://gravitee.atlassian.net/browse/APIM-7271

Description

With a lot of keys/plans/subscriptions in mongodb, the migration might ends in timeout. Instead of updating everything at once we should update data in 1k batches

Additional context

@wbabyte wbabyte requested a review from a team as a code owner October 23, 2024 13:41
Copy link
Member

@Okhelifi Okhelifi left a comment

Choose a reason for hiding this comment

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

should we update the version to ensure that the upgrader will be run for all the customer ? Or should we consider that it will run only for customers for whom it failed

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.

2 participants