alexey-milovidov
a4cc526133
Merge pull request #9065 from ClickHouse/split_databases_from_context
...
Split databases from Context
2020-03-15 03:42:57 +03:00
Alexander Tokmakov
2208ff67e2
fix build
2020-03-13 13:30:55 +03:00
Alexey Milovidov
e301e4fd51
Fixes after merge #9617
2020-03-12 17:36:54 +03:00
hao.he
5d14c50798
use dynamic_cast check distribued
2020-03-12 17:00:09 +08:00
hao.he
b3447aaa58
Fix distributed ddl alter
2020-03-12 14:43:01 +08:00
Alexander Tokmakov
67c63a72c7
Merge branch 'master' into split_databases_from_context
2020-03-04 19:24:05 +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
Alexander Tokmakov
a4d12b31a1
Merge branch 'master' into split_databases_from_context
2020-03-02 17:57:54 +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
e6718e199e
less Context::getTable() usages
2020-02-17 22:28:25 +03:00
Vitaly Baranov
10c912dab2
Rewrite the User class to be controlled by AccessControlManager.
2020-01-31 20:27:32 +03:00
Vitaly Baranov
2aa58193c8
Check access rights via new interface.
2020-01-31 20:27:28 +03:00
Alexander Tokmakov
9389c83d4d
Merge branch 'master' into table_name_in_istorage
2020-01-13 14:41:42 +03:00
Pradeep Chhetri
4941fdfe4b
Fix some spelling mistakes
2020-01-11 17:51:33 +08:00
Alexander Tokmakov
a1ff29b7e6
fix empty table name
2020-01-09 19:01:44 +03:00
Alexey Milovidov
eb04f0ea84
Removed trash from DDLWorker
2019-12-27 22:30:13 +03:00
Alexander Tokmakov
d1568c1614
fix rename distributed
2019-12-19 22:51:12 +03:00
kreuzerkrieg
112fc71276
adding -Wshadow for GCC
2019-08-09 23:58:16 +03:00
alexey-milovidov
e4ad0da6e3
Merge pull request #4247 from laplab/query-poor-mans-profiler
...
Poor man's profiler on query level [Work in progress]
2019-07-23 03:02:58 +03:00
Nikita Lapkov
9d540abc84
refactor
2019-07-10 20:47:39 +00:00
Alexey Milovidov
4752dae9bb
Allowed unresolvable addresses in cluster configuration #5714
2019-07-08 04:43:41 +03:00
Nikita Lapkov
0f579860f7
Merge remote-tracking branch 'upstream/master' into query-poor-mans-profiler
2019-07-04 22:13:51 +00:00
alesapin
b7f173ad2c
Execute some distributed DDL queries on leader
2019-06-26 17:52:20 +03:00
Nikita Lapkov
7cff36fbfc
Merge remote-tracking branch 'upstream/master' into query-poor-mans-profiler
2019-06-26 11:46:04 +00:00
sundy-li
eac978f1e0
make isSupportedAlterType better
2019-06-14 11:06:08 +08:00
sundy-li
d23e505414
remove line
2019-06-12 18:56:01 +08:00
sundy-li
38d4d2937e
Support more AlterType in distribute DDL
2019-06-12 18:50:50 +08:00
Azat Khuzhin
eb5f46fb07
Skip ZNONODE during DDL query processing
...
Right now if another node removes the znode in task_queue, the one that
did not process it, but already get list of children, will terminated
the DDLWorker thread, and this is very unconvinient because you do not
have any sane way to know is DDLWorker still running or not (except for
timed out DDL queries or via debugger), and the clickhouse-server it
self do not fail either.
Fixes : #5064
2019-05-30 20:25:29 +03:00
Nikita Lapkov
1dd87261ae
move SleepFor* to libcommon
2019-05-19 09:14:23 +00:00
Nikita Lapkov
483f68b728
refactor. introduce SleepFor* functions
2019-05-19 00:25:45 +00:00
alesapin
f47e3292e1
Do not send queries to leader replica received from DDLWorker
2019-04-12 14:06:05 +03:00
Ivan Lezhankin
4c1a0ca255
Merge remote-tracking branch 'upstream/master' into iast-as
2019-03-12 15:51:18 +03:00
proller
8227f5fe63
Arcadia fix
2019-03-12 15:06:17 +03:00
Ivan Lezhankin
d1ead22073
Rename As<…> → as<…>
2019-03-11 16:22:51 +03:00
Ivan Lezhankin
a7e838e328
Replace all other casts to method IAST::As<Derived>
...
Also remove some redundant methods like IsIdentifier() et. al.
2019-03-11 15:49:39 +03:00
liangqian
6757b112d1
change Sream into Stream
2019-02-28 15:27:30 +08:00
Alexey Zatelepin
50dbfc8d50
clean distributed DDL queue in a separate thread [#CLICKHOUSE-3977]
2019-02-25 15:42:23 +03:00
Alexey Zatelepin
46520e2887
protect zk variable with a mutex [#CLICKHOUSE-3977]
2019-02-22 22:41:33 +03: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
Mihail Fandyushin
7b51139a80
fixed review notes; remove nullptr
2019-02-02 17:35:35 +03:00
Mihail Fandyushin
7294b8adf2
Added Query-Id to http response header
2019-02-02 15:24:26 +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
c70e8cc5f0
Miscellaneous #3726
2019-01-21 22:45:26 +03:00
Alexey Milovidov
f6b9b06307
Attempt to implemnt global thread pool #4018
2019-01-14 22:22:09 +03:00
Alexey Zatelepin
37065b6b8f
prevent race condition when locking a distributed ALTER task for execution [#CLICKHOUSE-4221]
2018-12-21 20:28:21 +03:00
Alexey Zatelepin
b7afe46dfd
remove ALTER MODIFY PRIMARY KEY command [#CLICKHOUSE-4214]
2018-12-20 21:57:20 +03:00
Alexey Milovidov
7d6fffff48
More style checks [#CLICKHOUSE-3]
2018-11-24 04:48:06 +03:00