Details
-
Bug
-
Resolution: Unresolved
-
Major
-
master
-
Untriaged
-
0
-
Unknown
Description
After a backup or restore has been successful using cbbackupmgr from the command line, this summary is printed out:
Restoring backup '2023-08-03T09_56_23.448451+01_00'
|
Copied all data in 22.723s (Avg. 0B/Sec) 0 items / 0B
|
[========================================================================================================================================================================================================================================== ] 100.00%| Transfer
|
| --------
|
| Status | Avg Transfer Rate | Started At | Finished At | Duration |
|
| Succeeded | 0B/s | Thu, 03 Aug 2023 10:31:27 +0100 | Thu, 03 Aug 2023 10:31:50 +0100 | 22.775s || Bucket
|
| ------
|
| Name | Status | Transferred | Avg Transfer Rate | Started At | Finished At | Duration |
|
| MyBucket | Succeeded | 0B | 0B/s | Thu, 03 Aug 2023 10:31:50 +0100 | Thu, 03 Aug 2023 10:31:50 +0100 | 131ms |
|
|
|
| Mutations | Deletions | Expirations |
|
| --------- | --------- | ----------- |
|
| Received | Errored | Skipped | Received | Errored | Skipped | Received | Errored | Skipped |
|
| 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |Restore completed successfully
|
During the backup/restore, the progress bar is constantly running and printing to terminal displaying the status of the job. Once the job is done, a final full progress bar is printed. As during the backup/restore some warning messages might be triggered depending on the behaviour of the job, these warning messages are overwritten by the final progress bar print. Example:
Restoring backup '2023-08-03T09_56_23.448451+01_00' 0 items / 0B
|
Copied all data in 21.557s (Avg. 0B/Sec) 0 items / 0B
|
[========================================================================================================================================================================================================================================== ] 100.00%names.Warning: Restore has skipped some groups. Please check the logs for the groups names.
|
| Transfer
|
| --------
|
| Status | Avg Transfer Rate | Started At | Finished At | Duration |
|
| Succeeded | 0B/s | Thu, 03 Aug 2023 10:46:07 +0100 | Thu, 03 Aug 2023 10:46:29 +0100 | 21.609s || Bucket
|
| ------
|
| Name | Status | Transferred | Avg Transfer Rate | Started At | Finished At | Duration |
|
| MyBucket | Succeeded | 0B | 0B/s | Thu, 03 Aug 2023 10:46:29 +0100 | Thu, 03 Aug 2023 10:46:29 +0100 | 94ms |
|
|
|
| Mutations | Deletions | Expirations |
|
| --------- | --------- | ----------- |
|
| Received | Errored | Skipped | Received | Errored | Skipped | Received | Errored | Skipped |
|
| 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |Restore completed successfully
|
This behaviour needs to be addressed and changed to allow for printing synchronously as to not overwrite any warning messages.
Attachments
Gerrit Reviews
For Gerrit Dashboard: MB-58129 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
201961,1 | MB-58129 Show warnings during execution | master | backup | Status: NEW | 0 | -1 |
201960,1 | MB-58129 Show warnings during execution | master | backup | Status: ABANDONED | 0 | 0 |