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

auto_increment: add steps and notices to auto_increment and auto_random (#19116) #19568

Merged
Merged
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
Prev Previous commit
Next Next commit
rephrase
djshow832 authored and ti-chi-bot committed Jan 16, 2025

Unverified

This commit is not signed, but one or more authors requires that any commit attributed to them is signed.
commit 52b73c1afae5f34a1353d989e4e83d8b34f261cf
2 changes: 1 addition & 1 deletion auto-increment.md
Original file line number Diff line number Diff line change
@@ -383,7 +383,7 @@ SELECT * FROM t;
3 rows in set (0.01 sec)
```
BR、DM、Lightning 在恢复或同步完数据之后,会自动调整 `AUTO_INCREMENT` 值。但 TiCDC 在同步数据之后不会自动调整,因此需要在停止 TiCDC 之后、进行主备切换之前,手动调整下游集群中表的 `AUTO_INCREMENT`
DM、Lightning 在同步完数据之后,会自动清除自增 ID 缓存。但 TiCDC 在同步数据之后不会自动消除,因此需要在停止 TiCDC 之后、进行主备切换之前,手动清除下游集群的自增 ID 缓存
### 自增步长和偏移量设置