You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pinot.apache.org by "vrajat (via GitHub)" <gi...@apache.org> on 2025/06/09 04:08:17 UTC

[I] GRPC Query Tests fail when OOM Protection is enabled [pinot]

vrajat opened a new issue, #16041:
URL: https://github.com/apache/pinot/issues/16041

    Server GRPC queries are used when Pinot is used with Trino/Presto.
   
   queryId is not set for these queries and is set to null. However the assert in the following function caused tests to fail.
   ```
       public void createExecutionContextInner(@Nullable String queryId, int taskId,
           ThreadExecutionContext.TaskType taskType, @Nullable ThreadExecutionContext parentContext) {
         _threadLocalEntry.get()._errorStatus.set(null);
         if (parentContext == null) {
           // is anchor thread
           assert queryId != null;
           _threadLocalEntry.get()
               .setThreadTaskStatus(queryId, CommonConstants.Accounting.ANCHOR_TASK_ID, taskType, Thread.currentThread());
         } else {
           // not anchor thread
           _threadLocalEntry.get().setThreadTaskStatus(queryId, taskId, parentContext.getTaskType(),
               parentContext.getAnchorThread());
         }
       }
   ```


-- 
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-unsubscribe@pinot.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@pinot.apache.org
For additional commands, e-mail: commits-help@pinot.apache.org


Re: [I] GRPC Query Tests fail when OOM Protection is enabled [pinot]

Posted by "gortiz (via GitHub)" <gi...@apache.org>.
gortiz closed issue #16041: GRPC Query Tests fail when OOM Protection is enabled
URL: https://github.com/apache/pinot/issues/16041


-- 
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-unsubscribe@pinot.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@pinot.apache.org
For additional commands, e-mail: commits-help@pinot.apache.org