Fix bug with additional file processing in cache compressed buffer#4913
Fix bug with additional file processing in cache compressed buffer#4913alexey-milovidov merged 4 commits intomasterfrom
Conversation
nvartolomei
left a comment
There was a problem hiding this comment.
I still see one cache miss. Seems to be due to EOF which we don't cache. Curious if it make senses to cache it so we don't have to seek at all for some queries.
|
Your own test has failed. |
|
Have no idea why. Seems like query was absent in How is it possible? |
|
There is a (logical) race condition in SystemLog. The issue may happen in other tests as well. |
| $CLICKHOUSE_CLIENT --use_uncompressed_cache=1 --query_id="test-query-uncompressed-cache" --query="$cached_query" &> /dev/null | ||
|
|
||
| $CLICKHOUSE_CLIENT --query="SYSTEM FLUSH LOGS" | ||
| sleep 1 |
There was a problem hiding this comment.
This should be before SYSTEM FLUSH LOGS so that SystemLog background thread has time to pull log items from queue to data vector.
Fix bug with additional file processing in cache compressed buffer (cherry picked from commit 27f7f09)
I hereby agree to the terms of the CLA available at: https://yandex.ru/legal/cla/?lang=en
For changelog. Remove if this is non-significant change.
Category (leave one):
Short description (up to few sentences):
Fix bug with additional file seek and read when block already in uncompressed cache.