rajagopr opened a new pull request, #14257:
URL: https://github.com/apache/pinot/pull/14257

   ## Problem
   Current Pinot behavior is to generate new tasks when the task queue is in 
STOPPED state. This causes confusion among users as the new tasks get into 
DROPPED/STOPPED states when the queue is STOPPED.
   
   ## Solution
   The changes in this PR would prevent generating new tasks when the task 
queue is in STOPPED state.
   
   ## Testing
   Added unit tests and tested to schedule tasks on the local Pinot instance 
when the task queue was in STOPPED state.
   
   ```
   2024/10/18 14:36:38.436 WARN [PinotTaskManager] [grizzly-http-server-5] Task 
queue is in state: STOPPED. Tasks won't be scheduled for taskType: 
SegmentGenerationAndPushTask and tables: [baseballStats_OFFLINE]. Re
   sume task queue before attempting to schedule tasks.
   ```
   


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