We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Please answer these questions before submitting your issue. Thanks!
when get schema encounters transient error when gets its timestamp, the timestamp of the schema is zero https://github.com/pingcap/tidb/blob/v7.3.0/domain/domain.go#L223 it makes the cache useless because the timestamp is zero and it won't recover because the next success reload won't correct the timestamp until another ddl happens, the reload will exit at without correct the timestamp https://github.com/pingcap/tidb/blob/v7.3.0/domain/domain.go#L227
transient error should not prevent schema cache being useful forever
schema cache is not useable
master
The text was updated successfully, but these errors were encountered:
schema cache: fix wrong timestamp in schema cache (#46326)
9176d20
close #46325
schema cache: fix wrong timestamp in schema cache (pingcap#46326)
d86325d
close pingcap#46325
xhebox
Successfully merging a pull request may close this issue.
Bug Report
Please answer these questions before submitting your issue. Thanks!
1. Minimal reproduce step (Required)
when get schema encounters transient error when gets its timestamp, the timestamp of the schema is zero
https://github.com/pingcap/tidb/blob/v7.3.0/domain/domain.go#L223
it makes the cache useless because the timestamp is zero and it won't recover because the next success reload won't correct the timestamp until another ddl happens, the reload will exit at without correct the timestamp
https://github.com/pingcap/tidb/blob/v7.3.0/domain/domain.go#L227
2. What did you expect to see? (Required)
transient error should not prevent schema cache being useful forever
3. What did you see instead (Required)
schema cache is not useable
4. What is your TiDB version? (Required)
master
The text was updated successfully, but these errors were encountered: