Skip to content

Commit

Permalink
master/5.0: remove low-version descriptions (#5775) (#6189)
Browse files Browse the repository at this point in the history
  • Loading branch information
ti-srebot authored Apr 28, 2021
1 parent 9d7a1d5 commit b8ef14c
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 15 deletions.
4 changes: 1 addition & 3 deletions mysql-compatibility.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,9 +56,7 @@ summary: 本文对 TiDB 和 MySQL 二者之间从语法和功能特性上做出

> **注意:**
>
> * `tidb_allow_remove_auto_inc` 要求版本号 >= v2.1.18 或者 >= v3.0.4。
> * 表的 `AUTO_ID_CACHE` 属性要求版本号 >= v3.0.14 或者 >= v3.1.2 或者 >= v4.0.0-rc.2。
> * 若创建表时没有指定主键时,TiDB 会使用 `_tidb_rowid` 来标识行,该数值的分配会和自增列(如果存在的话)共用一个分配器。如果指定了自增列为主键,则 TiDB 会用该列来标识行。因此会有以下的示例情况:
> 若创建表时没有指定主键时,TiDB 会使用 `_tidb_rowid` 来标识行,该数值的分配会和自增列(如果存在的话)共用一个分配器。如果指定了自增列为主键,则 TiDB 会用该列来标识行。因此会有以下的示例情况:
```sql
mysql> create table t(id int unique key AUTO_INCREMENT);
Expand Down
12 changes: 0 additions & 12 deletions tiflash/maintain-tiflash.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,18 +30,6 @@ title: TiFlash 集群运维

## TiFlash 重要日志介绍

为了更好地兼容 TiDB 的日志格式,TiFlash 在 v4.0.5 中修改了原有的日志格式,因此会有两个不同版本的日志。

如果你的 TiDB 集群版本 < 4.0.5:

| 日志信息 | 日志含义 |
|---------------|---------------------|
| [ 23 ] `<Information>` KVStore: Start to persist [region 47, applied: term 6 index 10] | 在 TiFlash 中看到类似日志代表数据开始同步(该日志开头方括号内的数字代表线程号,下同) |
| [ 30 ] `<Debug>` CoprocessorHandler: grpc::Status DB::CoprocessorHandler::execute() | Handling DAG request,该日志代表 TiFlash 开始处理一个 Coprocessor 请求 |
| [ 30 ] `<Debug>` CoprocessorHandler: grpc::Status DB::CoprocessorHandler::execute() | Handle DAG request done,该日志代表 TiFlash 完成 Coprocessor 请求的处理 |

如果你的 TiDB 集群版本 >= 4.0.5:

| 日志信息 | 日志含义 |
|---------------|-------------------|
| [INFO] [`<unknown>`] ["KVStore: Start to persist [region 47, applied: term 6 index 10]"] [thread_id=23] | 在 TiFlash 中看到类似日志代表数据开始同步 |
Expand Down

0 comments on commit b8ef14c

Please sign in to comment.