Alexander Tokmakov
15256d86e5
better replica recovery and queue cleanup
2021-02-10 23:30:40 +03:00
Alexander Tokmakov
78c1d69b8c
better code
2021-02-08 22:36:17 +03:00
Alexander Tokmakov
91d0924665
write dictionaries metadata to zk
2021-02-08 12:46:30 +03:00
Alexander Tokmakov
18f6b5bbad
add timeouts
2021-02-04 22:41:44 +03:00
Alexander Tokmakov
6456ccf0da
better test
2021-02-02 22:39:04 +03:00
Alexander Tokmakov
0073c87d5d
fix
2021-02-02 13:32:42 +03:00
Alexander Tokmakov
9da445e740
execute initial query in the same thread
2021-02-01 22:29:47 +03:00
Alexander Tokmakov
7f97a11c84
Merge branch 'master' into database_replicated
2021-01-18 17:09:39 +03:00
Amos Bird
2a28c127eb
Better code for real
2020-12-18 14:13:59 +08:00
Mikhail Filimonov
27ff3a5214
Rework using a separate flag file instead of renames
2020-12-15 15:46:13 +01:00
Mikhail Filimonov
3f5e5eb15a
Handle not implemented cases properly
2020-12-14 15:31:05 +01:00
Mikhail Filimonov
f6097cf818
Adding DETACH TABLE PERMANENTLY
2020-12-14 15:28:59 +01:00
Alexander Tokmakov
dce0bf8efc
Merge branch 'master' into allow_atomic_database_inside_materialize_mysql
2020-11-24 15:28:31 +03:00
Alexander Tokmakov
0731bfb7be
Merge branch 'master' into database_replicated
2020-11-12 21:04:18 +03:00
Alexander Tokmakov
2a6c0b9180
try reuse DDLWorker in DatabaseReplicated
2020-11-12 20:35:29 +03:00
Amos Bird
134786afd5
Disable ATTACH/DETACH TABLE <DICTIONARY>
2020-11-11 23:04:49 +08:00
Alexander Tokmakov
cbcdee0cf9
split DDLWorker.cpp
2020-11-03 16:47:26 +03:00
tavplubix
2a66c17472
Update InterpreterDropQuery.cpp
2020-10-29 16:37:59 +03:00
Alexander Tokmakov
dba8c85ae4
do not wait while holding lock
2020-10-27 22:56:54 +03:00
Alexander Tokmakov
636da1318b
Merge branch 'master' into database_replicated
2020-10-26 15:00:43 +03:00
tavplubix
790950ea56
Merge pull request #15934 from ClickHouse/ddl_queries_fixes
...
Fixes for DDL queries
2020-10-23 23:52:13 +03:00
tavplubix
84b453f4be
Update InterpreterDropQuery.cpp
2020-10-23 17:19:02 +03:00
Alexander Tokmakov
337fe7b81f
add comment
2020-10-23 15:53:58 +03:00
Alexander Tokmakov
478eb0b8a5
fix
2020-10-22 23:32:47 +03:00
Alexander Tokmakov
72dbb43235
Merge branch 'master' into fork-valbaturin-replication-db-engine
2020-10-20 19:14:54 +03:00
Azat Khuzhin
6200783629
database_atomic_wait_for_drop_and_detach_synchronously/NO DELAY/SYNC for DROP DATABASE
2020-10-19 00:21:39 +03:00
Alexander Tokmakov
8a64b65e51
fix
2020-10-13 20:45:59 +03:00
Alexander Tokmakov
cb8d132cca
fix deadlock with DDLGuard
2020-10-13 18:00:36 +03:00
Alexander Tokmakov
b3fc6d9b33
fix IF [NOT] EXISTS failure
2020-10-13 16:31:02 +03:00
Alexander Tokmakov
32776da69a
Merge branch 'master' into allow_atomic_database_inside_materialize_mysql
2020-10-02 20:09:37 +03:00
Alexander Tokmakov
e156e6115e
add setting
2020-09-30 01:30:34 +03:00
Alexander Tokmakov
5d19ed04f6
allow synchronous drop/detach table for Atomic
2020-09-29 16:47:08 +03:00
Alexander Tokmakov
18e48838bb
fix build
2020-09-15 17:22:20 +03:00
Alexander Tokmakov
a812f7eb75
allow using Atomic database inside MaterializeMySQL
2020-09-14 22:25:02 +03:00
Alexander Tokmakov
e686616756
add exclusive DDLGuard for database
2020-08-18 18:15:27 +03:00
Val
e591fe5014
database replicated feedback mechanism prototype
2020-07-04 19:32:23 +03:00
Val
8273248c4e
add log_name_to_exec to dbreplicated
2020-06-28 18:43:30 +03:00
Val
f57fd52e3b
fix recursive propose for drop database db replicated query
2020-06-27 17:02:06 +03:00
Val
f928c897cf
change replication algorithm, remove zk lock
...
In this version of the databaseReplicated sequential persistent zk nodes
are used to order DDL queries. Db replicated ddl queries are executed
in the backgrould pool no matter whether it's proposed by the same
replica or not.
2020-06-27 17:02:03 +03:00
Val
31910e9bf1
Use ClientInf::QueryKind to distinguish replicated db log queries
2020-06-27 17:01:18 +03:00
Val
cbcd1bea0e
provide better comments and information
2020-06-27 17:00:44 +03:00
Val
f103e24a09
make db replicated inherited from atomic
2020-06-27 16:52:35 +03:00
Val
0a860c0c2b
log based replicated
2020-06-27 16:51:36 +03:00
alesapin
d79982f497
Better locks in Storages
2020-06-18 19:10:47 +03:00
alesapin
aab4ce6394
Truncate with metadata
2020-06-18 13:29:13 +03:00
Alexander Tokmakov
c071e0a473
add context to DatabaseCatalog methods
2020-05-29 02:01:18 +03:00
Alexander Tokmakov
3cff070f89
add context to IDatabase methods
2020-05-28 23:10:45 +03:00
Alexander Tokmakov
8be4d51111
fix build
2020-04-23 22:50:05 +03:00
Alexander Tokmakov
f413061e0d
remove Context from some IDatabase methods
2020-04-23 19:51:48 +03:00
Alexander Tokmakov
b29bddac12
Merge branch 'master' into database_atomic
2020-04-20 14:09:09 +03:00