From 35396a4ceb5ded0af0ddb4c37a0f8d35c2cf6dd1 Mon Sep 17 00:00:00 2001 From: ShivanshGahlot Date: Thu, 12 Dec 2024 11:29:31 +0000 Subject: [PATCH] Added a few more commands to the exportDirInitialisedCheckNeededList to ensure they don't throw a segmentation fault error when run on an empty export dir --- yb-voyager/cmd/root.go | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/yb-voyager/cmd/root.go b/yb-voyager/cmd/root.go index 67002b631..602f1613b 100644 --- a/yb-voyager/cmd/root.go +++ b/yb-voyager/cmd/root.go @@ -183,7 +183,13 @@ func startPprofServer() { } var exportDirInitialisedCheckNeededList = []string{ + "yb-voyager analyze-schema", + "yb-voyager import data", + "yb-voyager import data to target", + "yb-voyager import data to source", + "yb-voyager import data to source-replica", "yb-voyager import data status", + "yb-voyager export data from target", "yb-voyager export data status", "yb-voyager cutover status", "yb-voyager get data-migration-report",