Skip to content

Commit

Permalink
Merge pull request #162 from YenchangChan/main
Browse files Browse the repository at this point in the history
2.2.0 release
  • Loading branch information
YenchangChan authored Nov 1, 2021
2 parents 4e049cb + 9c6719c commit 445fca9
Show file tree
Hide file tree
Showing 69 changed files with 1,296 additions and 897 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,6 @@ exporter
purger
rebalancer
schemer
migrate
pkged.go
resources/eoi_public_key.pub
9 changes: 8 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,11 @@
# v.2.1.3
# v2.2.0
- user config
- prometheus address with each cluster
- support posisitent cluster config to mysql
- interface beauty
- fix schema and replica issue

# v2.1.3
- disabled text_log
- rename `macros.xml` to `host.xml`
- fix check error when upgrade and config
Expand Down
2 changes: 1 addition & 1 deletion controller/clickhouse.go
Original file line number Diff line number Diff line change
Expand Up @@ -578,7 +578,7 @@ func (ck *ClickHouseController) DescTable(c *gin.Context) {
func (ck *ClickHouseController) QueryInfo(c *gin.Context) {
clusterName := c.Param(ClickHouseClusterPath)
query := c.Query("query")
if !strings.Contains(strings.ToLower(query), " limit ") {
if !strings.Contains(strings.ToLower(query), " limit ") && strings.HasPrefix(strings.ToLower(strings.TrimSpace(query)), "select") {
query = fmt.Sprintf("%s LIMIT 10000", strings.TrimRight(query, ";"))
}

Expand Down
1 change: 1 addition & 0 deletions docs/guide/deploy.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
- `node_exporter`(非必需)
- `nacos`(>`1.4`)(非必需)
- `zookeeper`(>`3.6.0`, 推荐 )
- `mysql` (当持久化策略设置为`mysql`时必需)

# 监控配置(可选,不影响ckman核心功能)

Expand Down
Binary file added docs/guide/img/image-20211101094807411.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/guide/img/image-20211101095551270.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/guide/img/image-20211101095655532.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/guide/img/image-20211101095957377.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/guide/img/image-20211101100554946.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/guide/img/image-20211101100759792.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/guide/img/image-20211101101119902.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/guide/img/image-20211101101254302.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/guide/img/image-20211101101329817.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/guide/img/image-20211101101532872.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/guide/img/image-20211101101843962.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/guide/img/image-20211101102020536.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/guide/img/image-20211101102717607.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/guide/img/image-20211101102848390.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/guide/img/image-20211101132253397.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/guide/img/image-20211101132333153.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit 445fca9

Please sign in to comment.