Conversation
|
This is an automated comment for commit 687c99e with description of existing statuses. It's updated for the latest CI running ✅ Click here to open a full report in a separate page Successful checks
|
| SELECT count() FROM mysql( | ||
| mysql('127.0.0.1:9004', currentDatabase(), 'foo', 'default', '', SETTINGS connection_pool_size = 1), | ||
| '127.0.0.1:9004', currentDatabase(), 'foo', '', '', | ||
| SETTINGS connect_timeout = 100, connection_wait_timeout = 100, read_write_timeout = 300); -- { serverError UNKNOWN_FUNCTION, UNSUPPORTED_METHOD } |
There was a problem hiding this comment.
Looks like read_write_timeout is default 300: https://github.com/ClickHouse/ClickHouse/blob/master/src/Core/Settings.h#L717
There was a problem hiding this comment.
connect_timeout is default 10 seconds, but looks like test fails for different reason, because in total it took 7 seconds to fail: https://s3.amazonaws.com/clickhouse-test-reports/63216/3bfe71f9232de8a98cc7fe026627d9f68d938a10/stateless_tests__debug__[1_5].html
There was a problem hiding this comment.
connection_wait_timeout is default 5. Maybe it's a reason, but it looks suspicious. Have you checked the logs that MySQL connections pool is saturated?
There was a problem hiding this comment.
@alesapin I think the root cause is explained here due to misuse of millisecond and second. Through that fix, this issue should be fixed as well. A similar issue is 2479 with the same stacktrace. The issue doesn't appear after the fix. Setting parameters is just in case of any future change.
Backport #67078 to 24.7: Fix 2680 flasky
try to fix this, looks like it is related to this thread.
Changelog category (leave one):
Changelog entry (a user-readable short description of the changes that goes to CHANGELOG.md):
...
Documentation entry for user-facing changes
CI Settings (Only check the boxes if you know what you are doing):