Yuriy
a4bf3621e3
merged with master
2019-04-23 21:58:29 +03:00
Yuriy
e4766a4ef9
caching_sha2_password authentication plugin
2019-04-22 13:57:50 +03:00
Nicolae Vartolomei
c2ec23c953
Add FIRST_OR_RANDOM Load Balancing policy
...
For cross-replication topology setups load_balancing=in_order works best
as nodes handle equal amount of load and usually they hit only 1/n of
data (n = number of replicas), which makes page cache usage more
efficient.
The problem is when one node of the shard goes down. If one replica goes
down, the next one in config will handle twice the usual load while
remaining ones will handle usual traffic.
Closes #4820 .
2019-04-15 23:31:40 +01:00
Mikhail Fandyushin
68106d92ea
bringing query id header to consistency
2019-04-10 23:13:41 +03:00
Mikhail Fandyushin
7fc9b8c6fb
Merge branch 'master' into brotli
2019-04-08 21:07:58 +03:00
Yuriy
2789a83c03
fixed compilation with clang
2019-04-08 10:03:04 +03:00
proller
5b1bde2e80
CLICKHOUSE-4387 Add (official build) to version of yandex builds
2019-04-03 17:06:59 +03:00
Yuriy
3ea33600a0
fixed style check
2019-04-03 01:56:49 +03:00
Yuriy
0f3ec94ebd
added mysql protocol test
2019-04-03 01:45:06 +03:00
Yuriy
e91fd22b82
fixed style check
2019-04-01 12:59:49 +03:00
Yuriy
107f33e888
added password check and changed packets serialization
2019-04-01 12:27:39 +03:00
Ivan
957d23267b
Minimal implementation of row-level security CLICKHOUSE-4315 ( #4792 )
...
For detailed description see the related PR
2019-03-29 23:31:06 +03:00
Mikhail Fandyushin
e986d0eae6
HTTP Accept-Encoding: br; Final fixes
2019-03-21 00:04:35 +03:00
Mikhail Fandyushin
73a9644da2
HTTP Accept-Encoding: br; Expended ZlibCompressionMethod to generic CompressionMethod; Added brotli to CompressionMethod enum
2019-03-21 00:04:35 +03:00
proller
f697df2079
Tests: fix call .sh from .sh ( #4732 )
2019-03-20 23:04:49 +03:00
Alexey Milovidov
2f7ce49a9c
Merge branch 'master' of github.com:yandex/ClickHouse
2019-03-20 00:35:26 +03:00
Alexey Milovidov
6732e4366c
Commented out readonly user
2019-03-20 00:34:44 +03:00
proller
78e0b1af5e
Fix compression level detection when network_compression_method in lowercase ( #4706 )
2019-03-18 17:59:07 +03:00
Yuriy
bfd53e3ccc
draft
2019-03-17 10:11:22 +03:00
Alexey Zatelepin
a2debdb724
fix use-after-free [#CLICKHOUSE-3101]
2019-03-15 21:52:45 +03:00
Alexey Zatelepin
b5a0a3fa23
store all kinds of columns in the same list in ColumnsDescription [#CLICKHOUSE-3101]
2019-03-15 19:37:52 +03:00
Alexey Milovidov
9d026ef733
Avoid deadlock on exit if exception was thrown in loadMetadata due to cyclic references in ContextShared that holds BackgroundProcessingPool
2019-03-12 22:30:01 +03:00
proller
0061df234a
Build fix (split) ( #4641 )
2019-03-09 21:52:46 +03:00
Maxim Akhmedov
15576ca809
Better lifetime of query context in TCP handler.
2019-03-07 00:32:26 +03:00
Maxim Akhmedov
28bc3fd7d8
Remove accidental modification of unrelated file.
2019-03-06 22:28:48 +03:00
alexey-milovidov
61e82da684
Update TCPHandler.cpp
2019-03-06 21:38:26 +03:00
Maxim Akhmedov
9a56294fdf
CHYT-67: introduce host context for using CH as a library.
2019-03-06 19:47:47 +03:00
alexey-milovidov
1df9c1720e
Merge pull request #4426 from Felixoid/graphite-rollup
...
Graphite rollup: combined rules
2019-03-06 03:10:45 +03:00
proller
d2e18d47fb
Fix link in split mode ( #4574 )
2019-03-04 20:47:31 +03:00
Alexey Zatelepin
0d7ab9e3ea
allow acquiring read lock to a table out of order if it was already locked by the same query [#CLICKHOUSE-3789]
...
this is important in preventing ALTER deadlocks
2019-02-27 21:34:38 +03:00
alexey-milovidov
9d8b91b97a
Merge pull request #4483 from yandex/dont-create-part-log-if-not-defined
...
Do not create part_log if it is not defined in configuration file
2019-02-24 18:27:50 +03:00
Alexey Milovidov
ac2ea9b198
Added 'query_thread_log' section to configuration file. Now query_thread_log doesn't work without this section.
2019-02-24 02:29:38 +03:00
Alexey Zatelepin
73f852ae82
manually reset DDLWorker in shared context to prevent reference cycles
2019-02-21 19:41:27 +03:00
Mikhail f. Shiryaev
58a5a9dc0c
Fix "only_from_localhost" example
2019-02-21 10:54:06 +01:00
proller
e20c77e4c6
Add parquet support. Fixes, tests, ...
2019-02-19 23:51:44 +03:00
Alexey Milovidov
11fc35e098
Fixed accidential incompatibility due to wrong implementation of "send_logs_level" setting
2019-02-19 16:27:59 +03:00
proller
263e69e861
Build fixes (FreeBSD port) ( #4397 )
2019-02-15 14:46:07 +03:00
Alexey Milovidov
46e8553b1f
Config: added clarification
2019-02-14 00:16:40 +03:00
alesapin
af4c4dc1e5
Fix old clients insert query processing with embedded data
2019-02-13 15:54:22 +03:00
Mikhail
763b3dcf73
Merge branch 'master' into brotli
2019-02-11 23:44:39 +03:00
alexey-milovidov
4f2b35cb10
Merge pull request #4215 from abyss7/CLICKHOUSE-3729
...
Report progress from server-side to keep client connections alive
2019-02-11 02:07:57 +03:00
Alexey Milovidov
5ed720b522
Fixed typo
2019-02-11 00:17:52 +03:00
Alexey Milovidov
0861af12a3
Fixed thread names
2019-02-11 00:15:14 +03:00
Alexey Milovidov
ba3cb83a84
Removed duplicate includes
2019-02-10 20:12:22 +03:00
Alexey Milovidov
eb39f6b653
Cleanup #4240
2019-02-10 01:38:26 +03:00
Alexey Milovidov
dc863dd8a0
Merge branch 'reduce_max_memory_and_caches_size' of https://github.com/k-lopatin/ClickHouse into k-lopatin-reduce_max_memory_and_caches_size
2019-02-10 01:11:46 +03:00
Mikhail Fandyushin
1ee18203ae
handle brotli errors; working wersion of BrotliReadBuffer
2019-02-06 02:12:31 +03:00
Mikhail Fandyushin
7e9e34bebf
WIP: Reading brotli encoded HTTP messages. First-draft-ugly implementation, but its works
2019-02-05 01:15:08 +03:00
Ivan Lezhankin
994926e568
Merge remote-tracking branch 'upstream/master' into CLICKHOUSE-3729
2019-02-04 20:13:50 +03:00
alexey-milovidov
39f8eb571f
Merge pull request #4213 from nvartolomei/nv/http-cancel
...
Cancel http read only queries if client socket goes away
2019-02-04 17:33:47 +03:00
alexey-milovidov
a29385108a
Update Server.cpp
2019-02-04 15:49:54 +03:00
Lopatin Konstantin
97cb36ac2e
Clickhouse server version option support
2019-02-04 12:21:12 +03:00
Lopatin Konstantin
86f226d62e
Reduce max memory usage, max memory usage for all querie, mark cache size and uncompressed cache size accordingly to available memory amount
2019-02-04 00:23:17 +03:00
alexey-milovidov
8db13da097
Update HTTPHandler.cpp
2019-02-03 23:40:34 +03:00
alexey-milovidov
2e082d9a9e
Merge pull request #4233 from yurriy/server-help-option
...
Server help option
2019-02-02 20:49:03 +03:00
Yuriy Baranov
defc6bbcf4
added positional arguments description
2019-02-02 15:37:54 +00:00
alexey-milovidov
e3b32ec679
Merge pull request #4231 from fandyushin/queryid
...
Added Query-Id to http response header
2019-02-02 17:38:13 +03:00
Yuriy Baranov
e6101f3531
removed help message header
2019-02-02 14:33:08 +00:00
Yuriy Baranov
a97c8a43a7
moved include outside ssl includes
2019-02-02 14:05:27 +00:00
Yuriy Baranov
0296c9a941
removed duplicate include
2019-02-02 14:00:33 +00:00
Yuriy Baranov
a3d0568739
Added --help/-h to server
2019-02-02 13:24:12 +00:00
Mihail Fandyushin
7294b8adf2
Added Query-Id to http response header
2019-02-02 15:24:26 +03:00
Nicolae Vartolomei
3fdc04428e
Cancel http read only queries if client socket goes away
...
To check the socket status, try to read one byte from socket in a
non-blocking way:
0 - client closed the connection
>= 1 - client send more data, we are ignoring this case for now
timeout - normal case, client is waiting for response
... - socket broken?
Dirty, but should do the job. Limiting to readonly queries as I don't
want to mess with alter queries / insert select and others.
2019-02-02 12:14:52 +00:00
Alexey Milovidov
d263f3d941
Removed listen host override from the example server config
2019-02-01 16:56:20 +03:00
Alexey Milovidov
bf99e785c8
Removed ZooKeeper example config
2019-01-31 21:58:04 +03:00
Alexey Milovidov
4e3d9a0f15
Merge branch 'master' of github.com:yandex/ClickHouse into global-thread-pool
2019-01-28 14:20:24 +03:00
Vitaly Baranov
e9721c9548
Add support for absolute format schema paths.
2019-01-27 12:15:32 +03:00
proller
5328251ff1
Fix build without protobuf, gtest, cppkafka ( #4152 )
2019-01-25 23:02:03 +03:00
Alexey Milovidov
65f8e4d4a8
Merge branch 'master' into global-thread-pool
2019-01-25 16:33:50 +03:00
Ivan Lezhankin
05ab15cc84
Merge IBlockInputStream
and IProfilingBlockInputStream
into one
2019-01-23 17:48:50 +03:00
maiha
6c83beafdd
dbms: Fixed misspells in comments
2019-01-23 04:56:53 +09:00
Alexey Milovidov
17335ab1f1
Fixed some warnings found by PVS-Studio
2019-01-20 01:52:33 +03:00
proller
0939387514
Build fixes ( #4076 )
...
Move copy_headers.sh and formath.sh from root.
Debian: use default build dir (obj-x86_64-linux-gnu)
Debian: add test after build (GLIBC_required_version)
cmake: dont run copy headers if already copied
2019-01-18 18:19:53 +03:00
Alexey Milovidov
a7c468da8e
Merge remote-tracking branch 'origin/master' into global-thread-pool
2019-01-17 21:57:01 +03:00
Alexey Milovidov
a98e822a10
Attempt to implemnt global thread pool #4018
2019-01-15 21:39:54 +03:00
Alexey Milovidov
f6b9b06307
Attempt to implemnt global thread pool #4018
2019-01-14 22:22:09 +03:00
alesapin
0ba1db8b27
CLICKHOUSE-4249: Limit compiled expressions cache
2019-01-11 22:03:23 +03:00
Alexey Milovidov
1d4701b0bc
Added some warnings from clang's -Weverything
2019-01-04 15:10:00 +03:00
Alexey Milovidov
e33e5150b7
Miscellaneous [#CLICKHOUSE-2]
2019-01-02 09:44:36 +03:00
proller
300bbdfb43
Fix cyclic lib depend ppart 2: clean
2018-12-28 21:15:26 +03:00
alesapin
1e771a4aec
Fix error codes
2018-12-24 14:34:50 +03:00
Alexey Milovidov
fbee51bb7d
Removed redundand code #3785
2018-12-24 00:38:53 +03:00
alexey-milovidov
b9c4ede4fd
Merge pull request #3785 from sergey-v-galtsev/match-process-euid-against-data-owner
...
Match the process' effective user id against the data owner at the server startup.
2018-12-23 22:28:54 +03:00
alesapin
6f7333840a
Move header with compression info to another place
2018-12-21 16:25:39 +03:00
alesapin
7c11455bd3
Remove compression settings
2018-12-21 15:17:30 +03:00
alesapin
5b23210062
Merge branch 'master' into custom_compression_codecs
2018-12-21 11:57:21 +03:00
alexey-milovidov
d9e8cd46da
Merge pull request #3879 from yandex/setting-low_cardinality_allow_in_native_format
...
Added low_cardinality_allow_in_native_format setting.
2018-12-20 21:02:02 +03:00
alesapin
aee6c0a606
Remove dump code
2018-12-20 20:37:02 +03:00
alexey-milovidov
3cefb27e56
Merge pull request #3851 from abyss7/issue-3592
...
Refactor constant folding
2018-12-20 19:26:02 +03:00
Nikolai Kochetov
fbcf6640c9
Fix style.
2018-12-20 17:54:26 +03:00
Nikolai Kochetov
7b994d983f
Fix Native streams headers.
2018-12-20 17:26:54 +03:00
proller
bd17982224
Fix clang build
2018-12-20 12:54:28 +03:00
Sergey V. Galtsev
a2042d60bf
Resolve conflict with upstream.
2018-12-20 00:16:44 +03:00
proller
6869771ae4
Fix includes
2018-12-19 20:57:51 +03:00
proller
fdd22ad187
Fix includes
2018-12-19 20:56:58 +03:00
Nikolai Kochetov
78321a04a1
Added low_cardinality_allow_in_native_format setting.
2018-12-19 19:47:30 +03:00
Ivan Lezhankin
8c8dc333e5
Fix unavailable shard's host:port for testing.
2018-12-17 21:06:50 +03:00
Ivan Lezhankin
1a539b3a6d
Merge remote-tracking branch 'upstream/master' into issue-3592
2018-12-17 19:30:20 +03:00
Sergey V. Galtsev
f9869b7d7e
Fix default buffer_size for getUserName(). Use real sysconf(_SC_GETPW_R_SIZE_MAX) value.
2018-12-11 02:36:20 +03:00
Sergey V. Galtsev
c9b984285d
Fail on user mismatch under root only. Just warn under non root user.
2018-12-11 02:32:21 +03:00