Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
AWS disk modification wait method updated to return faster
Summary: We saw that increasing disk size on AWS can take up to a couple of hours. The main reason for that is the optimization that AWS is doing on the disk behind the scene. [[ This page | https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/monitoring-volume-modifications.html ]] says this operation can up to 24 hours. In this diff, the AWS disk modification wait method has changed such that it returns as soon as the volume modification state is "optimizing" rather than "completed". Please note the added disk size is accessible while it is in the "optimizing" state, but it may not have the optimized performance until the state is "completed". Test Plan: The resizeNode operation that uses the changed method in this diff was called with different values while the sample app was running. Reviewers: arnav, sanketh Reviewed By: sanketh Subscribers: jenkins-bot, yugaware Differential Revision: https://phabricator.dev.yugabyte.com/D12414
- Loading branch information