Nikolai Kochetov
72fe21c5ae
Better calculation for recommended number of threads to execute query pipeline.
2020-03-03 13:28:37 +03:00
Alexander Tokmakov
70dc82f9aa
add StorageID to ASTInsertQuery
2020-03-02 23:23:58 +03:00
Alexey Milovidov
0ecf3b2c7b
Reordered config.xml
2020-03-02 18:29:52 +03:00
Alexander Tokmakov
a4d12b31a1
Merge branch 'master' into split_databases_from_context
2020-03-02 17:57:54 +03:00
Ilya Yatsishin
c02ca3fbba
Merge pull request #9453 from ClickHouse/better-exception-message-length-required
...
Better exception message when length is required in HTTP
2020-03-02 11:44:19 +03:00
Alexey Milovidov
9bffd88b92
Using ThreadFuzzer
2020-03-02 00:58:50 +03:00
Vitaly Baranov
fc0376a170
Shard now clamps the settings got from the initiator to the shard's constaints instead of throwing an exception.
2020-03-01 02:18:49 +03:00
Alexey Milovidov
9c206fca39
Better exception message when length is required in HTTP
2020-02-29 21:27:34 +03:00
Vitaly Baranov
91523752ce
Use server config to set path to persistent storage for access entities.
2020-02-28 16:34:19 +03:00
Alexey Milovidov
766ae8261a
Added some missing ErrorCodes
2020-02-25 21:02:41 +03:00
Alexey Milovidov
3602126a1e
Remove unused ErrorCodes
2020-02-25 17:35:37 +03:00
Alexander Tokmakov
8548089e00
Merge branch 'master' into split_databases_from_context
2020-02-25 15:47:19 +03:00
Alexander Tokmakov
852043c8d9
better configs
2020-02-22 17:26:39 +03:00
tavplubix
8358c952c3
Merge pull request #9302 from ClickHouse/fix_tests_with_secure_sockets
...
Try fix tests with secure sockets
2020-02-22 13:32:12 +03:00
Alexander Tokmakov
21e0eb5f11
try fix tests with secure sockets
2020-02-22 04:37:03 +03:00
Vitaly Baranov
c1e870d493
Merge pull request #9182 from vitlibar/RBAC-5.2
...
RBAC-5.2
2020-02-22 03:55:17 +03:00
Alexander Tokmakov
d5e79153c2
Merge branch 'master' into split_databases_from_context
2020-02-21 18:09:02 +03:00
Vitaly Baranov
4f85c148b5
Move event handling away from Context.
2020-02-21 03:27:23 +03:00
Vitaly Baranov
5849dd2236
Slightly better solution for checking row policy for distributed tables,
...
now it checks both current user's and initial user's filters.
2020-02-21 00:57:42 +03:00
Alexey Milovidov
5894a750d5
Merge branch 'master' into session-cleaner-better-build-time
2020-02-20 21:43:40 +03:00
Alexey Milovidov
a739e42740
Better build time
2020-02-19 21:41:22 +03:00
Alexey Milovidov
add281dfe3
Enable metric_log by default
2020-02-19 16:39:20 +03:00
alexey-milovidov
9037a5d29a
Suggestion from Azat
2020-02-19 11:27:57 +03:00
Alexander Tokmakov
d710bd1812
better get... methods
2020-02-17 16:52:59 +03:00
Alexander Tokmakov
964b775c80
Merge branch 'master' into split_databases_from_context
2020-02-17 13:04:36 +03:00
Alexey Milovidov
3772ffdc9d
Describe reasons when query profiler cannot work
2020-02-16 09:51:52 +03:00
Alexey Milovidov
63b7d6e5ac
Describe reasons when query profiler cannot work
2020-02-16 09:49:24 +03:00
alexey-milovidov
e9af153819
Merge pull request #9126 from Melancholic/change_http_status
...
Fixed #5104 . Return 503 status in /replicas_status if not ok
2020-02-15 02:59:18 +03:00
nagorny
15d3176d40
Ticket #5104 . Return 503 status from /replicas_status if not ok
2020-02-14 17:20:27 +03:00
Alexander Tokmakov
c479bbe9f9
make Context::getLock() private
2020-02-14 00:00:03 +03:00
Alexander Tokmakov
1d6afe9f39
Merge branch 'master' into split_databases_from_context
2020-02-12 21:18:32 +03:00
Alexander Tokmakov
b6039f8c50
remove tryGetExternalTable
2020-02-12 21:14:12 +03:00
Anatoly Pugachev
138d3800cf
Update config.xml
...
correct HTTP 404 link
2020-02-11 13:33:38 +03:00
Alexander Tokmakov
869e20d207
move databases from Context to DatabaseCatalog
2020-02-10 17:49:44 +03:00
Alexander Tokmakov
4ff7bf78ab
add DatabaseCatalog
2020-02-10 17:32:59 +03:00
Alexander Kuzmenkov
dae3811e25
Merge pull request #9015 from Slach/master
...
Track the number of MySQL connections
2020-02-09 17:01:01 +03:00
Ivan
1b55150701
Add row-level filter support to Distributed engine ( #8926 )
...
* Add tests
* Implement support for initial user on remote side.
2020-02-07 22:31:09 +03:00
Alexander Tokmakov
16a3bed290
Merge branch 'master' into fix_poco_ssl_timeouts
2020-02-07 16:36:45 +03:00
Slach
1bff5578b6
Merge branch 'master' of github.com:ClickHouse/ClickHouse
2020-02-07 08:03:45 +05:00
Alexander Tokmakov
acef7fc5bd
add test
2020-02-06 20:23:05 +03:00
Vitaly Baranov
c9f2713cc4
Remove getting user by name from Context.
2020-02-06 18:12:53 +03:00
Slach
23b787c0d6
actualize description of system.metrics.TCPConnection
...
add system.metrics.MySQLConnection
Signed-off-by: Slach <bloodjazman@gmail.com>
2020-02-05 19:06:46 +05:00
alexey-milovidov
97a75dd8c9
Merge pull request #8786 from millb/X-ClickHouse-Exception-Code
...
X-ClickHouse-Exception-Code in HTTP Header
2020-01-26 03:43:38 +03:00
Alexey Milovidov
667e9ed6d4
Added example to config.xml and fixed formatting after previous committers #8794
2020-01-25 21:47:02 +03:00
Azat Khuzhin
6a73cf2381
Add text_log.level to limit entries that goes to system.text_log table
...
v2: use INT_MAX as default (since 0 is none)
2020-01-25 14:04:49 +03:00
Azat Khuzhin
c0ba5ed06b
Update link to the poco logging levels
2020-01-24 21:13:28 +03:00
Nikolai Kochetov
b55ae23bb9
Merge pull request #8797 from ClickHouse/fix-null-format-for-processors-2
...
Skip blocks for Null format with processors.
2020-01-24 10:34:13 +03:00
alexey-milovidov
528d231a6b
Merge pull request #8750 from azat/temporary_data_configuration
...
Multiple paths (disks/volumes) for storing temporary data support
2020-01-24 06:21:52 +03:00
alexey-milovidov
c698132cca
Merge pull request #8769 from traceon/format-name-http-header
...
Set X-ClickHouse-Format HTTP response header to the format name
2020-01-23 22:23:26 +03:00
Azat Khuzhin
88bfb788a9
Add ability to use multiple disks/volumes for temporary data
...
This patch adds <tmp_policy> config directive, that will define the
policy to use for storing temporary files, if it is not set (default)
the <tmp_path> will be used.
Also tmp_policy has some limitations:
- move_factor is ignored
- keep_free_space_bytes is ignored
- max_data_part_size_bytes is ignored
- must have exactly one volume
2020-01-23 20:31:01 +03:00
Mikhail Korotov
c05652067e
Update HTTPHandler.cpp
2020-01-23 16:40:16 +03:00
Nikolai Kochetov
f431b10e38
Update TCPHandler.
2020-01-23 13:04:18 +03:00
Denis Glazachev
b6fe187e59
Fix test/check failures
2020-01-22 22:52:04 +05:30
millb
7c6312fcb2
first attempt
2020-01-22 19:32:18 +03:00
Denis Glazachev
d414131c3c
Update callback type and name
2020-01-22 05:03:57 +05:30
Yuriy
f916e7d079
enabled MySQL wire protocol by default on port 9004
2020-01-22 01:38:20 +03:00
alexey-milovidov
2d599cb1cb
Update HTTPHandler.cpp
2020-01-21 23:28:35 +03:00
alexey-milovidov
5e7f80c664
Merge pull request #8760 from kreuzerkrieg/GCCSuggestOverride
...
Add GCC warning to suggest virtual function override
2020-01-21 22:12:26 +03:00
Denis Glazachev
79085bf629
Set X-ClickHouse-Format
HTTP response header to the format name
2020-01-22 00:33:33 +05:30
kreuzerkrieg
a256741cf9
Add GCC warning to suggest virtual function override
2020-01-21 13:10:32 +02:00
Nikolai Kochetov
c28e224e24
Merge pull request #8735 from ClickHouse/processors-5.12
...
Processors 5.12
2020-01-21 11:51:07 +03:00
alexey-milovidov
c2e95c008e
Merge pull request #8724 from yurriy/less-mysql-logging
...
Proper logging levels in MySQL compatibility server
2020-01-19 16:19:30 +03:00
Yuriy
6f4431b79f
proper logging levels
2020-01-19 01:19:06 +00:00
alexey-milovidov
52e8252653
Merge pull request #8650 from ClickHouse/remove_istorage_weak_ptr
...
Get rid of StorageWeakPtr
2020-01-18 20:28:53 +03:00
Alexander Kuzmenkov
8de0f4fc34
Avoid stale log files.
...
When the logging configuration changes, the logging-related data
structures on the server are not properly updated. This leads to a bug
where logs are written to old files, and it is impossible to fix without
restarting the server. The log file grows indefinitely and eventually
makes the server run out of disk space (see #8696 ). To avoid
catastrophic consequences, require that the server is restarted to apply
logging configuration changes, until the proper fix is developed.
2020-01-17 22:27:41 +03:00
Nikolai Kochetov
7803e518c6
Remove query pipeline later.
2020-01-16 19:20:22 +03:00
Alexander Tokmakov
ff1b7e1386
get rid of StorageWeakPtr
2020-01-14 19:54:25 +03:00
Alexander Tokmakov
9389c83d4d
Merge branch 'master' into table_name_in_istorage
2020-01-13 14:41:42 +03:00
alexey-milovidov
303b146a93
Merge branch 'master' into vfs_log
2020-01-12 20:16:30 +03:00
Pradeep Chhetri
4941fdfe4b
Fix some spelling mistakes
2020-01-11 17:51:33 +08:00
Alexander Burmak
26511b7978
Added DiskMemory and tests
2020-01-11 00:43:42 +03:00
Ivan
dec5a50033
Add new config syntax for table filters ( #8381 )
2020-01-10 19:53:47 +03:00
Alexey Milovidov
c4304b51af
Added part_log to example config for developers
2020-01-10 14:36:59 +03:00
Alexander Tokmakov
9b75ee2378
Merge branch 'master' into table_name_in_istorage
2020-01-09 17:33:58 +03:00
Nikolai Kochetov
874d01e8b7
Merge pull request #8423 from ClickHouse/processors-5.7
...
Processors 5.7
2020-01-09 11:53:22 +03:00
Alexey Milovidov
dd3e0a7abd
Fixed incorrect method of parsing "brotli" from Accept-Encoding in HTTP
2020-01-05 04:54:58 +03:00
Alexey Milovidov
df80ca892f
Prefer brotli over other compression methods in HTTP
2020-01-05 04:51:59 +03:00
Alexey Milovidov
5c8c990787
Fixed error
2020-01-05 01:59:08 +03:00
Alexey Milovidov
e7241c1dbe
Removed bad code around general compression methods
2020-01-04 10:42:52 +03:00
Alexey Milovidov
0f4a58ecaa
Removed bad code around general compression methods
2020-01-04 10:31:00 +03:00
Nikolai Kochetov
833499cfb6
Merged with master.
2020-01-03 15:34:17 +03:00
Alexey Milovidov
67afaa9d93
Stack trace for every exception (experimental)
2020-01-02 09:56:53 +03:00
Nikolai Kochetov
65a00150b2
Update num threads in processors.
2020-01-01 13:42:46 +03:00
Vitaly Baranov
037eb85972
Automatic removing of config repositories to simplify the code.
2019-12-31 06:30:27 +07:00
Alexander Tokmakov
a2a155dcbd
Merge branch 'master' into table_name_in_istorage
2019-12-27 15:47:29 +03:00
Vitaly Baranov
b75771be61
Merge pull request #7808 from vitlibar/RBAC-3
...
RBAC-3
2019-12-27 09:44:24 +07:00
Alexander Tokmakov
2e5d61cd81
better constructors of storages
2019-12-26 20:04:08 +03:00
alexey-milovidov
f70632b95b
Merge pull request #8413 from achulkov2/shutted-down-storages-fix
...
Fix incorrect past tense in log
2019-12-26 17:38:59 +03:00
achulkov2
f691143593
Fix incorrect past tense in log
2019-12-26 17:09:36 +03:00
Alexander Kuzmenkov
e3cb9043ab
log_to_console.xml should log to console.
...
Confusingly, it doesn't specify 'logger.console' now.
2019-12-25 14:01:58 +03:00
alesapin
4555d1398c
Merge pull request #8267 from ClickHouse/fix_coverage_one_more_time
...
More strict coverage flush.
2019-12-23 11:43:49 +03:00
VDimir
5a84f4782f
Set prometheus default port to 9363
2019-12-21 17:56:24 +00:00
VDimir
0e9daded94
Repcale dots in prometheus metric names with underscores
2019-12-21 17:47:44 +00:00
Alexey Milovidov
41ed1ed471
Added quoting of db and table names where appropriate
2019-12-20 19:53:37 +03:00
Vitaly Baranov
754fb40cc4
Transform stateless test for row policy into an integration test
...
with improvements.
2019-12-19 13:37:02 +03:00
alesapin
a175ea5b73
Add coverage file flush for clickhouse-server when std::atexit is not called. Also slightly improved logging in stateless tests with coverage.
2019-12-18 13:43:40 +03:00
alexey-milovidov
a7384b4d07
Merge branch 'master' into MoreGCCWarnings
2019-12-18 02:01:39 +03:00
kreuzerkrieg
9612bb0e79
More GCC warnings
2019-12-16 23:19:50 +02:00
alesapin
a2180b0bb3
Merge branch 'master' into restrictions_for_external_dictionaries_from_ddl
2019-12-16 23:07:16 +03:00
Alexey Milovidov
4cf540b621
Applied a patch from Nicolae Vartolomei
2019-12-16 22:03:03 +03:00