Anton Popov
57a1642035
fix race in aggregation with combinator distinct
2020-12-22 14:30:29 +03:00
徐炘
81f9623e2e
Merge branch 'master' into dev/add_metrics_for_parts
2020-12-22 19:04:28 +08:00
Alexey Milovidov
76dc88b674
Remove useless code
2020-12-22 11:18:37 +03:00
alesapin
7f590090f6
Remove logs
2020-12-22 10:28:02 +03:00
alexey-milovidov
69719f743d
Merge branch 'master' into revert-15259-revert-14962-log-avoid-deadlock
2020-12-22 00:41:52 +03:00
alesapin
b10f13f34a
More thread fuzzer
2020-12-21 23:24:16 +03:00
alexey-milovidov
2222122f9f
Update ThreadFuzzer.cpp
2020-12-21 20:02:59 +03:00
alesapin
8f2d4f2d1e
Fix user
2020-12-21 18:46:36 +03:00
alesapin
b760d7d7d1
Remove more changes
2020-12-21 15:23:02 +03:00
alesapin
5a5fbf9eae
Remove logs from thread fuzzer
2020-12-21 15:22:07 +03:00
alesapin
643739df6b
Trying to enable thread fuzzer in flaky check
2020-12-21 13:06:36 +03:00
Alexey Milovidov
571520964c
Remove useless code
2020-12-21 10:48:15 +03:00
roverxu
8e72b6d31b
Merge remote-tracking branch 'origin' into dev/add_metrics_for_parts
2020-12-21 09:25:54 +08:00
Denis Glazachev
ea7e94f3eb
Use 127.0.0.1 as a default listen-host for ODBC bridge
2020-12-21 03:26:31 +04:00
Nikolai Kochetov
855c4bc7d7
Added comments.
2020-12-18 18:12:31 +03:00
Nikolai Kochetov
01c8d5dccc
Use replace fiber to callback in ReadBufferFromPocoSocket
2020-12-18 17:24:44 +03:00
Amos Bird
272311f6bd
Extensive information in system.query_log
2020-12-18 14:13:58 +08:00
alexey-milovidov
6ee2ada592
Merge pull request #18204 from ClickHouse/remove-strerror
...
Do not use non thread-safe function `strerror`
2020-12-18 08:07:46 +03:00
Nikita Mikhailov
d4ff611d75
build after merge
2020-12-18 02:31:01 +03:00
Nikita Mikhailov
6a55e018e4
Merge branch 'master' of github.com:ClickHouse/ClickHouse into parallel-parsing-input-format
2020-12-18 02:25:32 +03:00
Nikita Mikhaylov
aa7793e38f
Merge pull request #18084 from nikitamikhaylov/fix-arcadia-third
...
Try to fix Arcadia
2020-12-18 01:54:42 +03:00
alexey-milovidov
6fc3ca8b7b
Merge pull request #16724 from kitaisreal/added-function-accurate-cast-or-null
...
Added function accurateCastOrNull, allow different types inside IN subquery
2020-12-18 00:45:27 +03:00
alesapin
799997db35
Merge pull request #16621 from arenadata/ADQM-148
...
HDFS configuration and Kerberos Authenticaiton
2020-12-17 23:16:58 +03:00
alexey-milovidov
f82274a722
Merge pull request #16527 from kitaisreal/mmap-read-buffer-from-file-descriptor-use-getpagesize
...
MMapReadBufferFromFileDescriptor use getpagesize
2020-12-17 22:34:05 +03:00
Alexey Milovidov
f7f8ff8758
Merge branch 'master' into sigaltstack
2020-12-17 22:16:30 +03:00
Alexey Milovidov
fb3d235e84
Do not use strerror
2020-12-17 21:25:12 +03:00
alesapin
66228f4054
Merge pull request #18065 from ClickHouse/fix_watch_race_testkeeper
...
Remove dead list watches from TestKeeperStorage
2020-12-17 10:15:30 +03:00
Alexey Milovidov
7f280bef37
Merge branch 'master' into sigaltstack
2020-12-17 05:09:10 +03:00
nikitamikhaylov
d70f58a98f
remove ryu
2020-12-17 00:52:04 +03:00
Alexander Tokmakov
6c8f844442
better exception message for unknown function
2020-12-17 00:42:14 +03:00
Maksim Kita
685099af7f
Move getPageSize in common
2020-12-17 00:23:41 +03:00
alesapin
422467628a
Merge branch 'master' into fix_watch_race_testkeeper
2020-12-16 19:45:57 +03:00
Maksim Kita
80dbbc7e58
Style check fix
2020-12-16 18:59:53 +03:00
Ilya Golshtein
d1d657335b
USE_INTERNAL_HDFS3_LIBRARY + bash lint
2020-12-16 14:48:33 +03:00
Maksim Kita
7d23451e81
Replaced usages of 4096 constant with getPageSize
2020-12-16 13:46:28 +03:00
Maksim Kita
dbb2fbcdd5
Unified usages of getPageSize
...
1. Introduced getPageSize function.
2. Replaced usages of getpagesize with getPageSize function.
3. Replaced usages of sysconf(_SG_PAGESIZE) with getPageSize function.
2020-12-16 13:42:23 +03:00
Nikolai Kochetov
54efd830e6
Fixing build
2020-12-15 21:04:12 +03:00
Nikolai Kochetov
f3319cd06a
Enlarge FiberStack size.
2020-12-15 18:18:08 +03:00
Nikolai Kochetov
5277b565a8
Fixing build.
2020-12-15 17:47:31 +03:00
Nikolai Kochetov
5cbe47301d
Fix style
2020-12-15 15:56:14 +03:00
Nikolai Kochetov
d070920c72
Update FiberStack
2020-12-15 12:22:14 +03:00
Anton Popov
c78861e86e
Merge remote-tracking branch 'upstream/master' into HEAD
2020-12-15 01:45:01 +03:00
Nikita Mikhaylov
9f127a46c7
first try
2020-12-15 00:56:47 +03:00
Nikita Mikhaylov
0a508c7b8a
save
2020-12-15 00:56:46 +03:00
Maksim Kita
7b66dc374c
Fixed clang compile issues
2020-12-14 22:12:15 +03:00
Maksim Kita
4435642e39
Fixed style issues
2020-12-14 22:12:15 +03:00
Maksim Kita
4cd5025e83
Added numeric limits for UInt128
2020-12-14 22:12:15 +03:00
alesapin
73780838a1
Remove dead list watches
2020-12-14 19:01:29 +03:00
Nikolai Kochetov
8de5cd5bc7
Merge branch 'master' into async-read-from-socket
2020-12-14 17:45:38 +03:00
Nikolai Kochetov
e295dfe6e3
Use ucontext for asan
2020-12-14 17:42:08 +03:00
Nikolai Kochetov
116bed2cfd
Fixing build.
2020-12-14 17:42:00 +03:00
alexey-milovidov
8702809c9f
Merge pull request #17464 from amosbird/ddlworkermetric
...
ddlworker max entry metric
2020-12-13 21:28:03 +03:00
alexey-milovidov
cd5f827265
Merge pull request #18047 from kitaisreal/space-saving-remove-last-element-from-map-fix
...
HashTable erase added tests
2020-12-13 18:27:01 +03:00
Maksim Kita
06b047235a
Fixed style issues
2020-12-13 14:35:52 +03:00
Maksim Kita
547f452ba9
HashTable erase added tests
2020-12-13 13:30:25 +03:00
alexey-milovidov
8df4789113
Merge pull request #17845 from kitaisreal/space-saving-remove-last-element-from-map-fix
...
SpaceSaving remove last element from map fix
2020-12-13 04:09:51 +03:00
alexey-milovidov
04e222f6f3
Merge pull request #17986 from azat/fwd-decl
...
More forward declaration for generic headers
2020-12-13 01:12:05 +03:00
alexey-milovidov
987725f67b
Merge pull request #17935 from Jokser/disk-s3-remove-empty-metadata-files
...
Forcibly removing empty or bad metadata files from FS for DiskS3
2020-12-12 23:41:35 +03:00
alexey-milovidov
6f50a86025
Update gtest_hash_table.cpp
2020-12-12 18:57:07 +03:00
Pavel Kovalenko
3f2f663bfa
Add [[maybe_unused]] for msg parameter in handle_error_code.
2020-12-12 17:43:11 +03:00
Azat Khuzhin
5b3ab48861
More forward declaration for generic headers
...
The following headers are pretty generic, so use forward declaration as
much as possible:
- Context.h
- Settings.h
- ConnectionTimeouts.h
(Also this shows that some missing some includes -- this has been fixed)
And split ConnectionTimeouts.h into ConnectionTimeoutsContext.h (since
module part cannot be added for it, due to recursive build dependencies
that will be introduced)
Also remove Settings from the RemoteBlockInputStream/RemoteQueryExecutor
and just pass the context, since settings was passed only in speicifc
places, that can allow making a copy of Context (i.e. Copier).
Approx results (How much units will be recompiled after changing file X?):
- ConnectionTimeouts.h
- mainline: 100
- Context.h:
- mainline: ~800
- patched: 415
- Settings.h:
- mainline: 900-1K
- patched: 440 (most of them because of the Context.h)
2020-12-12 17:43:10 +03:00
Pavel Kovalenko
25df6bae78
Add nested exception when handle Disk S3 metadata file read error.
2020-12-12 17:11:47 +03:00
Maksim Kita
07c8293043
Added tests
2020-12-12 15:08:46 +03:00
Amos Bird
8d0e949462
ddlworker max entry metric
2020-12-12 14:20:49 +08:00
alexey-milovidov
c74011851a
Update HashTable.h
2020-12-12 04:58:07 +03:00
alexey-milovidov
d94d9aa8d7
Update HashTable.h
2020-12-12 04:17:32 +03:00
alexey-milovidov
9e48b9b656
Update HashTable.h
2020-12-12 03:47:43 +03:00
alexey-milovidov
eba1299845
Update HashTable.h
2020-12-12 03:38:55 +03:00
alexey-milovidov
245dea6f2e
Update HashTable.h
2020-12-12 03:33:57 +03:00
alexey-milovidov
7e2bc1e7a6
Update HashTable.h
2020-12-12 03:30:12 +03:00
alexey-milovidov
6e7366f921
Update HashTable.h
2020-12-12 03:28:41 +03:00
Alexander Kuzmenkov
a2886cdfa5
Merge remote-tracking branch 'origin/master' into HEAD
2020-12-11 18:57:47 +03:00
Nikita Mikhaylov
f1a145a2b2
Merge pull request #17984 from nikitamikhaylov/fix-arcadia-second
...
Fix arcadia
2020-12-11 17:56:19 +03:00
Maksim Kita
b70b98c415
Fix style issues
2020-12-11 16:54:08 +03:00
Maksim Kita
4ae5619714
Optimized erase in HashTable
2020-12-11 16:54:08 +03:00
Maksim Kita
bf5d75853c
Added erase into HashTable
2020-12-11 16:54:08 +03:00
Maksim Kita
d8b78682e1
SpaceSaving remove last element from map fix
2020-12-11 16:54:08 +03:00
Alexander Kuzmenkov
fb1221148d
Merge pull request #17748 from azat/custom-TLD
...
Add ability to use custom TLD list
2020-12-11 12:42:19 +03:00
Alexander Kuzmenkov
d757f32300
Remove some redundant includes to speed up build
2020-12-11 02:58:11 +03:00
nikitamikhaylov
b6d69eb63b
done
2020-12-11 02:16:21 +03:00
Azat Khuzhin
840a21d073
Add top_level_domains_path for easier overriding
2020-12-09 21:08:31 +03:00
Azat Khuzhin
c987be632f
Switch TLDList to StringHashSet (to avoid errors on collisions)
2020-12-09 21:08:30 +03:00
Azat Khuzhin
89cb2185a8
Fix StringHashTable move constructor
2020-12-09 21:08:30 +03:00
Azat Khuzhin
8a0487b1af
Add StringHashSet
2020-12-09 21:08:30 +03:00
Azat Khuzhin
916cbd6610
Add ability to use custom TLD list
...
v2: Add a note that top_level_domains_lists aren not applied w/o restart
v3: Remove ExtractFirstSignificantSubdomain{Default,Custom}Lookup.h headers
v4: TLDListsHolder: remove FIXME for dense_hash_map (this is not significant)
2020-12-09 21:08:22 +03:00
Nikolai Kochetov
0e44a22f43
Fixing build.
2020-12-09 19:17:59 +03:00
Nikolai Kochetov
32b38f389e
Merge branch 'master' into async-read-from-socket
2020-12-09 17:15:36 +03:00
Nikolai Kochetov
a1d4d92b54
Use poco from master. Fixing tests.
2020-12-09 17:12:42 +03:00
Nikolai Kochetov
156f44808f
Fixing crash.
2020-12-09 17:11:45 +03:00
Nikolai Kochetov
088c128832
Fixing build and tests.
2020-12-09 17:11:20 +03:00
alesapin
7ff50fb352
Close requests without timeout
2020-12-09 11:19:52 +03:00
alesapin
3d0dbbe411
Fix build
2020-12-08 17:49:18 +03:00
alesapin
91e3162e09
More correct session close
2020-12-08 17:28:51 +03:00
alesapin
f4231d552e
Banch of fixes
2020-12-08 16:28:39 +03:00
alesapin
0c43246216
Merge branch 'master' into complete_zk_api
2020-12-07 10:24:55 +03:00
Alexey Milovidov
c40d024915
Merge branch 'master' into vdimir-speedup-apply-cidr-mask-v6
2020-12-07 02:20:57 +03:00
Alexey Milovidov
a63d4f0db3
Merge branch 'master' into amosbird-buildid
2020-12-07 02:17:29 +03:00
alexey-milovidov
f0800a070d
Merge pull request #17700 from ClickHouse/tavplubix-patch-3
...
Fix sequential number in TestKeeper
2020-12-07 02:13:04 +03:00
Anton Popov
7aaa2c052f
Merge branch 'master' into merging-map
2020-12-05 22:41:46 +03:00
alesapin
278bbf6d51
Merge branch 'master' into complete_zk_api
2020-12-04 16:48:19 +03:00
alesapin
ac118feef0
Merge branch 'master' into boringssl-2
2020-12-04 16:24:20 +03:00
roverxu
2a6c1463a1
Add metrics for part number in MergeTree
2020-12-04 11:42:58 +08:00
Nikolai Kochetov
082a496364
Add async read to RemoteQueryExecutor
2020-12-03 15:21:10 +03:00
alexey-milovidov
85f4045160
Merge pull request #17144 from fibersel/issue-16791
...
introduce zstd compression (for data import/export)
2020-12-02 22:41:07 +03:00
Nikolai Kochetov
0fae325d76
Add FiberStack
2020-12-02 14:18:46 +03:00
tavplubix
45b4b3648c
Merge pull request #17664 from ClickHouse/tavplubix-patch-2
...
Fix renameat2 ENOSYS on WSL
2020-12-02 13:55:50 +03:00
tavplubix
88bc73df3a
fix seq number in TestKeeper
2020-12-02 12:38:55 +03:00
alesapin
93ea2f5b1f
Merge branch 'master' into complete_zk_api
2020-12-02 11:30:09 +03:00
vdimir
9ce010e82c
Add comment for IPV6_MASKS_COUNT
2020-12-01 22:12:11 +03:00
vdimir
1aaff75d9a
Fix style in IPv6ToBinary.cpp
2020-12-01 20:38:49 +03:00
Anton Popov
12604ce0e6
Merge branch 'dev_map2' of git://github.com/hexiaoting/ClickHouse into merging-map
2020-12-01 14:52:30 +03:00
tavplubix
88133860d7
Update renameat2.cpp
2020-12-01 13:22:29 +03:00
Azat Khuzhin
0bf6ed2e94
Make LockExceptionInThread/BlockerInThread nested
2020-12-01 10:34:25 +03:00
Amos Bird
310918b06a
reload symbols and fix build-id
2020-11-30 22:30:55 +08:00
Alexey Milovidov
af5e2084ff
Port ClickHouse code to BoringSSL
2020-11-30 09:59:35 +03:00
vdimir
cd8e7981e0
Speedup applyCIDRMask for IPv6 with compile-time generated mask array
2020-11-29 20:54:46 +03:00
a.palagashvili
502355922d
added errors checking, removed redundant variables
2020-11-29 15:14:42 +03:00
Azat Khuzhin
99c447d3f5
Add ability to block MEMORY_LIMIT_EXCEEDED exception explicitly
2020-11-28 11:15:26 +03:00
Azat Khuzhin
5088668736
Do not allow to throw MEMORY_LIMIT_EXCEEDED if there is uncaught exception
...
Since this will lead to std::terminate
2020-11-28 11:15:26 +03:00
alesapin
d199a2bf76
Merge branch 'master' into complete_zk_api
2020-11-27 14:55:55 +03:00
alesapin
89c292f5b7
Fix response pipe read
2020-11-27 13:12:11 +03:00
Nikolai Kochetov
9291bbb04b
Merge pull request #16804 from vdimir/ip-dict-no-trie
...
sorted-array based ip_dict
2020-11-26 19:26:06 +03:00
alesapin
0c6ce276b2
Add dead watches cleaner
2020-11-26 17:57:32 +03:00
Nikita Mikhaylov
1724f182e6
Merge pull request #17412 from nikitamikhaylov/radix-malloc
...
Replaced malloc with new in RadixSort
2020-11-26 15:05:01 +03:00
hexiaoting
5b3a7f5c98
Merge remote-tracking branch 'origin/master' into dev_map2
2020-11-26 16:43:27 +08:00
hexiaoting
74d875c837
Merge remote-tracking branch 'origin/master' into dev_map2
2020-11-26 15:13:52 +08:00
alexey-milovidov
f3c12397c2
Update RadixSort.h
2020-11-26 03:20:43 +03:00
Nikolai Kochetov
729272391f
Merge branch 'master' into ip-dict-no-trie
2020-11-25 23:07:19 +03:00
nikitamikhaylov
78b510eaa1
naming
2020-11-25 20:12:14 +03:00
nikitamikhaylov
214b5b8649
better
2020-11-25 20:04:25 +03:00
nikitamikhaylov
8e53b80b89
done
2020-11-25 19:50:07 +03:00
alesapin
be80750ee7
Merge pull request #16899 from ClickHouse/query-profiler-minor-change
...
Minor change in query profiler
2020-11-25 17:14:11 +03:00
alesapin
fb86eaf6fc
Better errors and better config
2020-11-25 16:19:09 +03:00
Alexander Kuzmenkov
edce1e636e
Merge pull request #16535 from ClickHouse/aku/opentelemetry
...
OpenTelemetry improvements
2020-11-25 14:10:17 +03:00
alesapin
4d40d9be3f
Merge branch 'master' into complete_zk_api
2020-11-25 10:31:16 +03:00
alesapin
3a3860c776
Merge pull request #16837 from ClickHouse/correctly_send_close_request
...
Set expire after we sent close in ZooKeeper client
2020-11-25 10:21:41 +03:00
Vitaly Baranov
08b3707842
Merge pull request #15111 from vitlibar/grpc-protocol
...
Implement GRPC protocol.
2020-11-25 09:00:32 +03:00
Alexander Kuzmenkov
1d7dcef4a0
Merge remote-tracking branch 'origin/master' into HEAD
2020-11-24 21:45:10 +03:00
Alexey Milovidov
828d27d801
Remove unused ProfileEvents
2020-11-24 20:45:24 +03:00
Vitaly Baranov
3c85165e60
Redirect stderr, stdout for clickhouse-odbc-bridge to files.
2020-11-24 17:55:02 +03:00
Vitaly Baranov
8146093794
Provide more information about errors.
2020-11-24 17:55:01 +03:00
alesapin
cfe7d853c1
Update ZooKeeperImpl.cpp
2020-11-24 17:42:31 +03:00
alesapin
821111e716
Update ZooKeeperImpl.cpp
2020-11-24 17:41:57 +03:00
alesapin
a800bff5d4
Update ZooKeeperImpl.cpp
2020-11-24 17:33:42 +03:00
alesapin
0d52cfb1be
Less clumsy code with interruptable code
2020-11-24 17:02:55 +03:00
Alexander Kuzmenkov
412c2fe079
Merge remote-tracking branch 'origin/master' into HEAD
2020-11-23 19:51:18 +03:00
alesapin
2da250164e
Fix clang tidy message
2020-11-23 17:03:57 +03:00
alesapin
b8fb44a7b9
Merge with master
2020-11-23 11:05:50 +03:00
vdimir
77ffd25cc0
Fixes for IP dictionary
...
More meaningful parse errors
Code style fixes, more comments
Fix bytes_allocated calculation
2020-11-21 17:56:58 +03:00
alesapin
63464df3eb
Fix clang-tidy
2020-11-20 18:00:23 +03:00