hanahmily opened a new pull request #79: URL: https://github.com/apache/skywalking-banyandb/pull/79
These changes tend to introduce an LRU queue to track blocks both frequently and recently. When it's not the hot block, the block is moved to the queue and gets closed on evicted from the queue. The default size of a queue in a shard is 16, which means that up to 24(16+8) blocks could keep open. The extra 8 blocks belong to a survived list containing evicted blocks added recently. Caveat: the hot block in the current writing window is not tracked by the queue. Signed-off-by: Gao Hongtao <[email protected]> -- 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]
