forked from openebs/mayastor-control-plane
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(bors): merge pull request openebs#784
784: fix(volume/resize): handle overflow during volume shrink attempt r=dsharma-dc a=dsharma-dc This fixes the case where an attempt to shrink the volume with a capacity limit set on cluster - panicked with below error: > stderr: thread 'tokio-runtime-worker' panicked at control-plane/agents/src/bin/core/volume/service.rs:611:24: attempt to subtract with overflow note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace Co-authored-by: Diwakar Sharma <diwakar.sharma@datacore.com>
- Loading branch information
Showing
2 changed files
with
31 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters