Alexey Gerasimchuck
Alexey Gerasimchuck
Relate to #67767 This PR contains similar changes as PR https://github.com/ClickHouse/ClickHouse/pull/67779 In other tests ### Changelog category (leave one): - Not for changelog (changelog entry is not required)
The call to the `trantor::Logger::setOutputFunction` is not thread safe: https://github.com/an-tao/trantor/blob/8bf280ba043eb77c3eb02121065e0891a9a4f431/trantor/utils/Logger.h#L124-L139 2 threads can simultaneously set the values, or at least 1 simulaneous reader can read the value during the change...
**Describe the bug** Non-batch PgConnection does not reconnect to Postgres after connection was lost. Thread sanitizer finds different data races during the application work. I was not able to reproduce...
**Describe the bug** `HttpRequest::sendRequest()` hangs forever if it is called after `app().quit()`; **To Reproduce** Run this unit test: ```cpp #include #include #include #include using namespace drogon; namespace app { TEST(DrogonHttpClientAppQuitRace,...