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

SchemaBuilder unable to apply diff from BR #4193

Closed
jiaqizho opened this issue Mar 8, 2022 · 3 comments
Closed

SchemaBuilder unable to apply diff from BR #4193

jiaqizho opened this issue Mar 8, 2022 · 3 comments
Labels
feature/developing severity/major type/bug The issue is confirmed as a bug.

Comments

@jiaqizho
Copy link
Contributor

jiaqizho commented Mar 8, 2022

Bug Report

Please answer these questions before submitting your issue. Thanks!

1. Minimal reproduce step (Required)

  1. tiup start cluster nightly
  2. use BR 6.0 TIDB 6.0
  3. BR import tpch10
  4. set tiflash REPLICA 1
  5. Then the table in databases will be no exist.

log :

[2022/03/07 19:59:27.435 +08:00] [INFO] [<unknown>] ["SchemaSyncer:start to sync schemas. current version is: 51 and try to sync schema version to: 52"] [thread_id=18]
[2022/03/07 19:59:27.435 +08:00] [DEBUG] [<unknown>] ["SchemaSyncer:try load schema diffs."] [thread_id=18]
[2022/03/07 19:59:27.436 +08:00] [DEBUG] [<unknown>] ["SchemaSyncer:end load schema diffs."] [thread_id=18]
[2022/03/07 19:59:27.436 +08:00] [DEBUG] [<unknown>] ["SchemaGetter:Get DB Info from TiKV : {\"id\":79,\"db_name\":{\"O\":\"tiflash_replicas\",\"L\":\"tiflash_replicas\"},\"charset\":\"utf8mb4\",\"collate\":\"utf8mb4_bin\",\"state\":5,\"policy_ref_info\":null}"] [thread_id=18]
[2022/03/07 19:59:27.436 +08:00] [INFO] [<unknown>] ["SchemaBuilder:ignore change type: 60"] [thread_id=18]
[2022/03/07 19:59:27.436 +08:00] [INFO] [<unknown>] ["SchemaSyncer:end sync schema, version has been updated to 52"] [thread_id=18]
[2022/03/07 19:59:27.437 +08:00] [INFO] [<unknown>] ["KVStore:Pre-handle snapshot to DTFiles is ignored because the table is dropped [region 1031, applied: term 6 index 7]"] [thread_id=18]
[2022/03/07 19:59:27.437 +08:00] [INFO] [<unknown>] ["KVStore:Pre-handle snapshot to DTFiles is ignored because the table is dropped [region 1035, applied: term 6 index 7]"] [thread_id=19]

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

3. What did you see instead (Required)

4. What is your TiFlash version? (Required)

@jiaqizho jiaqizho added the type/bug The issue is confirmed as a bug. label Mar 8, 2022
@jiaqizho
Copy link
Contributor Author

jiaqizho commented Mar 8, 2022

Z96BVvX2vw

TiDB side have this type , but seem like Tiflash have not support yet.

@jiaqizho
Copy link
Contributor Author

jiaqizho commented Mar 8, 2022

relative tidb pr : pingcap/tidb#28763

@JaySon-Huang
Copy link
Contributor

Resolved by #4194

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

No branches or pull requests

3 participants