-
Notifications
You must be signed in to change notification settings - Fork 37
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: remove bulk instance migration feature due to server loading concerns #869
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Big oof. Looks good to me though. After all, it's not affecting anything else that is there. I'll allow David to give a final review.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I am not a fan. If we remove it, we should also clean up the isBulkMigration
from the MigrateInstanceModal
and migrateInstanceBulk
from the api/instances.tsx
file.
8271003
to
25398b0
Compare
Yeah I'm also not a huge fan of this change, but I think overloading the server is a valid point. If you don't want to merge this one, maybe when I get back we can look into processing batches of requests instead. In the interim, I've done some more cleaning up, removed all bulk migration related logic and also adjusted the modal component to process a single instance only. |
25398b0
to
f39b31e
Compare
…cerns Signed-off-by: Mason Hu <[email protected]>
f39b31e
to
dcb933c
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
…cerns (canonical#869) - From the discussion with lxd team, there are concerns about potentially overloading the server if bulk migration is performed on a large number of instances. For now, we will remove the feature and wait for the team to add background task scheduling capability so we can do bulk actions in the UI without issues.
Done
Fixes [list issues/bugs if needed]
QA
Migrate
button is no longer visible when selecting multiple instances on the instance list page.