Fix possible timeouts in sh tests with tsan#68791
Conversation
sh tests with tsansh tests with tsan
|
This is an automated comment for commit d42ee9c 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
|
This reverts commit 3d0614f.
|
The first commit 3d0614f is enough. And the issue with failed tests can be solved by changing the lines ClickHouse/programs/client/Client.cpp Lines 1194 to 1196 in 2740320 to |
|
Is it possible to make a test reproducing that data race? |
Co-authored-by: Vitaly Baranov <[email protected]>
Actually, it’s reproducing in the CI, for example, in 00653_verification_monotonic_data_load The problem is that TSAN reports for the client are not collected when a bug is reproduced. Instead, it is often only detected as a test timeout in most cases (so, there are probably other tests that time out for the same reason). So, we need to address the issue with sanitizer reports for the client in the CI in general. |
72c1df1 to
59198c1
Compare
…ig settings to the global config.
|
In the meantime, let's try to fix race by just properly synchronizing formatting and main threads, #69186 |
|
Seems #69186 haven't fixed race completely and still there are cases #68614 (comment) |
Changelog category (leave one):
Changelog entry (a user-readable short description of the changes that goes to CHANGELOG.md):
Close #68626
Documentation entry for user-facing changes
CI Settings (Only check the boxes if you know what you are doing):