Skip to content

Commit 0522ebf

Browse files
committedMar 24, 2025
[BACKPORT 2024.2][PLAT-17105][CLI]xCluster create requires bootstrapParams.tables even after introduction of allowBootstrap
Summary: xCluster create needs bootstrap params table UUID list since the backend hasn't removed the `@Required` annotation Original commit: 6456d78 / D42679 Test Plan: Manually tes Reviewers: hzare, skurapati Reviewed By: skurapati Differential Revision: https://phorge.dev.yugabyte.com/D42705
1 parent c1f4510 commit 0522ebf

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed
 

‎managed/yba-cli/cmd/xcluster/create_xcluster.go

+1
Original file line numberDiff line numberDiff line change
@@ -244,6 +244,7 @@ var createXClusterCmd = &cobra.Command{
244244
tableNeedBootstrapUUIDs = strings.Split(tableNeedBootstrapUUIDsString, ",")
245245
} else {
246246
allowBootstrap = true
247+
tableNeedBootstrapUUIDs = tableUUIDs
247248
}
248249

249250
req := ybaclient.XClusterConfigCreateFormData{

0 commit comments

Comments
 (0)
Please sign in to comment.