erikhatcher commented on code in PR #900:
URL: https://github.com/apache/solr/pull/900#discussion_r895726025
##########
solr/core/src/java/org/apache/solr/cluster/placement/plugins/AffinityPlacementFactory.java:
##########
@@ -350,15 +350,15 @@ private void verifyDeleteCollection(
if (cluster.getCollection(primaryName) != null) {
// still exists
throw new PlacementModificationException(
- "colocated collection "
+ "collocated collection "
Review Comment:
Should be colocated, one `l`
##########
solr/core/src/test/org/apache/solr/cluster/placement/impl/PlacementPluginIntegrationTest.java:
##########
@@ -330,7 +330,7 @@ public void testWithCollectionIntegration() throws
Exception {
.process(cluster.getSolrClient());
fail("should have failed: " + rsp);
} catch (Exception e) {
- assertTrue(e.toString(), e.toString().contains("colocated collection"));
+ assertTrue(e.toString(), e.toString().contains("collocated collection"));
Review Comment:
colocate
##########
solr/core/src/java/org/apache/solr/cluster/placement/plugins/AffinityPlacementFactory.java:
##########
@@ -350,15 +350,15 @@ private void verifyDeleteCollection(
if (cluster.getCollection(primaryName) != null) {
// still exists
throw new PlacementModificationException(
- "colocated collection "
+ "collocated collection "
+ primaryName
+ " of "
+ deleteCollectionRequest.getCollection().getName()
+ " still present");
}
} catch (IOException e) {
throw new PlacementModificationException(
- "failed to retrieve colocated collection information", e);
+ "failed to retrieve collocated collection information", e);
Review Comment:
colocated
--
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]