Repository navigation
Try fix flaky 02497_storage_file_reader_selection - #51468
Conversation
| echo -e 'key\nfoo\nbar' > $DATA_FILE | ||
|
|
||
| $CLICKHOUSE_LOCAL --storage_file_read_method=mmap --print-profile-events -q "SELECT * FROM file($DATA_FILE) FORMAT Null" 2>&1 | grep -F -c "CreatedReadBufferMMap" | ||
| $CLICKHOUSE_LOCAL --storage_file_read_method=mmap --print-profile-events -q "SELECT * FROM file($DATA_FILE) FORMAT Null" 2>&1 | grep -F -c "CreatedReadBufferMMap:" |
There was a problem hiding this comment.
AFAIU sometimes this query can get both CreatedReadBufferMMap and CreatedReadBufferMMapFailed events . Let's grep only for CreatedReadBufferMMap
There was a problem hiding this comment.
This does not helps completely - https://s3.amazonaws.com/clickhouse-test-reports/52068/b6f9be2ad842a4cb9338d521bab07b931a0b3271/fast_test.html
I think that there is some problems with profile events, but I cannot reproduce it locally, either by slowing down the process to 0.1% of cpus artificially and without. And did not find anything in code as well.
BTW in which case it may get both events?
There was a problem hiding this comment.
BTW in which case it may get both events?
Actually, I didn't fully understand it and it was more like a hypothesis, I could be wrong
|
This is an automated comment for commit b4b21c0 with description of existing statuses. It's updated for the latest CI running
|
Changelog category (leave one):
Closes #51462