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

When getting pu instances via "/v2/pus/<pu name>/instances" some of the PU instances are duplicated in the response.

Description

When getting pu instances (for some of our pu:s) via "/v2/pus/<pu name>/instances" some of the PU instances is duplicated in the response. For example "baymax-10~1_2" instance is duplicated:

[
{
"id": "baymax-10~1_1",
"processingUnitName": "baymax-10",
"hostId": "mad-men.node.thule.consul",
"containerId": "mad-men.node.thule.consul~227929",
"partitionId": 0,
"backupId": 0
},
{
"id": "baymax-10~1_2",
"processingUnitName": "baymax-10",
"hostId": "broad-church.node.thule.consul",
"containerId": "broad-church.node.thule.consul~30218",
"partitionId": 0,
"backupId": 1
},
{
"id": "baymax-10~1_2",
"processingUnitName": "baymax-10",
"hostId": "broad-church.node.thule.consul",
"containerId": "broad-church.node.thule.consul~30218",
"partitionId": 0,
"backupId": 1
},
{
"id": "baymax-10~2_1",
"processingUnitName": "baymax-10",
"hostId": "gravity-falls.node.thule.consul",
"containerId": "gravity-falls.node.thule.consul~12208",
"partitionId": 1,
"backupId": 0
},
{
"id": "baymax-10~2_2",
"processingUnitName": "baymax-10",
"hostId": "archer-vice.node.thule.consul",
"containerId": "archer-vice.node.thule.consul~160175",
"partitionId": 1,
"backupId": 1
}
]

Workaround

None

Acceptance Test

None

Status

Assignee

Unassigned

Reporter

Ester Atzmon

Labels

None

Priority

Medium

SalesForce Case ID

12231,12238

Fix versions

None

Commitment Version/s

None

Due date

None

Product

None

Edition

Open Source

Platform

All