ClickHouse/contrib
Azat Khuzhin 4cd159746e Fix polling of socket with negative timeout (when poll() interrupted by EINTR)
In case of EINTR the timeout will be adjusted, but this should not be
done in case of negative timeout since it means infinite timeout, and
in that adjustment block negative timeout will be reset to 0, which will
make poll() return (since zero timeout means return immediatelly even if
no fd is ready).

This should also fix 02127_connection_drain flap on CI [1].

  [1]: https://s3.amazonaws.com/clickhouse-test-reports/32928/ddd5bebe555ce8feebcdd339e47fc45184c20dd1/stateless_tests__release__wide_parts_enabled__actions_.html

Refs: https://github.com/ClickHouse/poco/pull/55
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-04-04 10:24:07 +03:00
..
abseil-cpp@215105818d Abseil: Use upstream lts_2021_11_02 branch 2021-12-13 16:49:22 +01:00
abseil-cpp-cmake contrib/abseil: add cmake ALIAS library 2022-01-21 10:11:06 +03:00
AMQP-CPP@1a6c51f4ac fix unbundled build 2021-08-03 17:29:59 +03:00
amqpcpp-cmake Remove unbundled amqpcpp support 2022-01-20 10:01:13 +03:00
arrow@1d9cc51daa Fix test 00900_long_parquet_load 2022-01-14 15:57:36 +03:00
arrow-cmake arrow: separate out orc library 2022-01-31 16:01:19 +03:00
avro@e43c46e87f More pytest fixes (#23538) 2021-06-07 20:29:19 +03:00
avro-cmake avro: create symlink in binary dir (over source dir) 2022-03-27 14:11:11 +03:00
aws@00b0360454 Retry on Yandex.S3 throttle 2021-10-25 17:34:59 +03:00
aws-c-common@736a82d169 Update submodule heads. 2019-12-09 13:31:59 +03:00
aws-c-event-stream@3bc33662f9 AWS S3 SDK integration. 2019-12-03 19:23:24 +03:00
aws-checksums@519d6d9093 Update submodule heads. 2019-12-09 13:31:59 +03:00
aws-s3-cmake contrib/aws-s3: use hidden libraries 2022-01-21 10:11:22 +03:00
azure@ac4b763d4c Updating azure submodule with ClickHouse-Extras fork 2021-12-10 22:04:38 +01:00
azure-cmake Remove unbundled curl support 2022-01-20 10:02:00 +03:00
base64@9499e0c494 revert irrelate contribs 2021-12-20 18:30:40 +08:00
base64-cmake contrib/base64: use hidden libraries 2022-01-21 10:11:22 +03:00
boost@c0807e83f2 Use ClickHouse-Extras for boost· 2021-12-20 18:01:28 +01:00
boost-cmake Avoid using std::result_of (deprecated in c++ > 17) 2022-03-27 11:19:56 +03:00
boringssl@c1e01a441d attemp to fix build 2021-10-15 16:01:28 +03:00
boringssl-cmake contrib/boringssl: use hidden libraries 2022-01-21 10:11:22 +03:00
brotli@63be8a9940 Fix 2021-05-28 11:46:08 +03:00
brotli-cmake Remove unbundled brotli support 2022-01-20 10:01:11 +03:00
bzip2@bf905ea225 Add submodule bzip2 2021-08-07 06:18:14 +00:00
bzip2-cmake Remove unbundled bzip2 support 2022-01-20 08:47:16 +03:00
capnproto@c8189ec3c2 Try to fix tests, update capnp lib to eliminate problem with UB sanitizer 2021-10-14 16:43:23 +03:00
capnproto-cmake contrib/capnproto: use hidden libraries 2022-01-21 10:11:22 +03:00
cassandra@f4a31e92a2 update cassandra driver 2021-12-22 14:17:14 +03:00
cassandra-cmake Add submodule minizip-ng 2022-02-05 23:45:16 +07:00
cctz@9edd0861d8 Update CCTZ 2021-10-09 18:37:38 +03:00
cctz-cmake contrib/cctz: use hidden libraries 2022-01-21 10:11:22 +03:00
cityhash102 Remove unbundled cityhash support 2022-01-20 10:01:12 +03:00
cld2@bc6d493a2f Fix detectLanguage 2022-01-18 21:32:32 +00:00
cld2-cmake Merge branch 'master' into classification 2022-01-25 10:22:47 +00:00
consistent-hashing contrib/consistent-hashing: add ALIAS library 2022-01-21 10:11:22 +03:00
cppkafka@5a119f689f Fix kafka failover issue (#21118). 2021-06-09 16:02:56 +02:00
cppkafka-cmake Remove unbundled librdkafka/cppkafka support 2022-01-20 08:47:16 +03:00
croaring@2c867e9f9c Update roaring just in case 2021-06-10 02:36:36 +03:00
croaring-cmake contrib/croaring: add a cmake ALIAS library 2022-01-21 10:08:32 +03:00
curl@3b8bbbbd16 AWS SDK integration rework. 2019-12-06 17:37:21 +03:00
curl-cmake contrib/curl: cleanup cmake 2022-01-21 10:11:22 +03:00
cyrus-sasl@e6466edfd6 Fix 2021-05-28 11:38:20 +03:00
cyrus-sasl-cmake contrib/cyrus-sasl: use hidden library 2022-01-21 10:11:22 +03:00
datasketches-cpp@7d73d7610d Submodules 2021-05-28 01:45:13 +03:00
datasketches-cpp-cmake Remove unbundled datasketches support 2022-01-20 10:02:00 +03:00
double-conversion@cf2f0f3d54 Use double-conversion as submodule 2018-01-16 21:58:12 +03:00
double-conversion-cmake Remove unbundled double-conversion support 2022-01-20 08:47:16 +03:00
dragonbox@923705af6f Update Dragonbox 2021-01-17 23:38:59 +03:00
dragonbox-cmake contrib/dragonbox: add ALIAS library 2022-01-21 10:11:22 +03:00
fast_float@7eae925b51 Updated submodule 2020-12-06 23:37:36 +03:00
fast_float-cmake contrib/fast_float: use hidden library 2022-01-21 10:11:22 +03:00
fastops@1460583af7 Update submodule 2021-10-16 03:09:38 +03:00
fastops-cmake contrib/fastops: use hidden library 2022-01-21 10:11:22 +03:00
flatbuffers@eb3f827948 update 2021-06-18 13:34:15 +03:00
fmtlib@b6f4ceaed0 Update fmtlib (7.0.0 -> 8.1.1) 2022-02-01 14:30:03 +03:00
fmtlib-cmake Update fmtlib (7.0.0 -> 8.1.1) 2022-02-01 14:30:03 +03:00
googletest@e7e591764b Fix 2021-05-28 11:38:20 +03:00
googletest-cmake Remove unbundled gtest support 2022-01-20 10:01:54 +03:00
grpc@7eac189a6b Revert "Fix style regressions on benchmark page (#30506)" 2021-10-25 20:02:35 +03:00
grpc-cmake Remove MAKE_STATIC_LIBRARIES (in favor of USE_STATIC_LIBRARIES) 2022-01-24 17:28:33 +03:00
h3@c7f46cfd71 Revert "Implement h3ToGeo function" 2021-06-22 17:25:21 +03:00
h3-cmake contrib/h3: use hidden library 2022-01-21 10:11:22 +03:00
hive-metastore@809a77d435 add submodule hive-metasotre 2021-11-16 11:38:24 +08:00
hive-metastore-cmake Fix build hive w/o hdfs 2022-01-20 10:02:03 +03:00
hyperscan@5edc68c5ac Update submodules libc++ to LLVM 14 2022-03-26 11:12:22 +01:00
hyperscan-cmake contrib/hyperscan: use hidden library 2022-01-21 10:11:22 +03:00
icu@a56dde820d Upgrade icu to icu-release-70-1 2022-03-08 21:37:26 -08:00
icu-cmake Upgrade icu to icu-release-70-1 2022-03-08 21:37:26 -08:00
icudata@72d9a4a7fe Upgrade icu to icu-release-70-1 2022-03-08 21:37:26 -08:00
jemalloc@78b58379c8 Fix possible "nmalloc >= ndalloc" jemalloc assertion 2022-03-02 06:55:27 +03:00
jemalloc-cmake fix build fail with gcc --fix warnings without disabling some parameters 2022-03-11 21:59:19 +08:00
krb5@5149dea4e2 Fix MSan report in Kerberos library 2021-01-17 21:35:53 +03:00
krb5-cmake Do not require writable source directory for generating krb5 error tables 2022-03-29 20:09:47 +03:00
lemmagen-c@59537bdcf5 Updated submodules to include new READMEs 2021-06-19 23:15:16 +00:00
lemmagen-c-cmake contrib/lemmagen-c: use hidden library 2022-01-21 10:11:23 +03:00
libcpuid@8db3b8d2d3 Revert "DOCS-628: Stable versions of statistical functions (#10848)" 2020-05-13 16:32:36 +03:00
libcpuid-cmake contrib/libcpuid: use hidden library 2022-01-21 10:11:23 +03:00
libcxx@172b2ae074 Update submodules libc++ to LLVM 14 2022-03-26 11:12:22 +01:00
libcxx-cmake Adapt libcxx CMakefiles to LLVM 14 changes 2022-03-24 10:25:04 +01:00
libcxxabi@6eb7cc7a7b Update submodules libc++ to LLVM 14 2022-03-26 11:12:22 +01:00
libcxxabi-cmake Adapt libcxx CMakefiles to LLVM 14 changes 2022-03-24 10:25:04 +01:00
libdivide contrib/libdivide: add ALIAS library 2022-01-21 10:11:23 +03:00
libfarmhash Remove unbundled farmhash support 2022-01-20 10:01:12 +03:00
libgsasl@383ee28e82 cleanup, fixes, new submodules, ShellCommand, WriteBufferFromString 2020-12-16 14:48:33 +03:00
libgsasl-cmake contrib/libgsasl: add hidden library 2022-01-21 10:11:23 +03:00
libhdfs3@9194af4458 revert irrelate contribs 2021-12-20 18:30:40 +08:00
libhdfs3-cmake Fix librdkafka/hdfs that depends on sasl2/krb5 2022-01-20 10:02:03 +03:00
libmetrohash contrib/libmetrohash: add ALIAS library 2022-01-21 10:11:23 +03:00
libpq@e071ea570f Update libpq 2021-07-02 22:26:33 +03:00
libpq-cmake contrib/libpq: use hidden library 2022-01-21 10:11:23 +03:00
libpqxx@a4e8348392 libpqxx without confgure_file cmake 2022-01-18 15:40:32 +00:00
libpqxx-cmake contrib/libpqxx: use hidden library 2022-01-21 10:11:23 +03:00
libprotobuf-mutator@ffd86a3287 adding codegen fuzzer + code generation script. new contrib added: libprotobuf-mutator 2021-10-12 03:21:31 +03:00
libprotobuf-mutator-cmake Remove unbundled libprotobuf-mutator support 2022-01-20 08:47:16 +03:00
librdkafka@b8554f1682 Bump librdkafka (to fix metadata cache destroying) 2021-08-19 21:38:06 +03:00
librdkafka-cmake Fix librdkafka/hdfs that depends on sasl2/krb5 2022-01-20 10:02:03 +03:00
libstemmer_c@c753054304 Updated submodules to include new READMEs 2021-06-19 23:15:16 +00:00
libstemmer-c-cmake contrib/libstemmer-c: use hidden library 2022-01-21 10:11:23 +03:00
libunwind@c4ea9848a6 Updated libunwind to protect from wrong CFA expressions 2021-08-24 21:36:45 +03:00
libunwind-cmake Revert special contribs and set folder manually for them until fixed 2021-10-17 23:10:01 +03:00
libuv@95081e7c16 Update submodules 2021-10-12 02:03:00 +03:00
libuv-cmake Remove MAKE_STATIC_LIBRARIES (in favor of USE_STATIC_LIBRARIES) 2022-01-24 17:28:33 +03:00
libxml2@a075d256fd libxml2 package is upgraded to 2.9.13 2022-03-03 17:54:14 -08:00
libxml2-cmake contrib/libxml2: use hidden library 2022-01-21 10:11:23 +03:00
llvm@20607e6172 Update submodules to simplify cross build 2021-10-11 14:34:05 +03:00
llvm-cmake Fix enable LLVM for JIT compilation in CMake 2022-03-28 23:15:31 +02:00
lz4@4c9431e9af Update lz4 contrib 2021-11-29 14:12:13 +03:00
lz4-cmake Remove USE_XXHASH (reduntant) 2022-01-20 10:02:02 +03:00
magic_enum@38f86e4d09 Initial: replacing hardcoded toString for enums with magic_enum 2021-09-06 16:24:03 +02:00
magic-enum-cmake contrib/magic-enum: use hidden library 2022-01-21 10:11:23 +03:00
mariadb-connector-c@5f4034a3a6 Submodules 2021-05-28 01:45:13 +03:00
mariadb-connector-c-cmake contrib/mariadb-connector-c: use hidden library 2022-01-21 10:11:23 +03:00
miniselect@be0af6bd0b Move miniselect to submodule and replace quantile exact with better algorithm 2020-11-10 00:53:43 +03:00
miniselect-cmake Move miniselect 2022-01-20 10:01:59 +03:00
minizip-ng@6cffc95185 Add submodule minizip-ng 2022-02-05 23:45:16 +07:00
minizip-ng-cmake Add submodule minizip-ng 2022-02-05 23:45:16 +07:00
msgpack-c@46684265d5 Revert "Fix style regressions on benchmark page (#30506)" 2021-10-25 20:02:35 +03:00
msgpack-c-cmake Remove unbundled msgpack support 2022-01-20 10:01:58 +03:00
murmurhash contrib/murmurhash: add ALIAS library 2022-01-21 10:11:23 +03:00
nanodbc@df52a1232d Update nanodbc 2021-08-24 12:50:07 +00:00
nanodbc-cmake contrib/nanodbc: add hidden library 2022-01-21 10:11:23 +03:00
nlp-data@5591f91f5e Better 2022-01-10 20:30:26 +00:00
nlp-data-cmake Merge branch 'master' into classification 2022-01-25 10:22:47 +00:00
NuRaft@1707a7572a Not so ugly interface 2022-01-21 16:35:28 +03:00
nuraft-cmake Remove unbundled nuraft support 2022-01-20 08:47:16 +03:00
openldap@0208811b60 Update OpenLDAP for BoringSSL 2020-11-29 11:51:32 +03:00
openldap-cmake Remove unbundled openldap support 2022-01-20 08:47:16 +03:00
orc@f9a393ed24 Fix contrib 2022-01-27 13:49:56 +03:00
pdqsort Update pdqsort to recent version (#10171) 2020-04-11 14:16:14 +03:00
pdqsort-cmake Move pdqsort 2022-01-20 10:01:59 +03:00
poco@008b164694 Fix polling of socket with negative timeout (when poll() interrupted by EINTR) 2022-04-04 10:24:07 +03:00
poco-cmake contrib/boringssl: use hidden libraries 2022-01-21 10:11:22 +03:00
protobuf@6bb70196c5 Update protobuf to ignore protoc MSAN errors 2021-12-13 18:54:31 +01:00
protobuf-cmake contrib/protobuf: use hidden libraries 2022-01-21 10:11:23 +03:00
rapidjson@c4ef90ccdb Update submodules 2020-08-05 17:53:20 +03:00
rapidjson-cmake Remove unbundled rapidjson support 2022-01-20 10:01:12 +03:00
re2@13ebb377c6 Fix 2021-05-28 11:46:08 +03:00
re2-cmake Remove PVS test 2022-02-17 12:59:47 +01:00
replxx@6f0b6f151a Pasting improvement of clickhouse-client 2022-03-23 23:25:58 +08:00
replxx-cmake contrib/replxx: use hidden library 2022-01-21 10:11:23 +03:00
rocksdb@e7c2b2f7bc Initial support for risc-v 2021-11-11 19:23:34 +01:00
rocksdb-cmake Remove invalid IOS setting for RocksDB CMAKE to fix Apple M1 build 2022-02-09 12:17:23 -07:00
s2geometry@471fe9dc93 Update submodules for libc++13 compatibility 2021-12-13 16:49:22 +01:00
s2geometry-cmake Remove unbundled s2geometry support 2022-01-20 08:47:16 +03:00
sentry-native@f431047ac8 Initial support for risc-v 2021-11-11 19:23:34 +01:00
sentry-native-cmake contrib/sentry-native: use hidden library 2022-01-21 10:11:23 +03:00
simdjson@8df32cea33 Fix 2021-05-28 11:46:08 +03:00
simdjson-cmake Remove unbundled simdjson support 2022-01-20 10:01:12 +03:00
snappy@fb057edfed update version of snappy 2021-11-01 11:18:59 +08:00
snappy-cmake Remove unbundled snappy support 2022-01-20 08:47:16 +03:00
sparsehash-c11@cf0bffaa45 Replace libsparsehash with sparsehash-c11 2019-09-18 00:08:20 +03:00
sparsehash-c11-cmake Remove unbundled sparsehash support 2022-01-20 10:01:11 +03:00
sqlite-amalgamation@9818baa5d0 Add library as submodule 2021-07-07 20:06:35 +00:00
sqlite-cmake contrib/sqlite: add hidden library 2022-01-21 10:11:23 +03:00
sysroot@bbcac83452 revert irrelate contribs 2021-12-20 18:30:40 +08:00
thrift@010ccf0a0c Add parquet support. Fixes, tests, ... 2019-02-19 23:51:44 +03:00
thrift-cmake Remove unbundled thrift support 2022-01-20 08:47:16 +03:00
unixodbc@b0ad30f7f6 Added unixodbc as a submodule. (#2789) 2018-08-02 11:18:15 +03:00
unixodbc-cmake contrib/unixodbc: use hidden library 2022-01-21 10:11:23 +03:00
wordnet-blast@1d16ac2803 Updated submodules to include new READMEs 2021-06-19 23:15:16 +00:00
wordnet-blast-cmake contrib/wordnet-blast: use hidden library 2022-01-21 10:11:23 +03:00
xz@869b9d1b4e fixed whitespaces, added hidden submodule file 2020-11-02 23:04:49 +03:00
xz-cmake LZMA/xz cannot be disabled 2022-01-20 10:02:02 +03:00
yaml-cpp@0c86adac6d Update submodules 2021-05-28 00:18:30 +03:00
yaml-cpp-cmake contrib/yaml-cpp: use hidden library 2022-01-21 10:11:23 +03:00
zlib-ng@bffad6f6fe Re-add the submodule 2021-11-29 21:10:37 +03:00
zlib-ng-cmake contrib/zlib-ng: cleanup cmake rules 2022-01-21 10:11:23 +03:00
zstd@a488ba114e Fix 2021-05-28 11:46:08 +03:00
zstd-cmake Remove unbundled zstd support 2022-01-20 08:47:16 +03:00
CMakeLists.txt Add submodule minizip-ng 2022-02-05 23:45:16 +07:00