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

misc information is not reset when full load info schema #55132

Closed
wjhuang2016 opened this issue Aug 1, 2024 · 1 comment · Fixed by #55362
Closed

misc information is not reset when full load info schema #55132

wjhuang2016 opened this issue Aug 1, 2024 · 1 comment · Fixed by #55362
Assignees
Labels
component/ddl This issue is related to DDL of TiDB. feature/developing the related feature is in development severity/major type/bug The issue is confirmed as a bug.

Comments

@wjhuang2016
Copy link
Member

Bug Report

Please answer these questions before submitting your issue. Thanks!

1. Minimal reproduce step (Required)

func (isd *Data) resetBeforeFullLoad(schemaVersion int64) {
	resetTableInfoResidentBeforeFullLoad(isd.tableInfoResident, schemaVersion)

	resetByIDBeforeFullLoad(isd.byID, schemaVersion)
	resetByNameBeforeFullLoad(isd.byName, schemaVersion)

	resetSchemaMapBeforeFullLoad(isd.schemaMap, schemaVersion)
	resetSchemaID2NameBeforeFullLoad(isd.schemaID2Name, schemaVersion)

	resetPID2TIDBeforeFullLoad(isd.pid2tid, schemaVersion)
}

resetBeforeFullLoad already handles some V2-related data, but the common data in misc is not handled.

2. What did you expect to see? (Required)

N/A

3. What did you see instead (Required)

N/A

4. What is your TiDB version? (Required)

master

@wjhuang2016 wjhuang2016 added the type/bug The issue is confirmed as a bug. label Aug 1, 2024
@jebter jebter added severity/major feature/developing the related feature is in development component/ddl This issue is related to DDL of TiDB. labels Aug 2, 2024
@tiancaiamao tiancaiamao self-assigned this Aug 8, 2024
@tiancaiamao
Copy link
Contributor

close by #55229

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component/ddl This issue is related to DDL of TiDB. feature/developing the related feature is in development severity/major type/bug The issue is confirmed as a bug.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants