walterddr commented on code in PR #9582:
URL: https://github.com/apache/pinot/pull/9582#discussion_r996227427


##########
pinot-query-runtime/src/main/java/org/apache/pinot/query/runtime/operator/MailboxReceiveOperator.java:
##########
@@ -79,7 +79,12 @@ public 
MailboxReceiveOperator(MailboxService<Mailbox.MailboxContent> mailboxServ
           singletonInstance = serverInstance;
         }
       }
-      _sendingStageInstances = Collections.singletonList(singletonInstance);
+      if (singletonInstance == null) {
+        // TODO: fix WorkerManager assignment, this should not happen if we 
properly assign workers.
+        _sendingStageInstances = Collections.emptyList();
+      } else {
+        _sendingStageInstances = Collections.singletonList(singletonInstance);
+      }

Review Comment:
   @ankitsultana ^



-- 
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]

Reply via email to