alesapin
1b0a9461f0
Fix more tests
2021-03-26 18:30:35 +03:00
Sergey Demurin
482704c434
Update other-functions.md
...
fix typo
2021-03-26 18:29:07 +03:00
Kruglov Pavel
5c0c6a9aec
Delete unused users.xml
2021-03-26 18:16:15 +03:00
alesapin
0fae73071c
Fix flaky test
2021-03-26 18:14:42 +03:00
Pavel Kruglov
2979feb23f
Prevent busy waiting in hedged requests when async_socket_for_remote=0
2021-03-26 18:11:06 +03:00
alesapin
8b08c0c3a6
Fix test_odbc_interaction
2021-03-26 17:45:52 +03:00
Anton Popov
421d8eb180
fux build
2021-03-26 17:34:04 +03:00
alexey-milovidov
ac53d30e53
Merge pull request #22146 from azat/writers-uncaught-exceptions
...
Fix uncaught exception in InterserverIOHTTPHandler
2021-03-26 17:23:09 +03:00
Alexander Kuzmenkov
a455762933
Merge pull request #22117 from ucasFL/useless-code
...
remove useless code
2021-03-26 17:18:14 +03:00
alesapin
2f07056ef6
More stable last get
2021-03-26 16:39:09 +03:00
alesapin
35d1443a9c
Don't wait when table shutdown called
2021-03-26 15:54:08 +03:00
George
92ff804c31
first entry
2021-03-26 15:49:21 +03:00
tavplubix
d9ec4090d2
Merge pull request #21936 from abyss7/html-form-fix
...
Fix issues with HTMLForm::MultipartReadBuffer and PeekableReadBuffer
2021-03-26 15:35:34 +03:00
alesapin
b0e401088a
Make this test sequential
2021-03-26 15:20:49 +03:00
alesapin
9bdeb436c2
Fix typo
2021-03-26 15:06:36 +03:00
alesapin
2db57f0f16
Followup fix
2021-03-26 14:18:31 +03:00
alesapin
331c5b6636
Fix startup one more time
2021-03-26 13:55:39 +03:00
Mikhail
3a83c3b903
link fix
2021-03-26 13:49:58 +03:00
alesapin
ba5c151037
Fix race condition on snapshots
2021-03-26 13:20:07 +03:00
Ilya Yatsishin
508234dc5f
Merge pull request #22153 from ClickHouse/pyyaml-update
...
Update requirements.txt
2021-03-26 13:06:06 +03:00
Alexander Kuzmenkov
a5fb5a7183
Merge pull request #22148 from ClickHouse/aku/perf-thresholds
...
adjust perf test thresholds
2021-03-26 12:59:20 +03:00
Tatiana Kirillova
e4bf63f470
Link for see also
2021-03-26 12:25:33 +03:00
Mikhail
979beae635
Merge branch 'kuriatnikovm-DOCSUP-7105-translate_changes' of https://github.com/michon470/ClickHouse into kuriatnikovm-DOCSUP-7105-translate_changes
2021-03-26 12:20:56 +03:00
Mikhail
37d8dfbeda
ошибка
2021-03-26 12:00:31 +03:00
Tatiana Kirillova
25052fc3f2
Reads file as a String
2021-03-26 11:47:41 +03:00
Tatiana Kirillova
9f6ad165c8
Updated description
2021-03-26 11:22:43 +03:00
michon470
9847b73250
Update docs/en/operations/settings/settings.md
...
Co-authored-by: tavplubix <tavplubix@gmail.com>
2021-03-26 10:46:25 +03:00
tavplubix
ae62bee939
Merge pull request #21913 from ClickHouse/fix_context_ref
...
Fix possibly dangling reference to Context
2021-03-26 10:39:13 +03:00
tavplubix
fa930d49c4
Update gtest_peekable_read_buffer.cpp
2021-03-26 10:29:58 +03:00
Tatiana Kirillova
db505553a4
Reads file as String - description of the new function.
2021-03-26 10:09:51 +03:00
Azat Khuzhin
c36f147b16
Fix sleep_in_send_tables_status_ms/sleep_in_send_data_ms in integration tests
2021-03-26 10:05:56 +03:00
Ilya Yatsishin
3107920f31
Update requirements.txt
2021-03-26 09:43:33 +03:00
PHO
26dc629366
Add a function isIPAddressContainedIn()
...
This function takes an IP address and a CIDR network prefix, and determines if the address is contained in the network. It supports both IPv4 and IPv6 addresses, and expects arguments to be strings.
ClickHouse doesn't support union types. We cannot use the native IPv4 and IPv6 types for this reason.
2021-03-26 12:11:35 +09:00
PHO
9ece398c35
Changed the return type of DB::getCIDRMaskIPv6()
...
It now returns std::array instead of uint8_t *. Also added DB::getCIDRMaskIPv4().
2021-03-26 12:11:34 +09:00
PHO
6606d8ac0b
Correct comments about what parseIPv4() and parseIPv6() actually do
...
They were wrong as to what endian their results were in.
2021-03-26 12:11:34 +09:00
PHO
1868ca34b8
Fix build on GCC where std::isinf() cannot be called without the namespace prefix
2021-03-26 12:11:22 +09:00
alexey-milovidov
40a99b7431
Merge pull request #21492 from azat/client-fix-highlight-multiline-comment
...
Fix heap-buffer-overflow in highlighting multi-line comments
2021-03-26 02:48:21 +03:00
alexey-milovidov
f1efa33571
Merge branch 'master' into client-fix-highlight-multiline-comment
2021-03-26 02:40:11 +03:00
alexey-milovidov
fe71d628a1
Update 01774_case_sensitive_connection_id.sql
2021-03-26 02:39:07 +03:00
alexey-milovidov
21ec42d7d2
Update 01773_case_sensitive_version.sql
2021-03-26 02:39:00 +03:00
alexey-milovidov
f4d014c022
Update connectionID.cpp
2021-03-26 02:38:49 +03:00
alexey-milovidov
0e42060523
Merge pull request #22114 from ucasFL/bar
...
Fix bar with invalid float value
2021-03-26 02:36:02 +03:00
alexey-milovidov
67f6efb94d
Update column.md
2021-03-26 02:35:38 +03:00
Alexey Milovidov
e55f7e6333
Fix error
2021-03-26 02:21:59 +03:00
Alexey Milovidov
ad66c4a916
Fix error
2021-03-26 01:56:24 +03:00
alexey-milovidov
ddbd95be2d
Suggestion from @l1tsolaiki
2021-03-26 01:55:42 +03:00
Azat Khuzhin
9db74c4dc0
Add stress test for distributed queries
...
It may founds issue like in [1]:
2021.03.18 19:05:38.783328 [ 245 ] {4b1f5ec0-bf2d-478c-a2e1-d312531db206} <Debug> executeQuery: (from 127.0.0.1:40918, using production parser) select * from dist where key = 0;
2021.03.18 19:05:38.783760 [ 245 ] {4b1f5ec0-bf2d-478c-a2e1-d312531db206} <Debug> StorageDistributed (dist): Skipping irrelevant shards - the query will be sent to the following shards of the cluster (shard numbers): [1]
2021.03.18 19:05:38.784012 [ 245 ] {4b1f5ec0-bf2d-478c-a2e1-d312531db206} <Trace> ContextAccess (default): Access granted: SELECT(key) ON default.dist
2021.03.18 19:05:38.784410 [ 245 ] {4b1f5ec0-bf2d-478c-a2e1-d312531db206} <Trace> ContextAccess (default): Access granted: SELECT(key) ON default.dist
2021.03.18 19:05:38.784488 [ 245 ] {4b1f5ec0-bf2d-478c-a2e1-d312531db206} <Trace> StorageDistributed (dist): Disabling force_optimize_skip_unused_shards for nested queries (force_optimize_skip_unused_shards_nesting exceeded)
2021.03.18 19:05:38.784572 [ 245 ] {4b1f5ec0-bf2d-478c-a2e1-d312531db206} <Trace> InterpreterSelectQuery: Complete -> Complete
2021.03.18 19:05:38.819063 [ 245 ] {4b1f5ec0-bf2d-478c-a2e1-d312531db206} <Information> executeQuery: Read 20 rows, 80.00 B in 0.035687783 sec., 560 rows/sec., 2.19 KiB/sec.
2021.03.18 19:05:38.827842 [ 245 ] {4b1f5ec0-bf2d-478c-a2e1-d312531db206} <Debug> MemoryTracker: Peak memory usage (for query): 0.00 B.
2021.03.18 19:05:38.867752 [ 547 ] {} <Fatal> BaseDaemon: ########################################
2021.03.18 19:05:38.867959 [ 547 ] {} <Fatal> BaseDaemon: (version 21.4.1.1, build id: A0ADEC175BD65E58EA012C47C265E661C32D23B5) (from thread 245) (query_id: 4b1f5ec0-bf2d-478c-a2e1-d312531db206) Received signal Aborted (6)
2021.03.18 19:05:38.868733 [ 547 ] {} <Fatal> BaseDaemon:
2021.03.18 19:05:38.868958 [ 547 ] {} <Fatal> BaseDaemon: Stack trace: 0x7fd1394be18b 0x7fd13949d859 0x10c4c99b 0xd434ee1 0xd434f1a
2021.03.18 19:05:38.870135 [ 547 ] {} <Fatal> BaseDaemon: 3. gsignal @ 0x4618b in /usr/lib/x86_64-linux-gnu/libc-2.31.so
2021.03.18 19:05:38.870383 [ 547 ] {} <Fatal> BaseDaemon: 4. abort @ 0x25859 in /usr/lib/x86_64-linux-gnu/libc-2.31.so
2021.03.18 19:05:38.886783 [ 547 ] {} <Fatal> BaseDaemon: 5. /work3/azat/ch/clickhouse/.cmake/../contrib/libunwind/src/UnwindLevel1.c:396: _Unwind_Resume @ 0x10c4c99b in /usr/bin/clickhouse
2021.03.18 19:05:47.200208 [ 547 ] {} <Fatal> BaseDaemon: 6. ? @ 0xd434ee1 in /usr/bin/clickhouse
2021.03.18 19:05:47.348738 [ 547 ] {} <Fatal> BaseDaemon: 7.1. inlined from /work3/azat/ch/clickhouse/.cmake/../contrib/boost/boost/context/fiber_fcontext.hpp:253: boost::context::fiber::~fiber()
2021.03.18 19:05:47.349118 [ 547 ] {} <Fatal> BaseDaemon: 7.2. inlined from ../contrib/boost/boost/context/fiber_fcontext.hpp:252: boost::context::detail::fiber_record<boost::context::fiber, FiberStack&, DB::RemoteQueryExecutorRoutine>::run(void*)
2021.03.18 19:05:47.349163 [ 547 ] {} <Fatal> BaseDaemon: 7. ../contrib/boost/boost/context/fiber_fcontext.hpp:80: void boost::context::detail::fiber_entry<boost::context::detail::fiber_record<boost::context::fiber, FiberStack&, DB::RemoteQueryExecutorRoutine> >(boost::context::detail::transfer_t) @ 0xd434f1a in /usr/bin/clickhouse
2021.03.18 19:05:47.618174 [ 547 ] {} <Fatal> BaseDaemon: Calculated checksum of the binary: FF3BA83D0CD648741EEEC242CB1966D9. There is no information about the reference checksum.
[1]: https://clickhouse-test-reports.s3.yandex.net/0/1b2ed51ff5e4a3dc45567d4967108f43f680c884/stress_test_(debug).html#fail1
2021-03-26 01:04:48 +03:00
Alexander Kuzmenkov
f3ca9db832
forgot abs()
2021-03-26 01:00:06 +03:00
Alexander Kuzmenkov
a12cc5f559
adjust perf test thresholds
2021-03-26 00:00:18 +03:00
Azat Khuzhin
b68517f69e
Fix cutToFirstSignificantSubdomainCustom()/firstSignificantSubdomainCustom() for 3+level domains
...
Custom TLD lists (added in #17748 ), may contain domain of the 3-d level,
however builtin TLD lists does not have such records, so it is not
affected.
Note that this will significantly increase hashtable lookups.
Fixes : #17748
2021-03-26 00:00:16 +03:00