Skip to content
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

Merged
merged 6 commits into from Jan 31, 2024

Conversation

mohitalgolia
Copy link
Contributor

Summary

Result

@mohitalgolia mohitalgolia changed the title Bugfix/mage 797 Duplicate Replica Issue one set is standard and another is virtual Dec 7, 2023
@mohitalgolia mohitalgolia changed the base branch from develop to release/3.13.1 January 31, 2024 11:36
@mohitalgolia mohitalgolia merged commit 1f4dc4b into release/3.13.1 Jan 31, 2024
3 checks passed
Copy link
Contributor

@cammonro cammonro left a 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);
Copy link
Contributor

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.

Copy link
Contributor Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
2 participants