jtao15 commented on a change in pull request #8422: URL: https://github.com/apache/pinot/pull/8422#discussion_r839018545
########## File path: pinot-server/src/main/java/org/apache/pinot/server/starter/helix/SegmentMessageHandlerFactory.java ########## @@ -58,6 +59,8 @@ public MessageHandler createHandler(Message message, NotificationContext context return new SegmentRefreshMessageHandler(new SegmentRefreshMessage(message), _metrics, context); case SegmentReloadMessage.RELOAD_SEGMENT_MSG_SUB_TYPE: return new SegmentReloadMessageHandler(new SegmentReloadMessage(message), _metrics, context); + case TableDeletionMessage.DELETE_TABLE_MSG_SUB_TYPE: + return new TableDeletionMessageHandler(new TableDeletionMessage(message), _metrics, context); Review comment: The message object is in the type of `Message` (checked by itelliJ debugger). So it should not be casted. -- 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: commits-unsubscr...@pinot.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@pinot.apache.org For additional commands, e-mail: commits-h...@pinot.apache.org