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
Denis Zhuravlev
941887fbfd
removed a sentence about global lock during rename ( #11577 )
...
* Update misc.md
removed a sentence about global lock during rename
* Update misc.md
removed a sentence about global lock during rename
* Update docs/en/sql-reference/statements/misc.md
Co-authored-by: Ivan Blinkov <github@blinkov.ru>
* Update docs/ru/sql-reference/statements/misc.md
Co-authored-by: Ivan Blinkov <github@blinkov.ru>
Co-authored-by: Ivan Blinkov <github@blinkov.ru>
2020-06-10 22:31:51 +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
BayoNet
266fa9d99c
DOCS-627: Fixed language and markup in EN version and translated to RU. ( #11001 )
...
* DOCSUP-1063 (#114 )
* added first draft
* added translation for force_optimize_skip_unused_shards and fixed anchors
* fixes
* fixes
* fixed alter.md
Co-authored-by: Elizaveta Mironyuk <emironyuk@yandex-team.ru>
* CLICKHOUSEDOCS-627: Updated templated.
* Fixed markup.
* CLICKHOUSEDOCS-627: Fixed links.
Co-authored-by: Sergei Shtykov <bayonet@yandex-team.ru>
Co-authored-by: emironyuk <62014692+emironyuk@users.noreply.github.com>
Co-authored-by: Elizaveta Mironyuk <emironyuk@yandex-team.ru>
2020-05-19 09:02:30 +03:00
BayoNet
c701493e30
DOCS-626: EN review, RU translations for RBAC docs ( #10951 )
...
* DOCSUP-1062 (#112 )
* added first draft
* minor fixes
* fixed anchors
* yet another fixes
* and the minorest fixes
* Apply suggestions from doc review
Co-authored-by: BayoNet <da-daos@yandex.ru>
* fixed terminology in ru (access entity, throws exception)
* fixed typo
* fixed typo
Co-authored-by: Elizaveta Mironyuk <emironyuk@yandex-team.ru>
Co-authored-by: BayoNet <da-daos@yandex.ru>
* Fixed link.
* CLICKHOUSEDOCS-626: Fixed links.
Co-authored-by: Sergei Shtykov <bayonet@yandex-team.ru>
Co-authored-by: emironyuk <62014692+emironyuk@users.noreply.github.com>
Co-authored-by: Elizaveta Mironyuk <emironyuk@yandex-team.ru>
2020-05-15 23:30:51 +03:00
Ivan Blinkov
cd14f9ebcb
SQL reference refactoring ( #10857 )
...
* split up select.md
* array-join.md basic refactoring
* distinct.md basic refactoring
* format.md basic refactoring
* from.md basic refactoring
* group-by.md basic refactoring
* having.md basic refactoring
* additional index.md refactoring
* into-outfile.md basic refactoring
* join.md basic refactoring
* limit.md basic refactoring
* limit-by.md basic refactoring
* order-by.md basic refactoring
* prewhere.md basic refactoring
* adjust operators/index.md links
* adjust sample.md links
* adjust more links
* adjust operatots links
* fix some links
* adjust aggregate function article titles
* basic refactor of remaining select clauses
* absolute paths in make_links.sh
* run make_links.sh
* remove old select.md locations
* translate docs/es
* translate docs/fr
* translate docs/fa
* remove old operators.md location
* change operators.md links
* adjust links in docs/es
* adjust links in docs/es
* minor texts adjustments
* wip
* update machine translations to use new links
* fix changelog
* es build fixes
* get rid of some select.md links
* temporary adjust ru links
* temporary adjust more ru links
* improve curly brace handling
* adjust ru as well
* fa build fix
* ru link fixes
* zh link fixes
* temporary disable part of anchor checks
2020-05-15 07:34:54 +03:00
Ivan Blinkov
723bebafb1
CLICKHOUSE-4862: fix link ( #10836 )
2020-05-12 12:32:28 +03:00
BayoNet
dba72d73fe
DOCS-624: Fixing links to nowhere ( #10675 )
...
* enbaskakova-DOCSUP-652 (#101 )
* "docs(orNull&orDefault): Functions 'orNull&orDefault' have been edited"
* "docs(orNull&orDefault): Functions 'orNull&orDefault' have been edited"
* "docs(orNull&orDefault): Functions 'orNull&orDefault' have been edited"
* Update docs/en/sql_reference/aggregate_functions/combinators.md
Co-Authored-By: BayoNet <da-daos@yandex.ru>
* Update docs/en/sql_reference/aggregate_functions/combinators.md
Co-Authored-By: BayoNet <da-daos@yandex.ru>
* Update docs/en/sql_reference/aggregate_functions/combinators.md
Co-Authored-By: BayoNet <da-daos@yandex.ru>
* Update docs/en/sql_reference/aggregate_functions/combinators.md
Co-Authored-By: BayoNet <da-daos@yandex.ru>
* Update docs/en/sql_reference/aggregate_functions/combinators.md
Co-Authored-By: BayoNet <da-daos@yandex.ru>
* "docs(orNull&orDefault): Functions 'orNull&orDefault' have been edited"
* "docs(orNull&orDefault): Functions 'orNull&orDefault' have been edited"
* "docs(orNull&orDefault): Functions 'orNull&orDefault' have been edited"
Co-authored-by: elenbaskakova <elenbaskakova@yandex-team.ru>
Co-authored-by: BayoNet <da-daos@yandex.ru>
* Revert "enbaskakova-DOCSUP-652 (#101 )" (#107 )
This reverts commit 639fee7610
.
* CLICKHOUSEDOCS-624: Fixed links. Was 60, became 13.
* CLICKHOUSEDOCS-624: Finished fix links in Enlish version.
* CLICKHOUSEDOCS-624: Fixed RU links
Co-authored-by: elenaspb2019 <47083263+elenaspb2019@users.noreply.github.com>
Co-authored-by: elenbaskakova <elenbaskakova@yandex-team.ru>
Co-authored-by: Sergei Shtykov <bayonet@yandex-team.ru>
2020-05-06 09:13:29 +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