gokceni commented on issue #457:  PHOENIX-5190 Implement TaskRegionObserver for 
Index rebuild
URL: https://github.com/apache/phoenix/pull/457#issuecomment-473063826
 
 
   @kadirozde (and @gjacoby126)  for this comment:
   "Have one thread that goes through the system task table and maps the task 
type to its class, creates an instance of it with task attributes and finally 
calls the run method of the instance."
   
   If we do it like this, don't we tie both tasks to a single thread?
   From the discussion we had, I thought we said each task having their own 
thread. Right now, there is 2. If we keep adding different task types, they 
will all run on 1 thread. Also, we might want to run them on different 
intervals (some tasks might not be that frequent, some might). What do you 
think?
   
   

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to