Nikita Mikhailov
c5f92e5096
better formatfactory
2020-12-30 06:07:30 +03:00
Yatsishin Ilya
f36e8f13c0
more fixes after rebase
2020-12-24 13:48:10 +03:00
Yatsishin Ilya
ce1e2b18a3
Fix codespell warnings. Split style checks. Update style checks docker
2020-12-24 13:17:52 +03:00
alexey-milovidov
021aba5769
Merge pull request #18217 from ClickHouse/fix_stranges_in_testkeeper
...
Fix watches processing in TestKeeper
2020-12-19 03:29:51 +03:00
alesapin
24eed37315
Fix style check
2020-12-18 12:23:27 +03:00
alesapin
3937942fae
Fix bug in watches processing
2020-12-18 12:13:50 +03:00
Amos Bird
c447628d42
Add connection thread metrics
2020-12-18 15:22:55 +08:00
alesapin
b347fa322c
Trying to fix races one more time
2020-12-16 15:58:00 +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
filimonov
8d9ad60afa
Decrease verbosity of disconnecting clients
...
Right now they go to error log.
2020-12-11 11:51:48 +01:00
alesapin
850f903d40
Merge branch 'master' into complete_zk_api
2020-12-09 18:18:38 +03:00
alesapin
758dcd1972
Separate factory for test keeper handlers
2020-12-09 11:45:36 +03:00
alesapin
7ff50fb352
Close requests without timeout
2020-12-09 11:19:52 +03:00
Vitaly Baranov
f6f336ac78
Merge pull request #17888 from vitlibar/retrieve-logs-from-grpc
...
Retrieve logs from grpc
2020-12-08 20:54:02 +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
Vitaly Baranov
559afe028f
Retrieve logs from grpc library and pass them to our logging system.
2020-12-07 23:39:55 +03:00
Alexey Milovidov
1ed329017b
Merge branch 'master' into quota-by-x-forwarded-for
2020-12-07 18:22:19 +03:00
alesapin
278bbf6d51
Merge branch 'master' into complete_zk_api
2020-12-04 16:48:19 +03:00
Alexey Milovidov
50fe5f9211
Added note
2020-12-03 00:09:46 +03:00
Alexey Milovidov
3e2447391b
Support for PROXY protocol
2020-12-03 00:05:51 +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
Alexey Milovidov
2c7b03ab6e
Fix error
2020-12-02 22:20:47 +03:00
alesapin
93ea2f5b1f
Merge branch 'master' into complete_zk_api
2020-12-02 11:30:09 +03:00
Alexey Milovidov
c9aa412151
Allow quotas to be keyed by proxy-forwarded IP address
2020-12-02 00:09:16 +03:00
Alexander Kuzmenkov
c5a81f6172
Merge pull request #17437 from vitlibar/add-new-constants-to-client-info-interface
...
Add constants to ClientInfo::Interface for MySQL and PostgreSQL protocols
2020-11-30 17:02:30 +03:00
a.palagashvili
08b8eb8fc2
resolved conflict, added new compression method in http
2020-11-29 15:59:56 +03:00
a.palagashvili
98ee8e8d5e
resolved conflict in src/Server/HTTPHandler.cpp
2020-11-29 15:48:30 +03:00
a.palagashvili
502355922d
added errors checking, removed redundant variables
2020-11-29 15:14:42 +03:00
alesapin
00c190aeed
Fix unitialized memory
2020-11-27 14:57:48 +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
alesapin
15a76b4763
Fix clang-tidy
2020-11-26 15:28:54 +03:00
alesapin
fc0bca1ff2
Fix bug with buffered read
2020-11-26 15:26:41 +03:00
alesapin
0b079cdeb8
Better polling
2020-11-26 11:59:23 +03:00
Vitaly Baranov
99343bc127
Add constants to ClientInfo::Interface for MySQL and PostgreSQL protocols.
2020-11-26 11:30:38 +03:00
alesapin
6f6476ad95
Remove complex code on session timeout
2020-11-26 00:00:51 +03:00
alesapin
77651dd239
Don't epoll_create each poll
2020-11-25 23:42:23 +03:00
alesapin
fd67864e15
Remove double space
2020-11-25 17:34:13 +03:00
alesapin
fb86eaf6fc
Better errors and better config
2020-11-25 16:19:09 +03:00
alesapin
f3555ad2d4
Fix build on non-linux platforms
2020-11-25 15:36:46 +03:00
alesapin
d277db52fd
Maybe unused
2020-11-25 15:14:31 +03:00
Alexander Kuzmenkov
edce1e636e
Merge pull request #16535 from ClickHouse/aku/opentelemetry
...
OpenTelemetry improvements
2020-11-25 14:10:17 +03:00
alesapin
8acbf75dc9
Fix segfault
2020-11-25 11:56:40 +03:00
alesapin
310307fa72
Replace eventfd with pipes
2020-11-25 11:18:15 +03:00
alesapin
4d40d9be3f
Merge branch 'master' into complete_zk_api
2020-11-25 10:31:16 +03:00
Alexander Kuzmenkov
1d7dcef4a0
Merge remote-tracking branch 'origin/master' into HEAD
2020-11-24 21:45:10 +03:00
Vitaly Baranov
be056a93ab
Add comments desribing the protocol.
2020-11-24 17:55:02 +03:00
Vitaly Baranov
a0e384b0c0
Added support for external tables.
2020-11-24 17:55:02 +03:00