New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Duplicate Replica Issue one set is standard and another is virtual #1453
Conversation
merge develop branch
…MAGE-797 Duplicate Replica Issue one set is standard and another is virtual
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@rachel-trott @mohitalgolia Please see my comments with regards to release 3.13.2
Note that this PR closely relates to #1421
@@ -1558,17 +1558,19 @@ public function handlingReplica($indexName, $storeId, $sortingAttribute = false) | |||
return $sortingIndex['name']; | |||
}, $sortingIndices)); | |||
try { | |||
$replicasFormated = $this->handleVirtualReplica($replicas); | |||
$availableReplicaMatch = array_merge($replicasFormated, $replicas); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This can cause an "Array to string conversion" failure when updating replica config. This must be tested across multiple scenarios.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sure I have verified it
Summary
Result