Jackie-Jiang commented on code in PR #14612:
URL: https://github.com/apache/pinot/pull/14612#discussion_r1880779926
##########
pinot-controller/src/main/java/org/apache/pinot/controller/api/resources/PinotTableRestletResource.java:
##########
@@ -1256,8 +1256,9 @@ private long validateSegmentStateForTable(String
offlineTableName)
TableSegmentValidationInfo tableSegmentValidationInfo =
JsonUtils.stringToObject(response, TableSegmentValidationInfo.class);
if (!tableSegmentValidationInfo.isValid()) {
- throw new ControllerApplicationException(LOGGER, "Table segment
validation failed",
- Response.Status.PRECONDITION_FAILED);
+ String error = String.format("Table segment validation failed.
error=%s",
Review Comment:
More context can be found in #14404
--
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]