Skip to content

Commit

Permalink
Merge remote-tracking branch 'upstream/master'
Browse files Browse the repository at this point in the history
  • Loading branch information
hfxsd committed Sep 9, 2024
2 parents 9f7a1ed + def910d commit 2b3afc5
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
2 changes: 0 additions & 2 deletions pd-control.md
Original file line number Diff line number Diff line change
Expand Up @@ -1149,8 +1149,6 @@ pd-ctl resource-manager config controller set ltb-max-wait-duration 30m
>> scheduler config evict-leader-scheduler // v4.0.0 起,展示该调度器具体在哪些 store 上
>> scheduler config evict-leader-scheduler add-store 2 // 为 store 2 添加 leader 驱逐调度
>> scheduler config evict-leader-scheduler delete-store 2 // 为 store 2 移除 leader 驱逐调度
>> scheduler add shuffle-leader-scheduler // 随机交换不同 store 上的 leader
>> scheduler add shuffle-region-scheduler // 随机调度不同 store 上的 Region
>> scheduler add evict-slow-store-scheduler // 当有且仅有一个 slow store 时将该 store 上的所有 Region 的 leader 驱逐出去
>> scheduler remove grant-leader-scheduler-1 // 把对应的调度器删掉,`-1` 对应 store ID
>> scheduler pause balance-region-scheduler 10 // 暂停运行 balance-region 调度器 10 秒
Expand Down
4 changes: 2 additions & 2 deletions ticdc/ticdc-sink-to-kafka.md
Original file line number Diff line number Diff line change
Expand Up @@ -225,10 +225,10 @@ dispatchers = [

Topic 分发器用 topic = "xxx" 来指定,并使用 topic 表达式来实现灵活的 topic 分发策略。topic 的总数建议小于 1000。

Topic 表达式的基本规则为 `[prefix][{schema}][middle][{table}][suffix]`,详细解释如下:
Topic 表达式的基本规则为 `[prefix]{schema}[middle][{table}][suffix]`,详细解释如下:

- `prefix`:可选项,代表 Topic Name 的前缀。
- `{schema}`可选项,用于匹配库名。
- `{schema}`必选项,用于匹配库名。从 v7.1.4 开始,该参数为可选项
- `middle`:可选项,代表库表名之间的分隔符。
- `{table}`:可选项,用于匹配表名。
- `suffix`:可选项,代表 Topic Name 的后缀。
Expand Down
4 changes: 4 additions & 0 deletions tidb-configuration-file.md
Original file line number Diff line number Diff line change
Expand Up @@ -538,6 +538,10 @@ TiDB 配置文件比命令行参数支持更多的选项。你可以在 [config/
+ 默认值:true
+ 默认可以执行在做 join 时两边表没有任何条件(where 字段)的语句;如果设置为 false,则有这样的 join 语句出现时,server 会拒绝执行

> **注意:**
>
> 在创建集群时,不要将 `cross-join` 设置为 false,否则会导致集群启动失败。
### `stats-lease`

+ TiDB 重载统计信息,更新表行数,检查是否需要自动 analyze,利用 feedback 更新统计信息以及加载列的统计信息的时间间隔。
Expand Down

0 comments on commit 2b3afc5

Please sign in to comment.