Skip to content

Commit

Permalink
fix 8025 solution (#17892) (#17904)
Browse files Browse the repository at this point in the history
  • Loading branch information
ti-chi-bot authored Jul 10, 2024
1 parent 1b2131d commit 716cd71
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tidb-lightning/troubleshoot-tidb-lightning.md
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,8 @@ tidb-lightning-ctl --config conf/tidb-lightning.toml --checkpoint-error-destroy=

**解决办法**:

目前无法绕过 TiDB 的限制,只能忽略这张表,确保其它表顺利导入。
- 使用系统变量 [`tidb_txn_entry_size_limit`](/system-variables.md#tidb_txn_entry_size_limit-从-v760-版本开始引入) 动态增加限制。
- 注意,TiKV 也有类似的限制。若单个写入请求的数据量大小超出 [`raft-entry-max-size`](/tikv-configuration-file.md#raft-entry-max-size)(默认值为 `8MiB`),TiKV 会拒绝处理该请求。当表中单行的数据量较大时,需要同时修改这两个配置。

### switch-mode 时遇到 `rpc error: code = Unimplemented ...`

Expand Down

0 comments on commit 716cd71

Please sign in to comment.