Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update some GitHub links for tidb repo reorganization (#15221) #15254

Merged
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion deploy-monitoring-services.md
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@ url = https://grafana.net

2. 在侧边栏菜单中,依次点击 **Dashboards** > **Import** 打开 **Import Dashboard** 窗口。

3. 点击 **Upload .json File** 上传对应的 JSON 文件(从 [pingcap/tidb](https://github.com/pingcap/tidb/tree/master/metrics/grafana)、[tikv/tikv](https://github.com/tikv/tikv/tree/master/metrics/grafana) 和 [tikv/pd](https://github.com/tikv/pd/tree/master/metrics/grafana) 下载 TiDB Grafana 配置文件)。
3. 点击 **Upload .json File** 上传对应的 JSON 文件(从 [pingcap/tidb](https://github.com/pingcap/tidb/tree/master/pkg/metrics/grafana)、[tikv/tikv](https://github.com/tikv/tikv/tree/master/metrics/grafana) 和 [tikv/pd](https://github.com/tikv/pd/tree/master/metrics/grafana) 下载 TiDB Grafana 配置文件)。
Oreoxmt marked this conversation as resolved.
Show resolved Hide resolved

> **注意:**
>
Expand Down
2 changes: 1 addition & 1 deletion develop/dev-guide-proxysql-integration.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ summary: 介绍 TiDB 与 ProxySQL 集成的方法。

```shell
git clone [email protected]:pingcap/tidb.git
cd tidb/tidb-server
cd tidb/cmd/tidb-server
Oreoxmt marked this conversation as resolved.
Show resolved Hide resolved
go build
```

Expand Down
2 changes: 1 addition & 1 deletion functions-and-operators/precision-math.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ DECIMAL 列不存储前导的字符 `+` 或字符 `-` 或数字 `0`。如果将

DECIMAL 列不允许插入大于列定义的隐含范围的值。例如:DECIMAL(3, 0) 列范围为`-999` 到 `999`。DECIMAL(M, D) 列小数点左边部分最多支持 M-D 位数字。

有关 DECIMAL 值的内部格式完整说明,请参阅 TiDB 源码文件 [types/mydecimal.go](https://github.com/pingcap/tidb/blob/master/types/mydecimal.go)。
有关 DECIMAL 值的内部格式完整说明,请参阅 TiDB 源码文件 [`types/mydecimal.go`](https://github.com/pingcap/tidb/blob/master/pkg/types/mydecimal.go)。
Oreoxmt marked this conversation as resolved.
Show resolved Hide resolved

## 表达式计算

Expand Down
4 changes: 2 additions & 2 deletions maintain-tidb-using-tiup.md
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ tiup cluster display ${cluster-name}

**配置项层次结构使用 `.` 表示**。

关于组件的更多配置参数说明,可参考 [tidb `config.toml.example`](https://github.com/pingcap/tidb/blob/master/config/config.toml.example)、[tikv `config.toml.example`](https://github.com/tikv/tikv/blob/master/etc/config-template.toml) 和 [pd `config.toml.example`](https://github.com/tikv/pd/blob/master/conf/config.toml)。
关于组件的更多配置参数说明,可参考 [tidb `config.toml.example`](https://github.com/pingcap/tidb/blob/master/pkg/config/config.toml.example)、[tikv `config.toml.example`](https://github.com/tikv/tikv/blob/master/etc/config-template.toml) 和 [pd `config.toml.example`](https://github.com/tikv/pd/blob/master/conf/config.toml)。
Oreoxmt marked this conversation as resolved.
Show resolved Hide resolved

3. 执行 `reload` 命令滚动分发配置、重启相应组件:

Expand All @@ -112,7 +112,7 @@ tiup cluster display ${cluster-name}

### 示例

如果要调整 tidb-server 中事务大小限制参数 `txn-total-size-limit` 为 `1G`,该参数位于 [performance](https://github.com/pingcap/tidb/blob/master/config/config.toml.example) 模块下,调整后的配置如下:
如果要调整 tidb-server 中事务大小限制参数 `txn-total-size-limit` 为 `1G`,该参数位于 [performance](https://github.com/pingcap/tidb/blob/master/pkg/config/config.toml.example) 模块下,调整后的配置如下:
Oreoxmt marked this conversation as resolved.
Show resolved Hide resolved

```
server_configs:
Expand Down
2 changes: 1 addition & 1 deletion performance-tuning-methods.md
Original file line number Diff line number Diff line change
Expand Up @@ -481,7 +481,7 @@ Store 线程的 Commit Log Duration 明显比 Apply Log Duration 高,并且 Ap

## 低于 v6.1.0 的 TiDB 版本如何使用 Performance overview 面板

从 v6.1.0 起,TiDB Grafana 组件默认内置了 Performance Overview 面板。Performance overview 面板兼容 TiDB v4.x 和 v5.x 版本。如果你的 TiDB 版本低于 v6.1.0,需要手动导入 [`performance_overview.json`](https://github.com/pingcap/tidb/blob/master/metrics/grafana/performance_overview.json)。
从 v6.1.0 起,TiDB Grafana 组件默认内置了 Performance Overview 面板。Performance overview 面板兼容 TiDB v4.x 和 v5.x 版本。如果你的 TiDB 版本低于 v6.1.0,需要手动导入 [`performance_overview.json`](https://github.com/pingcap/tidb/blob/master/pkg/metrics/grafana/performance_overview.json)。
Oreoxmt marked this conversation as resolved.
Show resolved Hide resolved

导入方法如图所示:

Expand Down
2 changes: 1 addition & 1 deletion production-deployment-using-tiup.md
Original file line number Diff line number Diff line change
Expand Up @@ -294,7 +294,7 @@ alertmanager_servers:

更多参数说明,请参考:

- [TiDB `config.toml.example`](https://github.com/pingcap/tidb/blob/master/config/config.toml.example)
- [TiDB `config.toml.example`](https://github.com/pingcap/tidb/blob/master/pkg/config/config.toml.example)
Oreoxmt marked this conversation as resolved.
Show resolved Hide resolved
- [TiKV `config.toml.example`](https://github.com/tikv/tikv/blob/master/etc/config-template.toml)
- [PD `config.toml.example`](https://github.com/pingcap/pd/blob/master/conf/config.toml)
- [TiFlash `config.toml.example`](https://github.com/pingcap/tiflash/blob/master/etc/config-template.toml)
Expand Down
4 changes: 2 additions & 2 deletions tidb-binlog/binlog-consumer-client.md
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ message Binlog {
}
```

查看数据格式的具体定义,参见 [`secondary_binlog.proto`](https://github.com/pingcap/tidb/blob/master/tidb-binlog/proto/proto/secondary_binlog.proto)。
查看数据格式的具体定义,参见 [`secondary_binlog.proto`](https://github.com/pingcap/tidb/blob/master/pkg/tidb-binlog/proto/proto/secondary_binlog.proto)。
Oreoxmt marked this conversation as resolved.
Show resolved Hide resolved

### Driver

Expand All @@ -138,7 +138,7 @@ TiDB-Tools 项目提供了用于读取 Kafka 中 binlog 数据的 Driver,具
* 使用该 Driver 将数据同步到 MySQL,该示例包含将 binlog 转化为 SQL 的具体方法
* 使用该 Driver 将数据打印出来

Driver 项目地址:[Binlog Slave Driver](https://github.com/pingcap/tidb/tree/master/tidb-binlog/driver)。
Driver 项目地址:[Binlog Slave Driver](https://github.com/pingcap/tidb/tree/master/pkg/tidb-binlog/driver)。
Oreoxmt marked this conversation as resolved.
Show resolved Hide resolved

> **注意:**
>
Expand Down
2 changes: 1 addition & 1 deletion tidb-configuration-file.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ title: TiDB 配置文件描述

# TiDB 配置文件描述

TiDB 配置文件比命令行参数支持更多的选项。你可以在 [config/config.toml.example](https://github.com/pingcap/tidb/blob/master/config/config.toml.example) 找到默认值的配置文件,重命名为 `config.toml` 即可。本文档只介绍未包含在[命令行参数](/command-line-flags-for-tidb-configuration.md)中的参数。
TiDB 配置文件比命令行参数支持更多的选项。你可以在 [config/config.toml.example](https://github.com/pingcap/tidb/blob/master/pkg/config/config.toml.example) 找到默认值的配置文件,重命名为 `config.toml` 即可。本文档只介绍未包含在[命令行参数](/command-line-flags-for-tidb-configuration.md)中的参数。
Oreoxmt marked this conversation as resolved.
Show resolved Hide resolved

> **Tip:**
>
Expand Down
2 changes: 1 addition & 1 deletion troubleshoot-lock-conflicts.md
Original file line number Diff line number Diff line change
Expand Up @@ -328,7 +328,7 @@ ERROR 1205 (HY000): Lock wait timeout exceeded; try restarting transaction

### TTL manager has timed out

除了有不能超出 GC 时间的限制外,悲观锁的 TTL 有上限,默认为 1 小时,所以执行时间超过 1 小时的悲观事务有可能提交失败。这个超时时间由 TiDB 参数 [performance.max-txn-ttl](https://github.com/pingcap/tidb/blob/master/config/config.toml.example) 指定。
除了有不能超出 GC 时间的限制外,悲观锁的 TTL 有上限,默认为 1 小时,所以执行时间超过 1 小时的悲观事务有可能提交失败。这个超时时间由 TiDB 参数 [`performance.max-txn-ttl`](https://github.com/pingcap/tidb/blob/master/pkg/config/config.toml.example) 指定。
Oreoxmt marked this conversation as resolved.
Show resolved Hide resolved

可通过查看 TiDB 日志查看报错信息:

Expand Down