ccoffline edited a comment on issue #6477:
URL: 
https://github.com/apache/incubator-doris/issues/6477#issuecomment-904411893


   > I think that it is needed to speed up caculating, but in most case, we 
need to know the real time cluster replica statistic, cache may be confused 
when we need to track some cluster problems
   
   The cache is configurable, maybe set cache timeout 0 to disable. The cache 
is mostly to prevent high frequency query in a short time that may cause high 
calculation cost and heavy lock competitions, maybe 1s is close enough from 
real-time refreshing.
   
   The cache is easy to implement, the state is restored in the previous 
version and may cause concurrent issue, so the cache is kind of fixing a 
concurrent bug rather than a new feature. 


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