Vitaly Baranov
5cd7b58499
Fix reusing connection after changing user's default settings via ALTER USER or ALTER SETTINGS PROFILE.
...
This fixes integration test "test_settings_constraints_distributed".
2020-03-31 18:08:01 +03:00
alexey-milovidov
df19d6aac1
Merge pull request #9622 from PerformanceVision/dictionary_status
...
Bring dictionary status on native prometheus exporter
2020-03-24 09:44:01 +03:00
alexey-milovidov
9a2760d914
Merge pull request #9673 from azat/processors-max_distributed_connections
...
Fix max_distributed_connections
2020-03-24 08:32:15 +03:00
alexey-milovidov
c7863e1ac6
Clang Tidy, part 7 ( #9799 )
...
* Attempt to enable identifier naming check
* Attempt to enable identifier naming check, continue
* Progress on identifier names
* Adopt identifier names check
* Fixed error
* Merge with master
* Fixed build
* Fixed build
* Fixed build
* Fixed build
* Fixed build
* Fixed error
* Fixed error
* Fixed error
2020-03-23 05:12:31 +03:00
Vitaly Baranov
4af36ee5a4
Fix updating of the access rights after changing of the readonly
setting. Remove non-const function Context::getSettingsRef().
2020-03-22 11:08:08 +03:00
Alexey Milovidov
a5e3d4efb7
Added most of clang-static-analyzer checks
2020-03-20 21:53:35 +03:00
Azat Khuzhin
b40eac426f
Fix max_distributed_connections w/ Processors
...
With Processors max_distributed_connections does not used anymore, since
it always uses not more then max_threads (see
TCPHandler::processOrdinaryQueryWithProcessors()/
QueryPipeline::execute()/PipelineExecutor::execute())
So just use QueryPipeline::getNumThreads(), that takes
max_distributed_connections into account.
2020-03-20 20:51:37 +03:00
Nikolai Kochetov
5d763dead0
Change the way how rows_before_limit_at_least is calculated for processors pipeline.
2020-03-19 14:45:52 +03:00
Alexey Milovidov
f0dd05a287
Merge branch 'master' into clang-tidy-3
2020-03-19 01:38:34 +03:00
Ivan
38b2dec354
Arcadia ( #9729 )
...
* Move getFQDNOrHostName to base/common/
* Add argsToConfig to ya.make
* Add coverage.cpp to ya.make
Also remove WITH_COVERAGE from config file
2020-03-18 21:54:27 +03:00
Alexey Milovidov
bceb246d8e
Added most of bugprone checks
2020-03-18 19:50:55 +03:00
Guillaume Tassery
b3e37a0890
add example
2020-03-18 04:09:19 +01:00
Alexey Milovidov
1bd7e594b0
clang-tidy, part 2
2020-03-18 03:57:00 +03:00
Guillaume Tassery
751a574274
remove double quoted string
2020-03-17 14:27:05 +01:00
Alexander Kuzmenkov
04bed5f032
Add high-precision timestamp to trace_log
2020-03-17 05:16:04 +03:00
Guillaume Tassery
6c3200c75c
test
2020-03-16 11:32:23 +01:00
Guillaume Tassery
1f92b0a7a3
double quote string
2020-03-16 11:00:51 +01:00
Guillaume Tassery
1493ae2c38
Merge branch 'master' of github.com:ClickHouse/ClickHouse into
2020-03-16 07:53:07 +01:00
Guillaume Tassery
ea535e254d
cosmetic
2020-03-12 13:29:28 +01:00
Alexander Tokmakov
cf28bfe8a7
Merge branch 'master' into split_databases_from_context
2020-03-12 15:09:41 +03:00
Guillaume Tassery
6baf671017
optimization and factoring
2020-03-11 17:20:30 +01:00
Guillaume Tassery
52251dceb5
revert change
2020-03-11 16:34:12 +01:00
Guillaume Tassery
36d4f40d58
add dictionary status on prometheus server
2020-03-11 16:30:02 +01:00
Alexander Tokmakov
8b3a245a1d
improve temporary tables
2020-03-10 22:36:17 +03:00
Alexander Tokmakov
c7468d2502
Merge branch 'master' into split_databases_from_context
2020-03-10 13:15:27 +03:00
Alexey Milovidov
7c188b8479
clang-tidy, part 23
2020-03-09 06:41:03 +03:00
Alexey Milovidov
66582d69a5
clang-tidy, part 22
2020-03-09 06:38:43 +03:00
Alexey Milovidov
b53ec30978
clang-tidy, part 3
2020-03-09 00:29:00 +03:00
Alexey Milovidov
b3a6f6b367
Revert "Simplification"
...
This reverts commit f5518c0c43
.
2020-03-06 21:14:33 +03:00
Alexey Milovidov
f5518c0c43
Simplification
2020-03-06 01:45:59 +03:00
Alexey Milovidov
3b85f2ffef
Do not run session cleaner for client, local
2020-03-05 22:23:39 +03:00
Alexey Milovidov
dd13e0353a
Fixed build
2020-03-05 18:40:59 +03:00
Alexey Milovidov
722a946ce5
Merge branch 'session-cleaner-better-build-time' of github.com:ClickHouse/ClickHouse into session-cleaner-better-build-time
2020-03-05 18:00:40 +03:00
Alexey Milovidov
3aba47aa8b
Merge branch 'master' into session-cleaner-better-build-time
2020-03-05 17:59:49 +03:00
alexey-milovidov
e68d31d605
Merge pull request #8594 from excitoon-favorites/substitutestorageconfiguration
...
Added reloading storage configuration from configuration file
2020-03-05 17:52:47 +03:00
Alexey Milovidov
4e15d74469
Better code around sessions, step 3
2020-03-05 07:10:48 +03:00
Alexey Milovidov
aac2f98870
Better code around sessions, step 2
2020-03-05 06:57:31 +03:00
Alexey Milovidov
ef7fd6c486
Merge branch 'master' into session-cleaner-better-build-time
2020-03-05 05:14:28 +03:00
Alexander Tokmakov
2d5ed7832b
remove tryGetTable
2020-03-04 23:29:52 +03:00
Alexander Tokmakov
67c63a72c7
Merge branch 'master' into split_databases_from_context
2020-03-04 19:24:05 +03:00
Alexander Tokmakov
273333b437
fixes
2020-03-04 19:22:33 +03:00
alexey-milovidov
3ae13f646a
Merge pull request #9495 from azat/progress-on-tcp
...
Fix progress over tcp
2020-03-04 19:19:54 +03:00
Alexey Milovidov
7ca1dff219
Merge branch 'master' of github.com:yandex/ClickHouse
2020-03-04 18:16:48 +03:00
Alexey Milovidov
06c8e04998
Fixed comment #4215
2020-03-04 18:16:32 +03:00
Vladimir Chebotarev
2bd6474379
Adding storage policies and disks while reloading configuration.
2020-03-04 15:10:17 +03:00
Azat Khuzhin
8adcbc7952
Send progress after final update (like logs)
...
Otherwise you will get non completed progress on TCP, HTTP does not
affected.
Final updateProgress called from the executeQueryImpl::finish_callback:
(gdb) bt
0 DB::TCPHandler::updateProgress (this=0x7fffb581e000, value=...) at TCPHandler.cpp:1178
1 0x00007ffff7c62038 in DB::TCPHandler::<lambda(const DB::Progress&)>::operator()(const DB::Progress &) const (...) at TCPHandler.cpp:127
4 0x00007fffe9a86671 in DB::<lambda(DB::IBlockInputStream*, DB::IBlockOutputStream*)>::operator()(DB::IBlockInputStream *, DB::IBlockOutputStream *) (__closure=0x7fffb588f300,
stream_in=0x7fffb5800290, stream_out=0x0) at executeQuery.cpp:450
5 0x00007fffe9a8b948 in std::_Function_handler<void(DB::IBlockInputStream*, DB::IBlockOutputStream*), DB::executeQueryImpl(...)::<lambda(DB::IBlockInputStream*, DB::IBlockOutputStream*)> >::_M_invoke(const std::_Any_data &, DB::IBlockInputStream *&&, DB::IBlockOutputStream *&&) (...) at std_function.h:300
6 0x00007ffff7c7482f in std::function<>::operator()(DB::IBlockInputStream*, DB::IBlockOutputStream*) const (..) at std_function.h:688
7 0x00007ffff7c6f82b in DB::BlockIO::onFinish (this=0x7fffb5820738) at BlockIO.h:43
8 0x00007ffff7c65eb0 in DB::TCPHandler::processOrdinaryQuery (this=0x7fffb581e000) at TCPHandler.cpp:540
9 0x00007ffff7c63a50 in DB::TCPHandler::runImpl (this=0x7fffb581e000) at TCPHandler.cpp:269
10 0x00007ffff7c6a6fd in DB::TCPHandler::run (this=0x7fffb581e000) at TCPHandler.cpp:1226
...
2020-03-04 11:31:47 +03:00
alexey-milovidov
26c74d679f
Merge pull request #9493 from traceon/timezone-http-header
...
Set X-ClickHouse-Timezone HTTP response header to the server's timezone
2020-03-04 04:29:36 +03:00
alexey-milovidov
bcf0f99844
Merge pull request #9483 from ClickHouse/num_threads_for_query_pipeline
...
Better calculation for recommended number of threads to execute pipeline
2020-03-04 04:22:19 +03:00
Alexey Milovidov
a4e7c287b5
Merge branch 'master' into chaos-sanitizer
2020-03-03 23:06:02 +03:00
Denis Glazachev
975107f0ab
Combine executeQuery() callbacks
...
Set X-ClickHouse-Timezone HTTP Response header in the executeQuery() callback
2020-03-03 19:32:41 +04:00