We're updating the issue view to help you get more done. 

The XAP Manager unevenly deploys instances when there are extra containers

Description

Scenario:
There are multiple machines for manager quorum, and there are extra containers (more than the number of instances deployed).

Expected Behavior:
When deploying a partitioned Space, the instances should be deployed so that all machines contain at least one instance, and the primaries are distributed across the machines.

Actual Behavior:
Tthe instances get deployed unevenly. For example:

  • Machine with no instances

  • All primaries on one machine

Workaround:
Configure the XAP Manager to use the WeightedSelector.

Workaround

Use WeightedSelector instead

Acceptance Test

xap-sgtest/tests/src/main/java/test/manager/leader/ManagerDefaultSelectorDistributionTest.java

Status

Assignee

Meron Avigdor

Reporter

Meron Avigdor

Labels

None

Priority

Medium

SalesForce Case ID

None

Fix versions

Commitment Version/s

None

Due date

None

Product

XAP

Edition

Premium

Platform

All

Sprint

None