aparnasuresh85 commented on code in PR #2571:
URL: https://github.com/apache/solr/pull/2571#discussion_r1696009637
##########
solr/solrj/src/java/org/apache/solr/client/solrj/impl/CloudSolrClient.java:
##########
@@ -362,8 +362,8 @@ private NamedList<Object>
directUpdate(AbstractUpdateRequest request, String col
// Check to see if the collection is an alias. Updates to multi-collection
aliases are ok as
// long as they are routed aliases
- List<String> aliasedCollections =
getClusterStateProvider().resolveAlias(collection);
- if (getClusterStateProvider().isRoutedAlias(collection) ||
aliasedCollections.size() == 1) {
+ List<String> aliasedCollections = new
ArrayList<>(resolveAliases(Collections.singletonList(collection)));
Review Comment:
Incorporated from: https://github.com/apache/lucene-solr/pull/2086
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]