[MCOL-3947] ColumnRestore should output a warnings instead of errors when when restore and backup IPs are different Created: 2020-04-14  Updated: 2023-10-25  Resolved: 2023-10-25

Status: Closed
Project: MariaDB ColumnStore
Component/s: ?
Affects Version/s: None
Fix Version/s: Icebox

Type: Bug Priority: Trivial
Reporter: Daniel Lee (Inactive) Assignee: Unassigned
Resolution: Won't Fix Votes: 0
Labels: None

Epic Link: Consolidate & Redevelop All Columnstore Tools (SDK, Adapters, Backup, Restore, mcsimport)

 Description   

Build tested: 1.4.3-6 (hot fix)

When backup from one stack and restore to another stack with different IP address, the restore tool output's the following:

r=10.0.0.131 1=10.0.0.111 2=0.0.0.0
[2020-04-14 22:12:19] ERROR: Restore and Backup IP addresses differ at UM1
[2020-04-14 22:12:19] (Restore IP = [1])
[2020-04-14 22:12:19] (Backup IP1 = 10.0.0.111)
[2020-04-14 22:12:19] (Backup IP2 = 0.0.0.0)
r=10.0.0.135 1=10.0.0.115 2=0.0.0.0
[2020-04-14 22:12:19] ERROR: Restore and Backup IP addresses differ at PM1
[2020-04-14 22:12:19] (Restore IP = [1])
[2020-04-14 22:12:19] (Backup IP1 = 10.0.0.115)
[2020-04-14 22:12:19] (Backup IP2 = 0.0.0.0)
r=10.0.0.136 1=10.0.0.116 2=0.0.0.0
[2020-04-14 22:12:19] ERROR: Restore and Backup IP addresses differ at PM2
[2020-04-14 22:12:19] (Restore IP = [2])
[2020-04-14 22:12:19] (Backup IP1 = 10.0.0.116)
[2020-04-14 22:12:19] (Backup IP2 = 0.0.0.0)
[2020-04-14 22:12:32] Config Restore...

The restore ran to completion

We should change the wording from ERROR to WARNING instead since the user may purposely restore to a different set of hardware. The IP change occurs frequently on cloud environment.


Generated at Thu Feb 08 02:46:38 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.