Alexander Tokmakov
7b5de16da9
minor improvements
2020-06-23 22:15:01 +03:00
amudong
7723dc4935
add drop relica database and the whole replica
...
fix removeReplicaByZKPath
fix bug: add zkpath empty judge
fix: rewrite code
delete useless code.
fix:ast fromat
fix bug
add test_drop_replica
add drop_replica doc
add drop databse checkAccess
refactor dropReplica
update tests
add static method StorageReplicatedMergeTree::dropReplicaByZkPath
update doc and delete useless code
fix conflict
fix doc
fix doc
fix StorageReplicatedMergeTree::dropReplica
fix bug
delete useless code
2020-06-23 12:12:30 +08:00
amudong
2e6a3eff8e
fix: can not drop local table and replace ALTER with SYSTEM
...
fix test_drop_replica
fix drop replica '/path/to/zk/' ending in '/' and update doc
2020-06-23 12:12:30 +08:00
Ivan Blinkov
7170f3c534
[docs] split aggregate function and system table references ( #11742 )
...
* prefer relative links from root
* wip
* split aggregate function reference
* split system tables
2020-06-18 11:24:31 +03:00
Azat Khuzhin
103eb17107
Force table creation on SYSTEM FLUSH LOGS (v2)
...
After this patch SYSTEM FLUSH LOGS will force system.*_log table
creatoins (only for enabled tables of course).
This will avoid such hacks like:
set log_queries=1;
select 1;
system flush logs;
This is the second version of the patch, since first has a deadlock [1]
(reported by @alesapin). This version does not use separate lock and do
not issue CREATE TABLE from the query execution thread, instead it
activate flushing thread to do so, hence this should be the same as if
the table will be created during flush.
[1]: https://gist.github.com/alesapin/d915d1deaa27d49aa31223daded02be2
Fixes : #11563
Cc: @alesapin
Cc: @nikitamikhaylov
2020-06-11 23:12:23 +03:00
Eugene Klimov
dfa60e01a0
add SYSTEM STOP/START FETCHES and SYNC REPLICA description ( #11444 )
...
* add SYSTEM STOP/START FETCHES and SYNC REPLICA description
Signed-off-by: Slach <bloodjazman@gmail.com>
* fix russian verion
Signed-off-by: Slach <bloodjazman@gmail.com>
* fix typo
Signed-off-by: Slach <bloodjazman@gmail.com>
* add START/STOP REPLICATED SENDS description
Signed-off-by: Slach <bloodjazman@gmail.com>
* Update docs/en/sql-reference/statements/system.md
Co-authored-by: Ivan Blinkov <github@blinkov.ru>
* sync russian and english version
Signed-off-by: Slach <bloodjazman@gmail.com>
* add SYSTEM START/STOP REPLICATION QUEUES
Signed-off-by: Slach <bloodjazman@gmail.com>
* add SYSTEM RESTART REPLICA
Signed-off-by: Slach <bloodjazman@gmail.com>
* add all missed SYSTEM statement descriptions
Signed-off-by: Slach <bloodjazman@gmail.com>
* fix missed link
Signed-off-by: Slach <bloodjazman@gmail.com>
Co-authored-by: Ivan Blinkov <github@blinkov.ru>
2020-06-08 18:23:13 +03:00
Ivan Blinkov
d91c97d15d
[docs] replace underscores with hyphens ( #10606 )
...
* Replace underscores with hyphens
* remove temporary code
* fix style check
* fix collapse
2020-04-30 21:19:18 +03:00