gortiz commented on code in PR #15245: URL: https://github.com/apache/pinot/pull/15245#discussion_r2032829964
########## pinot-query-runtime/src/main/java/org/apache/pinot/query/runtime/QueryRunner.java: ########## @@ -275,8 +276,12 @@ public void processQuery(WorkerMetadata workerMetadata, StagePlan stagePlan, Map for (RoutingInfo routingInfo : routingInfos) { try { StatMap<MailboxSendOperator.StatKey> statMap = new StatMap<>(MailboxSendOperator.StatKey.class); - _mailboxService.getSendingMailbox(routingInfo.getHostname(), routingInfo.getPort(), - routingInfo.getMailboxId(), deadlineMs, statMap).send(errorBlock); + SendingMailbox sendingMailbox = _mailboxService.getSendingMailbox(routingInfo.getHostname(), + routingInfo.getPort(), routingInfo.getMailboxId(), deadlineMs, statMap); + // TODO: Here we are breaking the stats invariants, sending errors without including the stats of the Review Comment: Precisely the reason to add this TODO is because it is not clear how to handle this case :laughing: -- 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