You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@druid.apache.org by GitBox <gi...@apache.org> on 2019/05/10 05:23:00 UTC

[GitHub] [incubator-druid] FaxianZhao edited a comment on issue #6726: #6336 causes overlord console page loading to be extreme slow

FaxianZhao edited a comment on issue #6726: #6336 causes overlord console page loading to be extreme slow
URL: https://github.com/apache/incubator-druid/issues/6726#issuecomment-491145454
 
 
   I suggest use the Fine-Grained Lock resolve this kind issues. 
   I think my previous draft code won't cause this, because I use `synchronized (lockResult.getTaskLock())` instead of `toolbox.getTaskLockbox().doInCriticalSection`, but it looks bad for committed code.
   
   I think we could push down lock to the TaskLock level. Giant lock is used to approve TaskLock , and TaskLock is work for the real business. We could implement TaskLockType with ReadWriteLock, but I haven't go through the whole picture.

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services

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