We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent aea5a1a commit 8931304Copy full SHA for 8931304
internal/configure/topology/dc_item.go
@@ -475,7 +475,10 @@ var (
475
REQUIRE_POSITIVE_INTEGER,
476
true,
477
func(dc *DeployConfig) interface{} {
478
- return DEFAULT_STORE_INSTANCE_START_ID + dc.GetHostSequence()
+ if dc.GetInstances() > 0 {
479
+ return DEFAULT_STORE_INSTANCE_START_ID + dc.GetHostSequence()*dc.GetInstances() + dc.GetInstancesSequence()
480
+ }
481
+ return DEFAULT_STORE_INSTANCE_START_ID + dc.GetHostSequence() + dc.GetInstancesSequence()
482
},
483
)
484
0 commit comments