sigram commented on code in PR #5416:
URL: https://github.com/apache/solr/pull/5416#discussion_r4773529483
##########
solr/core/src/java/org/apache/solr/schema/ManagedIndexSchema.java:
##########
@@ -169,6 +172,8 @@ boolean persistManagedSchemaToZooKeeper(boolean createOnly)
{
zkLoader.getConfigSetZkPath() + "/" + managedSchemaResourceName;
boolean success = true;
boolean schemaChangedInZk = false;
+ // outside the try below, so that the client gets this 400 and not a
generic 500
+ SchemaMetadata.validateTotalSize(this);
Review Comment:
Known and noted.
--
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]