This repository is currently being migrated. It's locked while the migration is in progress.
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Overhaul many of the user facing messages to improve readability and visibility of what's happening during the process. Now also starts by reporting what type of scenario was detected to be running, I.E. Moving master, Moving replica or Promoting master. Improved code comments in some places. Added more information to the command description. Removed the node IDs from messages due to not adding much. These are internal IDs known to CP, not k8s IDs the user can refer to. Changed replica sync message to format the bytes into a human readable unit first (i.e. GiB, MiB, etc). These updates now happen every 8sec (+3 sec) as these were happening slightly too often. Force a timeout of 30 minutes when the existing one is smaller than that value. This happens only when a new replica has to be created. Removed unused variable (timeout) from struct that holds all the vars for the move cmd.
- Loading branch information
1 parent
6c877ad
commit fb29e14
Showing
2 changed files
with
63 additions
and
20 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