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 2021/12/29 02:42:44 UTC

[GitHub] [druid] FaxianZhao opened a new issue #12104: Historical request status cache cause stale data in historical which cannot be removed

FaxianZhao opened a new issue #12104:
URL: https://github.com/apache/druid/issues/12104


   Please provide a detailed title (e.g. "Broker crashes when using TopN query with Bound filter" instead of just "Broker crashes").
   
   ### Affected Version
   
   Since 0.12.0
   
   ### Description
   
   ```org.apache.druid.server.coordination.SegmentLoadDropHandler#requestStatuses``` cache all load/drop request status with LRU strategy, it will cause ABA issue.
   
   For example, 
   Step 1: Coordinator ask historical-H drop segment-S
   Step 2: Coordinator ask historical-H load segment-S
   Step 3: Coordinator ask historical-H drop segment-S
   
   if Step 1 and Step 3 requests gap less than druid.segmentCache.statusQueueMaxSize(default 100), Step 3 will trigger the cache of step 1, and skip remove segment logic.
   Then Coordinator will ask historical-H to drop segment-S repeatedly, and historical-H always trigger the LRU cache.
   


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

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



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


[GitHub] [druid] FaxianZhao closed issue #12104: Historical request status cache cause stale data in historical which cannot be removed

Posted by GitBox <gi...@apache.org>.
FaxianZhao closed issue #12104:
URL: https://github.com/apache/druid/issues/12104


   


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

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



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


[GitHub] [druid] FaxianZhao commented on issue #12104: Historical request status cache cause stale data in historical which cannot be removed

Posted by GitBox <gi...@apache.org>.
FaxianZhao commented on issue #12104:
URL: https://github.com/apache/druid/issues/12104#issuecomment-1046794331


   Fixed by #11717 


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

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



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