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

sink(ticdc): Set config.Metadata.Timeout correctly #3665

Merged

Conversation

Rustin170506
Copy link
Member

@Rustin170506 Rustin170506 commented Nov 30, 2021

What problem does this PR solve?

part of https://github.com/pingcap/ticdc/issues/3352

close https://github.com/pingcap/ticdc/pull/3539

What is changed and how it works?

Set config.Metadata.Timeout correctly.

Check List

Tests

  • Manual test (add detailed scripts or steps below)

Code changes

None

Side effects

None

Related changes

  • Need to cherry-pick to the release branch

Release note

Set config.Metadata.Timeout correctly to prevent stuck data synchronization.

@ti-chi-bot
Copy link
Member

ti-chi-bot commented Nov 30, 2021

[REVIEW NOTIFICATION]

This pull request has been approved by:

  • 3AceShowHand
  • amyangfei

To complete the pull request process, please ask the reviewers in the list to review by filling /cc @reviewer in the comment.
After your PR has acquired the required number of LGTMs, you can assign this pull request to the committer in the list by filling /assign @committer in the comment to help you merge this pull request.

The full list of commands accepted by this bot can be found here.

Reviewer can indicate their review by submitting an approval review.
Reviewer can cancel approval by submitting a request changes review.

@ti-chi-bot ti-chi-bot added release-note-none Denotes a PR that doesn't merit a release note. size/S Denotes a PR that changes 10-29 lines, ignoring generated files. labels Nov 30, 2021
@Rustin170506 Rustin170506 added needs-cherry-pick-release-4.0 Should cherry pick this PR to release-4.0 branch. needs-cherry-pick-release-5.0 Should cherry pick this PR to release-5.0 branch. needs-cherry-pick-release-5.1 Should cherry pick this PR to release-5.1 branch. needs-cherry-pick-release-5.2 Should cherry pick this PR to release-5.2 branch. needs-cherry-pick-release-5.3 Should cherry pick this PR to release-5.3 branch. labels Nov 30, 2021
@Rustin170506
Copy link
Member Author

Manual test procedure.

  1. Start zookeeper
  2. Set up the kafka development environment and enter debug mode
  3. add the breakpoint to: def handleTopicMetadataRequest(request: RequestChannel.Request) method
  4. start tidb and ticdc
  5. Create the changefeed and let the breakpoint execute first(about five times)
  6. hang the breakpoint to the process of owner creating sink
  7. observe the log output

Before modification:

[2021/11/30 10:13:01.393 +08:00] [INFO] [kafka.go:503] ["Starting kafka sarama producer ..."] [config="{\"BrokerEndpoints\":[\"127.0.0.1:9092\"],\"PartitionNum\":0,\"ReplicationFactor\":1,\"Version\":\"2.4.0\",\"MaxMessageBytes\":1048576,\"Compression\":\"none\",\"ClientID\":\"\",\"Credential\":{\"ca-path\":\"\",\"cert-path\":\"\",\"key-path\":\"\",\"cert-allowed-cn\":null},\"SaslScram\":{\"sasl-user\":\"\",\"sasl-password\":\"\",\"sasl-mechanism\":\"\"},\"AutoCreate\":true}"]
[2021/11/30 10:13:01.393 +08:00] [DEBUG] [client.go:138] ["Initializing new client"] [name=sarama]
[2021/11/30 10:13:01.394 +08:00] [DEBUG] [client.go:871] ["client/metadata fetching metadata for all topics from broker 127.0.0.1:9092"] [name=sarama]
[2021/11/30 10:13:01.395 +08:00] [DEBUG] [broker.go:209] ["Connected to broker at 127.0.0.1:9092 (unregistered)"] [name=sarama]
[2021/11/30 10:13:31.395 +08:00] [DEBUG] [client.go:914] ["client/metadata got error from broker -1 while fetching metadata: read tcp 127.0.0.1:56037->127.0.0.1:9092: i/o timeout"] [name=sarama]
[2021/11/30 10:13:31.395 +08:00] [DEBUG] [broker.go:248] ["Closed connection to broker 127.0.0.1:9092"] [name=sarama]
[2021/11/30 10:13:31.395 +08:00] [DEBUG] [client.go:925] ["client/metadata no available broker to send metadata request to"] [name=sarama]
[2021/11/30 10:13:31.395 +08:00] [DEBUG] [client.go:661] ["client/brokers resurrecting 1 dead seed brokers"] [name=sarama]
[2021/11/30 10:13:31.395 +08:00] [DEBUG] [client.go:855] ["client/metadata retrying after 500ms... (120 attempts remaining)"] [name=sarama]
[2021/11/30 10:13:31.896 +08:00] [DEBUG] [client.go:871] ["client/metadata fetching metadata for all topics from broker 127.0.0.1:9092"] [name=sarama]
[2021/11/30 10:13:31.896 +08:00] [DEBUG] [broker.go:209] ["Connected to broker at 127.0.0.1:9092 (unregistered)"] [name=sarama]
[2021/11/30 10:14:01.896 +08:00] [DEBUG] [client.go:914] ["client/metadata got error from broker -1 while fetching metadata: read tcp 127.0.0.1:56185->127.0.0.1:9092: i/o timeout"] [name=sarama]
[2021/11/30 10:14:01.896 +08:00] [DEBUG] [broker.go:248] ["Closed connection to broker 127.0.0.1:9092"] [name=sarama]
[2021/11/30 10:14:01.896 +08:00] [DEBUG] [client.go:925] ["client/metadata no available broker to send metadata request to"] [name=sarama]
[2021/11/30 10:14:01.896 +08:00] [DEBUG] [client.go:661] ["client/brokers resurrecting 1 dead seed brokers"] [name=sarama]
[2021/11/30 10:14:01.896 +08:00] [DEBUG] [client.go:855] ["client/metadata retrying after 500ms... (119 attempts remaining)"] [name=sarama]
[2021/11/30 10:14:02.397 +08:00] [DEBUG] [client.go:871] ["client/metadata fetching metadata for all topics from broker 127.0.0.1:9092"] [name=sarama]
[2021/11/30 10:14:02.397 +08:00] [DEBUG] [broker.go:209] ["Connected to broker at 127.0.0.1:9092 (unregistered)"] [name=sarama]
[2021/11/30 10:14:32.397 +08:00] [DEBUG] [client.go:914] ["client/metadata got error from broker -1 while fetching metadata: read tcp 127.0.0.1:56311->127.0.0.1:9092: i/o timeout"] [name=sarama]
[2021/11/30 10:14:32.397 +08:00] [DEBUG] [broker.go:248] ["Closed connection to broker 127.0.0.1:9092"] [name=sarama]
[2021/11/30 10:14:32.397 +08:00] [DEBUG] [client.go:925] ["client/metadata no available broker to send metadata request to"] [name=sarama]
[2021/11/30 10:14:32.397 +08:00] [DEBUG] [client.go:661] ["client/brokers resurrecting 1 dead seed brokers"] [name=sarama]
[2021/11/30 10:14:32.397 +08:00] [DEBUG] [client.go:855] ["client/metadata retrying after 500ms... (118 attempts remaining)"] [name=sarama]
[2021/11/30 10:14:32.897 +08:00] [DEBUG] [client.go:871] ["client/metadata fetching metadata for all topics from broker 127.0.0.1:9092"] [name=sarama]
[2021/11/30 10:14:32.898 +08:00] [DEBUG] [broker.go:209] ["Connected to broker at 127.0.0.1:9092 (unregistered)"] [name=sarama]
[2021/11/30 10:15:02.897 +08:00] [DEBUG] [client.go:914] ["client/metadata got error from broker -1 while fetching metadata: read tcp 127.0.0.1:56497->127.0.0.1:9092: i/o timeout"] [name=sarama]
[2021/11/30 10:15:02.898 +08:00] [DEBUG] [broker.go:248] ["Closed connection to broker 127.0.0.1:9092"] [name=sarama]
[2021/11/30 10:15:02.898 +08:00] [DEBUG] [client.go:925] ["client/metadata no available broker to send metadata request to"] [name=sarama]
[2021/11/30 10:15:02.898 +08:00] [DEBUG] [client.go:661] ["client/brokers resurrecting 1 dead seed brokers"] [name=sarama]
[2021/11/30 10:15:02.898 +08:00] [DEBUG] [client.go:855] ["client/metadata retrying after 500ms... (117 attempts remaining)"] [name=sarama]
[2021/11/30 10:15:03.401 +08:00] [DEBUG] [client.go:871] ["client/metadata fetching metadata for all topics from broker 127.0.0.1:9092"] [name=sarama]
[2021/11/30 10:15:03.401 +08:00] [DEBUG] [broker.go:209] ["Connected to broker at 127.0.0.1:9092 (unregistered)"] [name=sarama]

After:

[2021/11/30 10:49:58.788 +08:00] [DEBUG] [client.go:138] ["Initializing new client"] [name=sarama]
[2021/11/30 10:49:58.788 +08:00] [DEBUG] [client.go:871] ["client/metadata fetching metadata for all topics from broker 127.0.0.1:9092"] [name=sarama]
[2021/11/30 10:49:58.789 +08:00] [DEBUG] [broker.go:209] ["Connected to broker at 127.0.0.1:9092 (unregistered)"] [name=sarama]
[2021/11/30 10:50:28.789 +08:00] [DEBUG] [client.go:914] ["client/metadata got error from broker -1 while fetching metadata: read tcp 127.0.0.1:63991->127.0.0.1:9092: i/o timeout"] [name=sarama]
[2021/11/30 10:50:28.789 +08:00] [DEBUG] [broker.go:248] ["Closed connection to broker 127.0.0.1:9092"] [name=sarama]
[2021/11/30 10:50:28.789 +08:00] [DEBUG] [client.go:925] ["client/metadata no available broker to send metadata request to"] [name=sarama]
[2021/11/30 10:50:28.789 +08:00] [DEBUG] [client.go:661] ["client/brokers resurrecting 1 dead seed brokers"] [name=sarama]
[2021/11/30 10:50:28.789 +08:00] [DEBUG] [client.go:855] ["client/metadata retrying after 500ms... (120 attempts remaining)"] [name=sarama]
[2021/11/30 10:50:29.289 +08:00] [DEBUG] [client.go:871] ["client/metadata fetching metadata for all topics from broker 127.0.0.1:9092"] [name=sarama]
[2021/11/30 10:50:29.290 +08:00] [DEBUG] [broker.go:209] ["Connected to broker at 127.0.0.1:9092 (unregistered)"] [name=sarama]
[2021/11/30 10:50:59.291 +08:00] [DEBUG] [client.go:914] ["client/metadata got error from broker -1 while fetching metadata: read tcp 127.0.0.1:64142->127.0.0.1:9092: i/o timeout"] [name=sarama]
[2021/11/30 10:50:59.291 +08:00] [DEBUG] [broker.go:248] ["Closed connection to broker 127.0.0.1:9092"] [name=sarama]
[2021/11/30 10:50:59.291 +08:00] [DEBUG] [client.go:925] ["client/metadata no available broker to send metadata request to"] [name=sarama]
[2021/11/30 10:50:59.291 +08:00] [DEBUG] [client.go:661] ["client/brokers resurrecting 1 dead seed brokers"] [name=sarama]
[2021/11/30 10:50:59.291 +08:00] [DEBUG] [client.go:852] ["client/metadata skipping last retries as we would go past the metadata timeout"] [name=sarama]
[2021/11/30 10:50:59.291 +08:00] [DEBUG] [client.go:234] ["Closing Client"] [name=sarama]
[2021/11/30 10:50:59.291 +08:00] [ERROR] [changefeed.go:111] ["an error occurred in Owner"] [changefeedID=67bc00ae-c89a-4bfa-ab66-42633cb1645b] [error="[CDC:ErrKafkaNewSaramaProducer][CDC:ErrKafkaNewSaramaProducer]kafka: client has run out of available brokers to talk to (Is your cluster reachable?): kafka: client has run out of available brokers to talk to (Is your cluster reachable?): [CDC:ErrKafkaNewSaramaProducer]kafka: client has run out of available brokers to talk to (Is your cluster reachable?): kafka: client has run out of available brokers to talk to (Is your cluster reachable?)"] [errorVerbose="[CDC:ErrKafkaNewSaramaProducer][CDC:ErrKafkaNewSaramaProducer]kafka: client has run out of available brokers to talk to (Is your cluster reachable?): kafka: client has run out of available brokers to talk to (Is your cluster reachable?): [CDC:ErrKafkaNewSaramaProducer]kafka: client has run out of available brokers to talk to (Is your cluster reachable?): kafka: client has run out of available brokers to talk to (Is your cluster reachable?)\ngithub.com/pingcap/errors.AddStack\n\tgithub.com/pingcap/[email protected]/errors.go:174\ngithub.com/pingcap/errors.(*Error).GenWithStackByCause\n\tgithub.com/pingcap/[email protected]/normalize.go:302\ngithub.com/pingcap/ticdc/pkg/errors.WrapError\n\tgithub.com/pingcap/ticdc/pkg/errors/helper.go:30\ngithub.com/pingcap/ticdc/cdc/sink/producer/kafka.NewKafkaSaramaProducer\n\tgithub.com/pingcap/ticdc/cdc/sink/producer/kafka/kafka.go:510\ngithub.com/pingcap/ticdc/cdc/sink.newKafkaSaramaSink\n\tgithub.com/pingcap/ticdc/cdc/sink/mq.go:402\ngithub.com/pingcap/ticdc/cdc/sink.init.1.func3\n\tgithub.com/pingcap/ticdc/cdc/sink/sink.go:85\ngithub.com/pingcap/ticdc/cdc/sink.New\n\tgithub.com/pingcap/ticdc/cdc/sink/sink.go:117\ngithub.com/pingcap/ticdc/cdc/owner.newAsyncSink\n\tgithub.com/pingcap/ticdc/cdc/owner/async_sink.go:80\ngithub.com/pingcap/ticdc/cdc/owner.(*changefeed).initialize\n\tgithub.com/pingcap/ticdc/cdc/owner/changefeed.go:255\ngithub.com/pingcap/ticdc/cdc/owner.(*changefeed).tick\n\tgithub.com/pingcap/ticdc/cdc/owner/changefeed.go:160\ngithub.com/pingcap/ticdc/cdc/owner.(*changefeed).Tick\n\tgithub.com/pingcap/ticdc/cdc/owner/changefeed.go:110\ngithub.com/pingcap/ticdc/cdc/owner.(*Owner).Tick\n\tgithub.com/pingcap/ticdc/cdc/owner/owner.go:163\ngithub.com/pingcap/ticdc/pkg/orchestrator.(*EtcdWorker).Run\n\tgithub.com/pingcap/ticdc/pkg/orchestrator/etcd_worker.go:218\ngithub.com/pingcap/ticdc/cdc/capture.(*Capture).runEtcdWorker\n\tgithub.com/pingcap/ticdc/cdc/capture/capture.go:311\ngithub.com/pingcap/ticdc/cdc/capture.(*Capture).campaignOwner\n\tgithub.com/pingcap/ticdc/cdc/capture/capture.go:289\ngithub.com/pingcap/ticdc/cdc/capture.(*Capture).run.func2\n\tgithub.com/pingcap/ticdc/cdc/capture/capture.go:210\nruntime.goexit\n\truntime/asm_amd64.s:1371"]
[2021/11/30 10:50:59.292 +08:00] [WARN] [etcd_worker.go:221] ["etcdWorker ticks reactor cost time more than 1 second"]
[2021/11/30 10:50:59.292 +08:00] [DEBUG] [etcd_worker.go:400] ["[etcd worker] ==========Update State to ETCD=========="]
[2021/11/30 10:50:59.293 +08:00] [DEBUG] [etcd_worker.go:405] ["[etcd worker] put key"] [key=/tidb/cdc/changefeed/info/67bc00ae-c89a-4bfa-ab66-42633cb1645b] [value="{\"sink-uri\":\"kafka://127.0.0.1:9092/ticdc-test\",\"opts\":{},\"create-time\":\"2021-11-30T10:48:41.348801+08:00\",\"start-ts\":429454923059953668,\"target-ts\":0,\"admin-job-type\":0,\"sort-engine\":\"unified\",\"sort-dir\":\"\",\"config\":{\"case-sensitive\":true,\"enable-old-value\":true,\"force-replicate\":false,\"check-gc-safe-point\":true,\"filter\":{\"rules\":[\"*.*\"],\"ignore-txn-start-ts\":null},\"mounter\":{\"worker-num\":16},\"sink\":{\"dispatchers\":null,\"protocol\":\"default\",\"column-selectors\":null},\"cyclic-replication\":{\"enable\":false,\"replica-id\":0,\"filter-replica-ids\":null,\"id-buckets\":0,\"sync-ddl\":false},\"scheduler\":{\"type\":\"table-number\",\"polling-time\":-1},\"consistent\":{\"level\":\"none\",\"max-log-size\":64,\"flush-interval\":1000,\"storage\":\"\"}},\"state\":\"normal\",\"history\":[1638240598545,1638240659292],\"error\":{\"addr\":\"127.0.0.1:8300\",\"code\":\"CDC:ErrOwnerUnknown\",\"message\":\"[CDC:ErrKafkaNewSaramaProducer][CDC:ErrKafkaNewSaramaProducer]kafka: client has run out of available brokers to talk to (Is your cluster reachable?): kafka: client has run out of available brokers to talk to (Is your cluster reachable?): [CDC:ErrKafkaNewSaramaProducer]kafka: client has run out of available brokers to talk to (Is your cluster reachable?): kafka: client has run out of available brokers to talk to (Is your cluster reachable?)\"},\"sync-point-enabled\":false,\"sync-point-interval\":600000000000,\"creator-version\":\"v5.2.0-master-dirty\"}"]
[2021/11/30 10:50:59.294 +08:00] [DEBUG] [etcd_worker.go:408] ["[etcd worker] ============State Commit============="] [committed=true]
[2021/11/30 10:50:59.312 +08:00] [INFO] [changefeed.go:209] ["initialize changefeed"] [changefeed=67bc00ae-c89a-4bfa-ab66-42633cb1645b] [info="{\"sink-uri\":\"***\",\"opts\":{},\"create-time\":\"2021-11-30T10:48:41.348801+08:00\",\"start-ts\":429454923059953668,\"target-ts\":0,\"admin-job-type\":0,\"sort-engine\":\"unified\",\"sort-dir\":\"\",\"config\":{\"case-sensitive\":true,\"enable-old-value\":true,\"force-replicate\":false,\"check-gc-safe-point\":true,\"filter\":{\"rules\":[\"*.*\"],\"ignore-txn-start-ts\":null},\"mounter\":{\"worker-num\":16},\"sink\":{\"dispatchers\":null,\"protocol\":\"default\",\"column-selectors\":null},\"cyclic-replication\":{\"enable\":false,\"replica-id\":0,\"filter-replica-ids\":null,\"id-buckets\":0,\"sync-ddl\":false},\"scheduler\":{\"type\":\"table-number\",\"polling-time\":-1},\"consistent\":{\"level\":\"none\",\"max-log-size\":64,\"flush-interval\":1000,\"storage\":\"\"}},\"state\":\"normal\",\"history\":[1638240598545,1638240659292],\"error\":{\"addr\":\"127.0.0.1:8300\",\"code\":\"CDC:ErrOwnerUnknown\",\"message\":\"[CDC:ErrKafkaNewSaramaProducer][CDC:ErrKafkaNewSaramaProducer]kafka: client has run out of available brokers to talk to (Is your cluster reachable?): kafka: client has run out of available brokers to talk to (Is your cluster reachable?): [CDC:ErrKafkaNewSaramaProducer]kafka: client has run out of available brokers to talk to (Is your cluster reachable?): kafka: client has run out of available brokers to talk to (Is your cluster reachable?)\"},\"sync-point-enabled\":false,\"sync-point-interval\":600000000000,\"creator-version\":\"v5.2.0-master-dirty\"}"] ["checkpoint ts"=429454923059953668]
[2021/11/30 10:50:59.333 +08:00] [DEBUG] [scan.go:186] ["txn getData"] [nextStartKey=6d4442730000000000fa0000000000000068] [nextEndKey=6d4442730000000000fa0000000000000069] [reverse=false] [txnStartTS=429454923059953667]
[2021/11/30 10:50:59.334 +08:00] [DEBUG] [scan.go:186] ["txn getData"] [nextStartKey=6d44423a3100000000fb0000000000000068] [nextEndKey=6d44423a3100000000fb0000000000000069] [reverse=false] [txnStartTS=429454923059953667]
[2021/11/30 10:50:59.335 +08:00] [DEBUG] [scan.go:186] ["txn getData"] [nextStartKey=6d44423a3300000000fb0000000000000068] [nextEndKey=6d44423a3300000000fb0000000000000069] [reverse=false] [txnStartTS=429454923059953667]
[2021/11/30 10:50:59.337 +08:00] [DEBUG] [schema_storage.go:142] ["warpped table info"] [tableInfo="{\"id\":11,\"name\":{\"O\":\"tables_priv\",\"L\":\"tables_priv\"},\"charset\":\"utf8mb4\",\"collate\":\"utf8mb4_bin\",\"cols\":[{\"id\":1,\"name\":{\"O\":\"Host\",\"L\":\"host\"},\"offset\":0,\"origin_default\":null,\"origin_default_bit\":null,\"default\":null,\"default_bit\":null,\"default_is_expr\":false,\"generated_expr_string\":\"\",\"generated_stored\":false,\"dependences\":null,\"type\":{\"Tp\":254,\"Flag\":4099,\"Flen\":60,\"Decimal\":0,\"Charset\":\"utf8mb4\",\"Collate\":\"utf8mb4_bin\",\"Elems\":null},\"state\":5,\"comment\":\"\",\"hidden\":false,\"change_state_info\":null,\"version\":2},{\"id\":2,\"name\":{\"O\":\"DB\",\"L\":\"db\"},\"offset\":1,\"origin_default\":null,\"origin_default_bit\":null,\"default\":null,\"default_bit\":null,\"default_is_expr\":false,\"generated_expr_string\":\"\",\"generated_stored\":false,\"dependences\":null,\"type\":{\"Tp\":254,\"Flag\":4099,\"Flen\":64,\"Decimal\":0,\"Charset\":\"utf8mb4\",\"Collate\":\"utf8mb4_bin\",\"Elems\":null},\"state\":5,\"comment\":\"\",\"hidden\":false,\"change_state_info\":null,\"version\":2},{\"id\":3,\"name\":{\"O\":\"User\",\"L\":\"user\"},\"offset\":2,\"origin_default\":null,\"origin_default_bit\":null,\"default\":null,\"default_bit\":null,\"default_is_expr\":false,\"generated_expr_string\":\"\",\"generated_stored\":false,\"dependences\":null,\"type\":{\"Tp\":254,\"Flag\":4099,\"Flen\":32,\"Decimal\":0,\"Charset\":\"utf8mb4\",\"Collate\":\"utf8mb4_bin\",\"Elems\":null},\"state\":5,\"comment\":\"\",\"hidden\":false,\"change_state_info\":null,\"version\":2},{\"id\":4,\"name\":{\"O\":\"Table_name\",\"L\":\"table_name\"},\"offset\":3,\"origin_default\":null,\"origin_default_bit\":null,\"default\":null,\"default_bit\":null,\"default_is_expr\":false,\"generated_expr_string\":\"\",\"generated_stored\":false,\"dependences\":null,\"type\":{\"Tp\":254,\"Flag\":4099,\"Flen\":64,\"Decimal\":0,\"Charset\":\"utf8mb4\",\"Collate\":\"utf8mb4_bin\",\"Elems\":null},\"state\":5,\"comment\":\"\",\"hidden\":false,\"change_state_info\":null,\"version\":2},{\"id\":5,\"name\":{\"O\":\"Grantor\",\"L\":\"grantor\"},\"offset\":4,\"origin_default\":null,\"origin_default_bit\":null,\"default\":null,\"default_bit\":null,\"default_is_expr\":false,\"generated_expr_string\":\"\",\"generated_stored\":false,\"dependences\":null,\"type\":{\"Tp\":254,\"Flag\":0,\"Flen\":77,\"Decimal\":0,\"Charset\":\"utf8mb4\",\"Collate\":\"utf8mb4_bin\",\"Elems\":null},\"state\":5,\"comment\":\"\",\"hidden\":false,\"change_state_info\":null,\"version\":2},{\"id\":6,\"name\":{\"O\":\"Timestamp\",\"L\":\"timestamp\"},\"offset\":5,\"origin_default\":null,\"origin_default_bit\":null,\"default\":\"CURRENT_TIMESTAMP\",\"default_bit\":null,\"default_is_expr\":false,\"generated_expr_string\":\"\",\"generated_stored\":false,\"dependences\":null,\"type\":{\"Tp\":7,\"Flag\":128,\"Flen\":19,\"Decimal\":0,\"Charset\":\"binary\",\"Collate\":\"binary\",\"Elems\":null},\"state\":5,\"comment\":\"\",\"hidden\":false,\"change_state_info\":null,\"version\":2},{\"id\":7,\"name\":{\"O\":\"Table_priv\",\"L\":\"table_priv\"},\"offset\":6,\"origin_default\":null,\"origin_default_bit\":null,\"default\":null,\"default_bit\":null,\"default_is_expr\":false,\"generated_expr_string\":\"\",\"generated_stored\":false,\"dependences\":null,\"type\":{\"Tp\":248,\"Flag\":0,\"Flen\":98,\"Decimal\":0,\"Charset\":\"utf8mb4\",\"Collate\":\"utf8mb4_bin\",\"Elems\":[\"Select\",\"Insert\",\"Update\",\"Delete\",\"Create\",\"Drop\",\"Grant\",\"Index\",\"Alter\",\"Create View\",\"Show View\",\"Trigger\",\"References\"]},\"state\":5,\"comment\":\"\",\"hidden\":false,\"change_state_info\":null,\"version\":2},{\"id\":8,\"name\":{\"O\":\"Column_priv\",\"L\":\"column_priv\"},\"offset\":7,\"origin_default\":null,\"origin_default_bit\":null,\"default\":null,\"default_bit\":null,\"default_is_expr\":false,\"generated_expr_string\":\"\",\"generated_stored\":false,\"dependences\":null,\"type\":{\"Tp\":248,\"Flag\":0,\"Flen\":20,\"Decimal\":0,\"Charset\":\"utf8mb4\",\"Collate\":\"utf8mb4_bin\",\"Elems\":[\"Select\",\"Insert\",\"Update\"]},\"state\":5,\"comment\":\"\",\"hidden\":false,\"change_state_info\":null,\"version\":2}],\"index_info\":[{\"id\":1,\"idx_name\":{\"O\":\"PRIMARY\",\"L\":\"primary\"},\"tbl_name\":{\"O\":\"\",\"L\":\"\"},\"idx_cols\":[{\"name\":{\"O\":\"Host\",\"L\":\"host\"},\"offset\":0,\"length\":-1},{\"name\":{\"O\":\"DB\",\"L\":\"db\"},\"offset\":1,\"length\":-1},{\"name\":{\"O\":\"User\",\"L\":\"user\"},\"offset\":2,\"length\":-1},{\"name\":{\"O\":\"Table_name\",\"L\":\"table_name\"},\"offset\":3,\"length\":-1}],\"state\":5,\"comment\":\"\",\"index_type\":1,\"is_unique\":true,\"is_primary\":true,\"is_invisible\":false,\"is_global\":false}],\"constraint_info\":null,\"fk_info\":null,\"state\":5,\"pk_is_handle\":false,\"is_common_handle\":false,\"common_handle_version\":0,\"comment\":\"\",\"auto_inc_id\":0,\"auto_id_cache\":0,\"auto_rand_id\":0,\"max_col_id\":8,\"max_idx_id\":1,\"max_cst_id\":0,\"update_timestamp\":429454907816542221,\"ShardRowIDBits\":0,\"max_shard_row_id_bits\":0,\"auto_random_bits\":0,\"pre_split_regions\":0,\"partition\":null,\"compression\":\"\",\"view\":null,\"sequence\":null,\"Lock\":null,\"version\":4,\"tiflash_replica\":null,\"is_columnar\":false,\"temp_table_type\":0,\"cache_table_status\":0,\"policy_ref_info\":null,\"placement_settings\":null,\"stats_options\":null,\"SchemaID\":3,\"TableName\":{\"db-name\":\"mysql\",\"tbl-name\":\"tables_priv\",\"tbl-id\":0,\"is-partition\":false},\"TableInfoVersion\":429454923059953667,\"RowColumnsOffset\":{\"1\":0,\"2\":1,\"3\":2,\"4\":3,\"5\":4,\"6\":5,\"7\":6,\"8\":7},\"ColumnsFlag\":{\"1\":58,\"2\":58,\"3\":58,\"4\":58,\"5\":64,\"6\":65,\"7\":64,\"8\":64},\"HandleIndexID\":1,\"IndexColumnsOffset\":[[0,1,2,3]]}"]
[2021/11/30 10:50:59.340 +08:00] [DEBUG] [schema_storage.go:142] ["warpped table info"] [tableInfo="{\"id\":13,\"name\":{\"O\":\"columns_priv\",\"L\":\"columns_priv\"},\"charset\":\"utf8mb4\",\"collate\":\"utf8mb4_bin\",\"cols\":[{\"id\":1,\"name\":{\"O\":\"Host\",\"L\":\"host\"},\"offset\":0,\"origin_default\":null,\"origin_default_bit\":null,\"default\":null,\"default_bit\":null,\"default_is_expr\":false,\"generated_expr_string\":\"\",\"generated_stored\":false,\"dependences\":null,\"type\":{\"Tp\":254,\"Flag\":4099,\"Flen\":60,\"Decimal\":0,\"Charset\":\"utf8mb4\",\"Collate\":\"utf8mb4_bin\",\"Elems\":null},\"state\":5,\"comment\":\"\",\"hidden\":false,\"change_state_info\":null,\"version\":2},{\"id\":2,\"name\":{\"O\":\"DB\",\"L\":\"db\"},\"offset\":1,\"origin_default\":null,\"origin_default_bit\":null,\"default\":null,\"default_bit\":null,\"default_is_expr\":false,\"generated_expr_string\":\"\",\"generated_stored\":false,\"dependences\":null,\"type\":{\"Tp\":254,\"Flag\":4099,\"Flen\":64,\"Decimal\":0,\"Charset\":\"utf8mb4\",\"Collate\":\"utf8mb4_bin\",\"Elems\":null},\"state\":5,\"comment\":\"\",\"hidden\":false,\"change_state_info\":null,\"version\":2},{\"id\":3,\"name\":{\"O\":\"User\",\"L\":\"user\"},\"offset\":2,\"origin_default\":null,\"origin_default_bit\":null,\"default\":null,\"default_bit\":null,\"default_is_expr\":false,\"generated_expr_string\":\"\",\"generated_stored\":false,\"dependences\":null,\"type\":{\"Tp\":254,\"Flag\":4099,\"Flen\":32,\"Decimal\":0,\"Charset\":\"utf8mb4\",\"Collate\":\"utf8mb4_bin\",\"Elems\":null},\"state\":5,\"comment\":\"\",\"hidden\":false,\"change_state_info\":null,\"version\":2},{\"id\":4,\"name\":{\"O\":\"Table_name\",\"L\":\"table_name\"},\"offset\":3,\"origin_default\":null,\"origin_default_bit\":null,\"default\":null,\"default_bit\":null,\"default_is_expr\":false,\"generated_expr_string\":\"\",\"generated_stored\":false,\"dependences\":null,\"type\":{\"Tp\":254,\"Flag\":4099,\"Flen\":64,\"Decimal\":0,\"Charset\":\"utf8mb4\",\"Collate\":\"utf8mb4_bin\",\"Elems\":null},\"state\":5,\"comment\":\"\",\"hidden\":false,\"change_state_info\":null,\"version\":2},{\"id\":5,\"name\":{\"O\":\"Column_name\",\"L\":\"column_name\"},\"offset\":4,\"origin_default\":null,\"origin_default_bit\":null,\"default\":null,\"default_bit\":null,\"default_is_expr\":false,\"generated_expr_string\":\"\",\"generated_stored\":false,\"dependences\":null,\"type\":{\"Tp\":254,\"Flag\":4099,\"Flen\":64,\"Decimal\":0,\"Charset\":\"utf8mb4\",\"Collate\":\"utf8mb4_bin\",\"Elems\":null},\"state\":5,\"comment\":\"\",\"hidden\":false,\"change_state_info\":null,\"version\":2},{\"id\":6,\"name\":{\"O\":\"Timestamp\",\"L\":\"timestamp\"},\"offset\":5,\"origin_default\":null,\"origin_default_bit\":null,\"default\":\"CURRENT_TIMESTAMP\",\"default_bit\":null,\"default_is_expr\":false,\"generated_expr_string\":\"\",\"generated_stored\":false,\"dependences\":null,\"type\":{\"Tp\":7,\"Flag\":128,\"Flen\":19,\"Decimal\":0,\"Charset\":\"binary\",\"Collate\":\"binary\",\"Elems\":null},\"state\":5,\"comment\":\"\",\"hidden\":false,\"change_state_info\":null,\"version\":2},{\"id\":7,\"name\":{\"O\":\"Column_priv\",\"L\":\"column_priv\"},\"offset\":6,\"origin_default\":null,\"origin_default_bit\":null,\"default\":null,\"default_bit\":null,\"default_is_expr\":false,\"generated_expr_string\":\"\",\"generated_stored\":false,\"dependences\":null,\"type\":{\"Tp\":248,\"Flag\":0,\"Flen\":20,\"Decimal\":0,\"Charset\":\"utf8mb4\",\"Collate\":\"utf8mb4_bin\",\"Elems\":[\"Select\",\"Insert\",\"Update\"]},\"state\":5,\"comment\":\"\",\"hidden\":false,\"change_state_info\":null,\"version\":2}],\"index_info\":[{\"id\":1,\"idx_name\":{\"O\":\"PRIMARY\",\"L\":\"primary\"},\"tbl_name\":{\"O\":\"\",\"L\":\"\"},\"idx_cols\":[{\"name\":{\"O\":\"Host\",\"L\":\"host\"},\"offset\":0,\"length\":-1},{\"name\":{\"O\":\"DB\",\"L\":\"db\"},\"offset\":1,\"length\":-1},{\"name\":{\"O\":\"User\",\"L\":\"user\"},\"offset\":2,\"length\":-1},{\"name\":{\"O\":\"Table_name\",\"L\":\"table_name\"},\"offset\":3,\"length\":-1},{\"name\":{\"O\":\"Column_name\",\"L\":\"column_name\"},\"offset\":4,\"length\":-1}],\"state\":5,\"comment\":\"\",\"index_type\":1,\"is_unique\":true,\"is_primary\":true,\"is_invisible\":false,\"is_global\":false}],\"constraint_info\":null,\"fk_info\":null,\"state\":5,\"pk_is_handle\":false,\"is_common_handle\":false,\"common_handle_version\":0,\"comment\":\"\",\"auto_inc_id\":0,\"auto_id_cache\":0,\"auto_rand_id\":0,\"max_col_id\":7,\"max_idx_id\":1,\"max_cst_id\":0,\"update_timestamp\":429454907842756621,\"ShardRowIDBits\":0,\"max_shard_row_id_bits\":0,\"auto_random_bits\":0,\"pre_split_regions\":0,\"partition\":null,\"compression\":\"\",\"view\":null,\"sequence\":null,\"Lock\":null,\"version\":4,\"tiflash_replica\":null,\"is_columnar\":false,\"temp_table_type\":0,\"cache_table_status\":0,\"policy_ref_info\":null,\"placement_settings\":null,\"stats_options\":null,\"SchemaID\":3,\"TableName\":{\"db-name\":\"mysql\",\"tbl-name\":\"columns_priv\",\"tbl-id\":0,\"is-partition\":false},\"TableInfoVersion\":429454923059953667,\"RowColumnsOffset\":{\"1\":0,\"2\":1,\"3\":2,\"4\":3,\"5\":4,\"6\":5,\"7\":6},\"ColumnsFlag\":{\"1\":58,\"2\":58,\"3\":58,\"4\":58,\"5\":58,\"6\":65,\"7\":64},\"HandleIndexID\":1,\"IndexColumnsOffset\":[[0,1,2,3,4]]}"]
[2021/11/30 10:50:59.353 +08:00] [DEBUG] [schema_storage.go:142] ["warpped table info"] [tableInfo="{\"id\":15,\"name\":{\"O\":\"GLOBAL_VARIABLES\",\"L\":\"global_variables\"},\"charset\":\"utf8mb4\",\"collate\":\"utf8mb4_bin\",\"cols\":[{\"id\":1,\"name\":{\"O\":\"VARIABLE_NAME\",\"L\":\"variable_name\"},\"offset\":0,\"origin_default\":null,\"origin_default_bit\":null,\"default\":null,\"default_bit\":null,\"default_is_expr\":false,\"generated_expr_string\":\"\",\"generated_stored\":false,\"dependences\":null,\"type\":{\"Tp\":15,\"Flag\":4099,\"Flen\":64,\"Decimal\":0,\"Charset\":\"utf8mb4\",\"Collate\":\"utf8mb4_bin\",\"Elems\":null},\"state\":5,\"comment\":\"\",\"hidden\":false,\"change_state_info\":null,\"version\":2},{\"id\":2,\"name\":{\"O\":\"VARIABLE_VALUE\",\"L\":\"variable_value\"},\"offset\":1,\"origin_default\":null,\"origin_default_bit\":null,\"default\":null,\"default_bit\":null,\"default_is_expr\":false,\"generated_expr_string\":\"\",\"generated_stored\":false,\"dependences\":null,\"type\":{\"Tp\":15,\"Flag\":0,\"Flen\":1024,\"Decimal\":0,\"Charset\":\"utf8mb4\",\"Collate\":\"utf8mb4_bin\",\"Elems\":null},\"state\":5,\"comment\":\"\",\"hidden\":false,\"change_state_info\":null,\"version\":2}],\"index_info\":[{\"id\":1,\"idx_name\":{\"O\":\"PRIMARY\",\"L\":\"primary\"},\"tbl_name\":{\"O\":\"\",\"L\":\"\"},\"idx_cols\":[{\"name\":{\"O\":\"VARIABLE_NAME\",\"L\":\"variable_name\"},\"offset\":0,\"length\":-1}],\"state\":5,\"comment\":\"\",\"index_type\":1,\"is_unique\":true,\"is_primary\":true,\"is_invisible\":false,\"is_global\":false}],\"constraint_info\":null,\"fk_info\":null,\"state\":5,\"pk_is_handle\":false,\"is_common_handle\":false,\"common_handle_version\":0,\"comment\":\"\",\"auto_inc_id\":0,\"auto_id_cache\":0,\"auto_rand_id\":0,\"max_col_id\":2,\"max_idx_id\":1,\"max_cst_id\":0,\"update_timestamp\":429454907868971022,\"ShardRowIDBits\":0,\"max_shard_row_id_bits\":0,\"auto_random_bits\":0,\"pre_split_regions\":0,\"partition\":null,\"compression\":\"\",\"view\":null,\"sequence\":null,\"Lock\":null,\"version\":4,\"tiflash_replica\":null,\"is_columnar\":false,\"temp_table_type\":0,\"cache_table_status\":0,\"policy_ref_info\":null,\"placement_settings\":null,\"stats_options\":null,\"SchemaID\":3,\"TableName\":{\"db-name\":\"mysql\",\"tbl-name\":\"GLOBAL_VARIABLES\",\"tbl-id\":0,\"is-partition\":false},\"TableInfoVersion\":429454923059953667,\"RowColumnsOffset\":{\"1\":0,\"2\":1},\"ColumnsFlag\":{\"1\":26,\"2\":64},\"HandleIndexID\":1,\"IndexColumnsOffset\":[[0]]}"]
[2021/11/30 10:50:59.355 +08:00] [DEBUG] [schema_storage.go:142] ["warpped table info"] [tableInfo="{\"id\":17,\"name\":{\"O\":\"tidb\",\"L\":\"tidb\"},\"charset\":\"utf8mb4\",\"collate\":\"utf8mb4_bin\",\"cols\":[{\"id\":1,\"name\":{\"O\":\"VARIABLE_NAME\",\"L\":\"variable_name\"},\"offset\":0,\"origin_default\":null,\"origin_default_bit\":null,\"default\":null,\"default_bit\":null,\"default_is_expr\":false,\"generated_expr_string\":\"\",\"generated_stored\":false,\"dependences\":null,\"type\":{\"Tp\":15,\"Flag\":4099,\"Flen\":64,\"Decimal\":0,\"Charset\":\"utf8mb4\",\"Collate\":\"utf8mb4_bin\",\"Elems\":null},\"state\":5,\"comment\":\"\",\"hidden\":false,\"change_state_info\":null,\"version\":2},{\"id\":2,\"name\":{\"O\":\"VARIABLE_VALUE\",\"L\":\"variable_value\"},\"offset\":1,\"origin_default\":null,\"origin_default_bit\":null,\"default\":null,\"default_bit\":null,\"default_is_expr\":false,\"generated_expr_string\":\"\",\"generated_stored\":false,\"dependences\":null,\"type\":{\"Tp\":15,\"Flag\":0,\"Flen\":1024,\"Decimal\":0,\"Charset\":\"utf8mb4\",\"Collate\":\"utf8mb4_bin\",\"Elems\":null},\"state\":5,\"comment\":\"\",\"hidden\":false,\"change_state_info\":null,\"version\":2},{\"id\":3,\"name\":{\"O\":\"COMMENT\",\"L\":\"comment\"},\"offset\":2,\"origin_default\":null,\"origin_default_bit\":null,\"default\":null,\"default_bit\":null,\"default_is_expr\":false,\"generated_expr_string\":\"\",\"generated_stored\":false,\"dependences\":null,\"type\":{\"Tp\":15,\"Flag\":0,\"Flen\":1024,\"Decimal\":0,\"Charset\":\"utf8mb4\",\"Collate\":\"utf8mb4_bin\",\"Elems\":null},\"state\":5,\"comment\":\"\",\"hidden\":false,\"change_state_info\":null,\"version\":2}],\"index_info\":[{\"id\":1,\"idx_name\":{\"O\":\"PRIMARY\",\"L\":\"primary\"},\"tbl_name\":{\"O\":\"\",\"L\":\"\"},\"idx_cols\":[{\"name\":{\"O\":\"VARIABLE_NAME\",\"L\":\"variable_name\"},\"offset\":0,\"length\":-1}],\"state\":5,\"comment\":\"\",\"index_type\":1,\"is_unique\":true,\"is_primary\":true,\"is_invisible\":false,\"is_global\":false}],\"constraint_info\":null,\"fk_info\":null,\"state\":5,\"pk_is_handle\":false,\"is_common_handle\":false,\"common_handle_version\":0,\"comment\":\"\",\"auto_inc_id\":0,\"auto_id_cache\":0,\"auto_rand_id\":0,\"max_col_id\":3,\"max_idx_id\":1,\"max_cst_id\":0,\"update_timestamp\":429454907895185417,\"ShardRowIDBits\":0,\"max_shard_row_id_bits\":0,\"auto_random_bits\":0,\"pre_split_regions\":0,\"partition\":null,\"compression\":\"\",\"view\":null,\"sequence\":null,\"Lock\":null,\"version\":4,\"tiflash_replica\":null,\"is_columnar\":false,\"temp_table_type\":0,\"cache_table_status\":0,\"policy_ref_info\":null,\"placement_settings\":null,\"stats_options\":null,\"SchemaID\":3,\"TableName\":{\"db-name\":\"mysql\",\"tbl-name\":\"tidb\",\"tbl-id\":0,\"is-partition\":false},\"TableInfoVersion\":429454923059953667,\"RowColumnsOffset\":{\"1\":0,\"2\":1,\"3\":2},\"ColumnsFlag\":{\"1\":26,\"2\":64,\"3\":64},\"HandleIndexID\":1,\"IndexColumnsOffset\":[[0]]}"]
[2021/11/30 10:50:59.357 +08:00] [DEBUG] [schema_storage.go:142] ["warpped table info"] [tableInfo="{\"id\":19,\"name\":{\"O\":\"help_topic\",\"L\":\"help_topic\"},\"charset\":\"utf8\",\"collate\":\"utf8_bin\",\"cols\":[{\"id\":1,\"name\":{\"O\":\"help_topic_id\",\"L\":\"help_topic_id\"},\"offset\":0,\"origin_default\":null,\"origin_default_bit\":null,\"default\":null,\"default_bit\":null,\"default_is_expr\":false,\"generated_expr_string\":\"\",\"generated_stored\":false,\"dependences\":null,\"type\":{\"Tp\":3,\"Flag\":4131,\"Flen\":10,\"Decimal\":0,\"Charset\":\"binary\",\"Collate\":\"binary\",\"Elems\":null},\"state\":5,\"comment\":\"\",\"hidden\":false,\"change_state_info\":null,\"version\":2},{\"id\":2,\"name\":{\"O\":\"name\",\"L\":\"name\"},\"offset\":1,\"origin_default\":null,\"origin_default_bit\":null,\"default\":null,\"default_bit\":null,\"default_is_expr\":false,\"generated_expr_string\":\"\",\"generated_stored\":false,\"dependences\":null,\"type\":{\"Tp\":254,\"Flag\":4101,\"Flen\":64,\"Decimal\":0,\"Charset\":\"utf8\",\"Collate\":\"utf8_bin\",\"Elems\":null},\"state\":5,\"comment\":\"\",\"hidden\":false,\"change_state_info\":null,\"version\":2},{\"id\":3,\"name\":{\"O\":\"help_category_id\",\"L\":\"help_category_id\"},\"offset\":2,\"origin_default\":null,\"origin_default_bit\":null,\"default\":null,\"default_bit\":null,\"default_is_expr\":false,\"generated_expr_string\":\"\",\"generated_stored\":false,\"dependences\":null,\"type\":{\"Tp\":2,\"Flag\":4129,\"Flen\":5,\"Decimal\":0,\"Charset\":\"binary\",\"Collate\":\"binary\",\"Elems\":null},\"state\":5,\"comment\":\"\",\"hidden\":false,\"change_state_info\":null,\"version\":2},{\"id\":4,\"name\":{\"O\":\"description\",\"L\":\"description\"},\"offset\":3,\"origin_default\":null,\"origin_default_bit\":null,\"default\":null,\"default_bit\":null,\"default_is_expr\":false,\"generated_expr_string\":\"\",\"generated_stored\":false,\"dependences\":null,\"type\":{\"Tp\":252,\"Flag\":4097,\"Flen\":65535,\"Decimal\":0,\"Charset\":\"utf8\",\"Collate\":\"utf8_bin\",\"Elems\":null},\"state\":5,\"comment\":\"\",\"hidden\":false,\"change_state_info\":null,\"version\":2},{\"id\":5,\"name\":{\"O\":\"example\",\"L\":\"example\"},\"offset\":4,\"origin_default\":null,\"origin_default_bit\":null,\"default\":null,\"default_bit\":null,\"default_is_expr\":false,\"generated_expr_string\":\"\",\"generated_stored\":false,\"dependences\":null,\"type\":{\"Tp\":252,\"Flag\":4097,\"Flen\":65535,\"Decimal\":0,\"Charset\":\"utf8\",\"Collate\":\"utf8_bin\",\"Elems\":null},\"state\":5,\"comment\":\"\",\"hidden\":false,\"change_state_info\":null,\"version\":2},{\"id\":6,\"name\":{\"O\":\"url\",\"L\":\"url\"},\"offset\":5,\"origin_default\":null,\"origin_default_bit\":null,\"default\":null,\"default_bit\":null,\"default_is_expr\":false,\"generated_expr_string\":\"\",\"generated_stored\":false,\"dependences\":null,\"type\":{\"Tp\":252,\"Flag\":4097,\"Flen\":65535,\"Decimal\":0,\"Charset\":\"utf8\",\"Collate\":\"utf8_bin\",\"Elems\":null},\"state\":5,\"comment\":\"\",\"hidden\":false,\"change_state_info\":null,\"version\":2}],\"index_info\":[{\"id\":1,\"idx_name\":{\"O\":\"name\",\"L\":\"name\"},\"tbl_name\":{\"O\":\"\",\"L\":\"\"},\"idx_cols\":[{\"name\":{\"O\":\"name\",\"L\":\"name\"},\"offset\":1,\"length\":-1}],\"state\":5,\"comment\":\"\",\"index_type\":1,\"is_unique\":true,\"is_primary\":false,\"is_invisible\":false,\"is_global\":false}],\"constraint_info\":null,\"fk_info\":null,\"state\":5,\"pk_is_handle\":true,\"is_common_handle\":false,\"common_handle_version\":0,\"comment\":\"help topics\",\"auto_inc_id\":0,\"auto_id_cache\":0,\"auto_rand_id\":0,\"max_col_id\":6,\"max_idx_id\":1,\"max_cst_id\":0,\"update_timestamp\":429454907921399823,\"ShardRowIDBits\":0,\"max_shard_row_id_bits\":0,\"auto_random_bits\":0,\"pre_split_regions\":0,\"partition\":null,\"compression\":\"\",\"view\":null,\"sequence\":null,\"Lock\":null,\"version\":4,\"tiflash_replica\":null,\"is_columnar\":false,\"temp_table_type\":0,\"cache_table_status\":0,\"policy_ref_info\":null,\"placement_settings\":null,\"stats_options\":null,\"SchemaID\":3,\"TableName\":{\"db-name\":\"mysql\",\"tbl-name\":\"help_topic\",\"tbl-id\":0,\"is-partition\":false},\"TableInfoVersion\":429454923059953667,\"RowColumnsOffset\":{\"1\":0,\"2\":1,\"3\":2,\"4\":3,\"5\":4,\"6\":5},\"ColumnsFlag\":{\"1\":139,\"2\":16,\"3\":129,\"4\":0,\"5\":0,\"6\":0},\"HandleIndexID\":-1,\"IndexColumnsOffset\":[[0],[1]]}"]
[2021/11/30 10:50:59.360 +08:00] [DEBUG] [schema_storage.go:142] ["warpped table info"] [tableInfo="{\"id\":21,\"name\":{\"O\":\"stats_meta\",\"L\":\"stats_meta\"},\"charset\":\"utf8mb4\",\"collate\":\"utf8mb4_bin\",\"cols\":[{\"id\":1,\"name\":{\"O\":\"version\",\"L\":\"version\"},\"offset\":0,\"origin_default\":null,\"origin_default_bit\":null,\"default\":null,\"default_bit\":null,\"default_is_expr\":false,\"generated_expr_string\":\"\",\"generated_stored\":false,\"dependences\":null,\"type\":{\"Tp\":8,\"Flag\":4137,\"Flen\":64,\"Decimal\":0,\"Charset\":\"binary\",\"Collate\":\"binary\",\"Elems\":null},\"state\":5,\"comment\":\"\",\"hidden\":false,\"change_state_info\":null,\"version\":2},{\"id\":2,\"name\":{\"O\":\"table_id\",\"L\":\"table_id\"},\"offset\":1,\"origin_default\":null,\"origin_default_bit\":null,\"default\":null,\"default_bit\":null,\"default_is_expr\":false,\"generated_expr_string\":\"\",\"generated_stored\":false,\"dependences\":null,\"type\":{\"Tp\":8,\"Flag\":4101,\"Flen\":64,\"Decimal\":0,\"Charset\":\"binary\",\"Collate\":\"binary\",\"Elems\":null},\"state\":5,\"comment\":\"\",\"hidden\":false,\"change_state_info\":null,\"version\":2},{\"id\":3,\"name\":{\"O\":\"modify_count\",\"L\":\"modify_count\"},\"offset\":2,\"origin_default\":null,\"origin_default_bit\":null,\"default\":\"0\",\"default_bit\":null,\"default_is_expr\":false,\"generated_expr_string\":\"\",\"generated_stored\":false,\"dependences\":null,\"type\":{\"Tp\":8,\"Flag\":1,\"Flen\":64,\"Decimal\":0,\"Charset\":\"binary\",\"Collate\":\"binary\",\"Elems\":null},\"state\":5,\"comment\":\"\",\"hidden\":false,\"change_state_info\":null,\"version\":2},{\"id\":4,\"name\":{\"O\":\"count\",\"L\":\"count\"},\"offset\":3,\"origin_default\":null,\"origin_default_bit\":null,\"default\":\"0\",\"default_bit\":null,\"default_is_expr\":false,\"generated_expr_string\":\"\",\"generated_stored\":false,\"dependences\":null,\"type\":{\"Tp\":8,\"Flag\":33,\"Flen\":64,\"Decimal\":0,\"Charset\":\"binary\",\"Collate\":\"binary\",\"Elems\":null},\"state\":5,\"comment\":\"\",\"hidden\":false,\"change_state_info\":null,\"version\":2},{\"id\":5,\"name\":{\"O\":\"snapshot\",\"L\":\"snapshot\"},\"offset\":4,\"origin_default\":null,\"origin_default_bit\":null,\"default\":\"0\",\"default_bit\":null,\"default_is_expr\":false,\"generated_expr_string\":\"\",\"generated_stored\":false,\"dependences\":null,\"type\":{\"Tp\":8,\"Flag\":33,\"Flen\":64,\"Decimal\":0,\"Charset\":\"binary\",\"Collate\":\"binary\",\"Elems\":null},\"state\":5,\"comment\":\"\",\"hidden\":false,\"change_state_info\":null,\"version\":2}],\"index_info\":[{\"id\":1,\"idx_name\":{\"O\":\"idx_ver\",\"L\":\"idx_ver\"},\"tbl_name\":{\"O\":\"\",\"L\":\"\"},\"idx_cols\":[{\"name\":{\"O\":\"version\",\"L\":\"version\"},\"offset\":0,\"length\":-1}],\"state\":5,\"comment\":\"\",\"index_type\":1,\"is_unique\":false,\"is_primary\":false,\"is_invisible\":false,\"is_global\":false},{\"id\":2,\"idx_name\":{\"O\":\"tbl\",\"L\":\"tbl\"},\"tbl_name\":{\"O\":\"\",\"L\":\"\"},\"idx_cols\":[{\"name\":{\"O\":\"table_id\",\"L\":\"table_id\"},\"offset\":1,\"length\":-1}],\"state\":5,\"comment\":\"\",\"index_type\":1,\"is_unique\":true,\"is_primary\":false,\"is_invisible\":false,\"is_global\":false}],\"constraint_info\":null,\"fk_info\":null,\"state\":5,\"pk_is_handle\":false,\"is_common_handle\":false,\"common_handle_version\":0,\"comment\":\"\",\"auto_inc_id\":0,\"auto_id_cache\":0,\"auto_rand_id\":0,\"max_col_id\":5,\"max_idx_id\":2,\"max_cst_id\":0,\"update_timestamp\":429454907934507022,\"ShardRowIDBits\":0,\"max_shard_row_id_bits\":0,\"auto_random_bits\":0,\"pre_split_regions\":0,\"partition\":null,\"compression\":\"\",\"view\":null,\"sequence\":null,\"Lock\":null,\"version\":4,\"tiflash_replica\":null,\"is_columnar\":false,\"temp_table_type\":0,\"cache_table_status\":0,\"policy_ref_info\":null,\"placement_settings\":null,\"stats_options\":null,\"SchemaID\":3,\"TableName\":{\"db-name\":\"mysql\",\"tbl-name\":\"stats_meta\",\"tbl-id\":0,\"is-partition\":false},\"TableInfoVersion\":429454923059953667,\"RowColumnsOffset\":{\"1\":0,\"2\":1,\"3\":2,\"4\":3,\"5\":4},\"ColumnsFlag\":{\"1\":161,\"2\":19,\"3\":1,\"4\":129,\"5\":129},\"HandleIndexID\":2,\"IndexColumnsOffset\":[[1]]}"]
[2021/11/30 10:50:59.364 +08:00] [DEBUG] [schema_storage.go:142] ["warpped table info"] [tableInfo="{\"id\":23,\"name\":{\"O\":\"stats_histograms\",\"L\":\"stats_histograms\"},\"charset\":\"utf8mb4\",\"collate\":\"utf8mb4_bin\",\"cols\":[{\"id\":1,\"name\":{\"O\":\"table_id\",\"L\":\"table_id\"},\"offset\":0,\"origin_default\":null,\"origin_default_bit\":null,\"default\":null,\"default_bit\":null,\"default_is_expr\":false,\"generated_expr_string\":\"\",\"generated_stored\":false,\"dependences\":null,\"type\":{\"Tp\":8,\"Flag\":4105,\"Flen\":64,\"Decimal\":0,\"Charset\":\"binary\",\"Collate\":\"binary\",\"Elems\":null},\"state\":5,\"comment\":\"\",\"hidden\":false,\"change_state_info\":null,\"version\":2},{\"id\":2,\"name\":{\"O\":\"is_index\",\"L\":\"is_index\"},\"offset\":1,\"origin_default\":null,\"origin_default_bit\":null,\"default\":null,\"default_bit\":null,\"default_is_expr\":false,\"generated_expr_string\":\"\",\"generated_stored\":false,\"dependences\":null,\"type\":{\"Tp\":1,\"Flag\":4097,\"Flen\":2,\"Decimal\":0,\"Charset\":\"binary\",\"Collate\":\"binary\",\"Elems\":null},\"state\":5,\"comment\":\"\",\"hidden\":false,\"change_state_info\":null,\"version\":2},{\"id\":3,\"name\":{\"O\":\"hist_id\",\"L\":\"hist_id\"},\"offset\":2,\"origin_default\":null,\"origin_default_bit\":null,\"default\":null,\"default_bit\":null,\"default_is_expr\":false,\"generated_expr_string\":\"\",\"generated_stored\":false,\"dependences\":null,\"type\":{\"Tp\":8,\"Flag\":4097,\"Flen\":64,\"Decimal\":0,\"Charset\":\"binary\",\"Collate\":\"binary\",\"Elems\":null},\"state\":5,\"comment\":\"\",\"hidden\":false,\"change_state_info\":null,\"version\":2},{\"id\":4,\"name\":{\"O\":\"distinct_count\",\"L\":\"distinct_count\"},\"offset\":3,\"origin_default\":null,\"origin_default_bit\":null,\"default\":null,\"default_bit\":null,\"default_is_expr\":false,\"generated_expr_string\":\"\",\"generated_stored\":false,\"dependences\":null,\"type\":{\"Tp\":8,\"Flag\":4097,\"Flen\":64,\"Decimal\":0,\"Charset\":\"binary\",\"Collate\":\"binary\",\"Elems\":null},\"state\":5,\"comment\":\"\",\"hidden\":false,\"change_state_info\":null,\"version\":2},{\"id\":5,\"name\":{\"O\":\"null_count\",\"L\":\"null_count\"},\"offset\":4,\"origin_default\":null,\"origin_default_bit\":null,\"default\":\"0\",\"default_bit\":null,\"default_is_expr\":false,\"generated_expr_string\":\"\",\"generated_stored\":false,\"dependences\":null,\"type\":{\"Tp\":8,\"Flag\":1,\"Flen\":64,\"Decimal\":0,\"Charset\":\"binary\",\"Collate\":\"binary\",\"Elems\":null},\"state\":5,\"comment\":\"\",\"hidden\":false,\"change_state_info\":null,\"version\":2},{\"id\":6,\"name\":{\"O\":\"tot_col_size\",\"L\":\"tot_col_size\"},\"offset\":5,\"origin_default\":null,\"origin_default_bit\":null,\"default\":\"0\",\"default_bit\":null,\"default_is_expr\":false,\"generated_expr_string\":\"\",\"generated_stored\":false,\"dependences\":null,\"type\":{\"Tp\":8,\"Flag\":1,\"Flen\":64,\"Decimal\":0,\"Charset\":\"binary\",\"Collate\":\"binary\",\"Elems\":null},\"state\":5,\"comment\":\"\",\"hidden\":false,\"change_state_info\":null,\"version\":2},{\"id\":7,\"name\":{\"O\":\"modify_count\",\"L\":\"modify_count\"},\"offset\":6,\"origin_default\":null,\"origin_default_bit\":null,\"default\":\"0\",\"default_bit\":null,\"default_is_expr\":false,\"generated_expr_string\":\"\",\"generated_stored\":false,\"dependences\":null,\"type\":{\"Tp\":8,\"Flag\":1,\"Flen\":64,\"Decimal\":0,\"Charset\":\"binary\",\"Collate\":\"binary\",\"Elems\":null},\"state\":5,\"comment\":\"\",\"hidden\":false,\"change_state_info\":null,\"version\":2},{\"id\":8,\"name\":{\"O\":\"version\",\"L\":\"version\"},\"offset\":7,\"origin_default\":null,\"origin_default_bit\":null,\"default\":\"0\",\"default_bit\":null,\"default_is_expr\":false,\"generated_expr_string\":\"\",\"generated_stored\":false,\"dependences\":null,\"type\":{\"Tp\":8,\"Flag\":33,\"Flen\":64,\"Decimal\":0,\"Charset\":\"binary\",\"Collate\":\"binary\",\"Elems\":null},\"state\":5,\"comment\":\"\",\"hidden\":false,\"change_state_info\":null,\"version\":2},{\"id\":9,\"name\":{\"O\":\"cm_sketch\",\"L\":\"cm_sketch\"},\"offset\":8,\"origin_default\":null,\"origin_default_bit\":null,\"default\":null,\"default_bit\":null,\"default_is_expr\":false,\"generated_expr_string\":\"\",\"generated_stored\":false,\"dependences\":null,\"type\":{\"Tp\":250,\"Flag\":128,\"Flen\":16777215,\"Decimal\":0,\"Charset\":\"binary\",\"Collate\":\"binary\",\"Elems\":null},\"state\":5,\"comment\":\"\",\"hidden\":false,\"change_state_info\":null,\"version\":2},{\"id\":10,\"name\":{\"O\":\"stats_ver\",\"L\":\"stats_ver\"},\"offset\":9,\"origin_default\":null,\"origin_default_bit\":null,\"default\":\"0\",\"default_bit\":null,\"default_is_expr\":false,\"generated_expr_string\":\"\",\"generated_stored\":false,\"dependences\":null,\"type\":{\"Tp\":8,\"Flag\":1,\"Flen\":64,\"Decimal\":0,\"Charset\":\"binary\",\"Collate\":\"binary\",\"Elems\":null},\"state\":5,\"comment\":\"\",\"hidden\":false,\"change_state_info\":null,\"version\":2},{\"id\":11,\"name\":{\"O\":\"flag\",\"L\":\"flag\"},\"offset\":10,\"origin_default\":null,\"origin_default_bit\":null,\"default\":\"0\",\"default_bit\":null,\"default_is_expr\":false,\"generated_expr_string\":\"\",\"generated_stored\":false,\"dependences\":null,\"type\":{\"Tp\":8,\"Flag\":1,\"Flen\":64,\"Decimal\":0,\"Charset\":\"binary\",\"Collate\":\"binary\",\"Elems\":null},\"state\":5,\"comment\":\"\",\"hidden\":false,\"change_state_info\":null,\"version\":2},{\"id\":12,\"name\":{\"O\":\"correlation\",\"L\":\"correlation\"},\"offset\":11,\"origin_default\":null,\"origin_default_bit\":null,\"default\":\"0\",\"default_bit\":null,\"default_is_expr\":false,\"generated_expr_string\":\"\",\"generated_stored\":false,\"dependences\":null,\"type\":{\"Tp\":5,\"Flag\":1,\"Flen\":22,\"Decimal\":-1,\"Charset\":\"binary\",\"Collate\":\"binary\",\"Elems\":null},\"state\":5,\"comment\":\"\",\"hidden\":false,\"change_state_info\":null,\"version\":2},{\"id\":13,\"name\":{\"O\":\"last_analyze_pos\",\"L\":\"last_analyze_pos\"},\"offset\":12,\"origin_default\":null,\"origin_default_bit\":null,\"default\":null,\"default_bit\":null,\"default_is_expr\":false,\"generated_expr_string\":\"\",\"generated_stored\":false,\"dependences\":null,\"type\":{\"Tp\":252,\"Flag\":128,\"Flen\":65535,\"Decimal\":0,\"Charset\":\"binary\",\"Collate\":\"binary\",\"Elems\":null},\"state\":5,\"comment\":\"\",\"hidden\":false,\"change_state_info\":null,\"version\":2}],\"index_info\":[{\"id\":1,\"idx_name\":{\"O\":\"tbl\",\"L\":\"tbl\"},\"tbl_name\":{\"O\":\"\",\"L\":\"\"},\"idx_cols\":[{\"name\":{\"O\":\"table_id\",\"L\":\"table_id\"},\"offset\":0,\"length\":-1},{\"name\":{\"O\":\"is_index\",\"L\":\"is_index\"},\"offset\":1,\"length\":-1},{\"name\":{\"O\":\"hist_id\",\"L\":\"hist_id\"},\"offset\":2,\"length\":-1}],\"state\":5,\"comment\":\"\",\"index_type\":1,\"is_unique\":true,\"is_primary\":false,\"is_invisible\":false,\"is_global\":false}],\"constraint_info\":null,\"fk_info\":null,\"state\":5,\"pk_is_handle\":false,\"is_common_handle\":false,\"common_handle_version\":0,\"comment\":\"\",\"auto_inc_id\":0,\"auto_id_cache\":0,\"auto_rand_id\":0,\"max_col_id\":13,\"max_idx_id\":1,\"max_cst_id\":0,\"update_timestamp\":429454907973828622,\"ShardRowIDBits\":0,\"max_shard_row_id_bits\":0,\"auto_random_bits\":0,\"pre_split_regions\":0,\"partition\":null,\"compression\":\"\",\"view\":null,\"sequence\":null,\"Lock\":null,\"version\":4,\"tiflash_replica\":null,\"is_columnar\":false,\"temp_table_type\":0,\"cache_table_status\":0,\"policy_ref_info\":null,\"placement_settings\":null,\"stats_options\":null,\"SchemaID\":3,\"TableName\":{\"db-name\":\"mysql\",\"tbl-name\":\"stats_histograms\",\"tbl-id\":0,\"is-partition\":false},\"TableInfoVersion\":429454923059953667,\"RowColumnsOffset\":{\"1\":0,\"10\":9,\"11\":10,\"12\":11,\"13\":12,\"2\":1,\"3\":2,\"4\":3,\"5\":4,\"6\":5,\"7\":6,\"8\":7,\"9\":8},\"ColumnsFlag\":{\"1\":51,\"10\":1,\"11\":1,\"12\":1,\"13\":65,\"2\":51,\"3\":51,\"4\":1,\"5\":1,\"6\":1,\"7\":1,\"8\":129,\"9\":65},\"HandleIndexID\":1,\"IndexColumnsOffset\":[[0,1,2]]}"]
[2021/11/30 10:50:59.372 +08:00] [DEBUG] [schema_storage.go:142] ["warpped table info"] [tableInfo="{\"id\":25,\"name\":{\"O\":\"stats_buckets\",\"L\":\"stats_buckets\"},\"charset\":\"utf8mb4\",\"collate\":\"utf8mb4_bin\",\"cols\":[{\"id\":1,\"name\":{\"O\":\"table_id\",\"L\":\"table_id\"},\"offset\":0,\"origin_default\":null,\"origin_default_bit\":null,\"default\":null,\"default_bit\":null,\"default_is_expr\":false,\"generated_expr_string\":\"\",\"generated_stored\":false,\"dependences\":null,\"type\":{\"Tp\":8,\"Flag\":4105,\"Flen\":64,\"Decimal\":0,\"Charset\":\"binary\",\"Collate\":\"binary\",\"Elems\":null},\"state\":5,\"comment\":\"\",\"hidden\":false,\"change_state_info\":null,\"version\":2},{\"id\":2,\"name\":{\"O\":\"is_index\",\"L\":\"is_index\"},\"offset\":1,\"origin_default\":null,\"origin_default_bit\":null,\"default\":null,\"default_bit\":null,\"default_is_expr\":false,\"generated_expr_string\":\"\",\"generated_stored\":false,\"dependences\":null,\"type\":{\"Tp\":1,\"Flag\":4097,\"Flen\":2,\"Decimal\":0,\"Charset\":\"binary\",\"Collate\":\"binary\",\"Elems\":null},\"state\":5,\"comment\":\"\",\"hidden\":false,\"change_state_info\":null,\"version\":2},{\"id\":3,\"name\":{\"O\":\"hist_id\",\"L\":\"hist_id\"},\"offset\":2,\"origin_default\":null,\"origin_default_bit\":null,\"default\":null,\"default_bit\":null,\"default_is_expr\":false,\"generated_expr_string\":\"\",\"generated_stored\":false,\"dependences\":null,\"type\":{\"Tp\":8,\"Flag\":4097,\"Flen\":64,\"Decimal\":0,\"Charset\":\"binary\",\"Collate\":\"binary\",\"Elems\":null},\"state\":5,\"comment\":\"\",\"hidden\":false,\"change_state_info\":null,\"version\":2},{\"id\":4,\"name\":{\"O\":\"bucket_id\",\"L\":\"bucket_id\"},\"offset\":3,\"origin_default\":null,\"origin_default_bit\":null,\"default\":null,\"default_bit\":null,\"default_is_expr\":false,\"generated_expr_string\":\"\",\"generated_stored\":false,\"dependences\":null,\"type\":{\"Tp\":8,\"Flag\":4097,\"Flen\":64,\"Decimal\":0,\"Charset\":\"binary\",\"Collate\":\"binary\",\"Elems\":null},\"state\":5,\"comment\":\"\",\"hidden\":false,\"change_state_info\":null,\"version\":2},{\"id\":5,\"name\":{\"O\":\"count\",\"L\":\"count\"},\"offset\":4,\"origin_default\":null,\"origin_default_bit\":null,\"default\":null,\"default_bit\":null,\"default_is_expr\":false,\"generated_expr_string\":\"\",\"generated_stored\":false,\"dependences\":null,\"type\":{\"Tp\":8,\"Flag\":4097,\"Flen\":64,\"Decimal\":0,\"Charset\":\"binary\",\"Collate\":\"binary\",\"Elems\":null},\"state\":5,\"comment\":\"\",\"hidden\":false,\"change_state_info\":null,\"version\":2},{\"id\":6,\"name\":{\"O\":\"repeats\",\"L\":\"repeats\"},\"offset\":5,\"origin_default\":null,\"origin_default_bit\":null,\"default\":null,\"default_bit\":null,\"default_is_expr\":false,\"generated_expr_string\":\"\",\"generated_stored\":false,\"dependences\":null,\"type\":{\"Tp\":8,\"Flag\":4097,\"Flen\":64,\"Decimal\":0,\"Charset\":\"binary\",\"Collate\":\"binary\",\"Elems\":null},\"state\":5,\"comment\":\"\",\"hidden\":false,\"change_state_info\":null,\"version\":2},{\"id\":7,\"name\":{\"O\":\"upper_bound\",\"L\":\"upper_bound\"},\"offset\":6,\"origin_default\":null,\"origin_default_bit\":null,\"default\":null,\"default_bit\":null,\"default_is_expr\":false,\"generated_expr_string\":\"\",\"generated_stored\":false,\"dependences\":null,\"type\":{\"Tp\":252,\"Flag\":4225,\"Flen\":65535,\"Decimal\":0,\"Charset\":\"binary\",\"Collate\":\"binary\",\"Elems\":null},\"state\":5,\"comment\":\"\",\"hidden\":false,\"change_state_info\":null,\"version\":2},{\"id\":8,\"name\":{\"O\":\"lower_bound\",\"L\":\"lower_bound\"},\"offset\":7,\"origin_default\":null,\"origin_default_bit\":null,\"default\":null,\"default_bit\":null,\"default_is_expr\":false,\"generated_expr_string\":\"\",\"generated_stored\":false,\"dependences\":null,\"type\":{\"Tp\":252,\"Flag\":128,\"Flen\":65535,\"Decimal\":0,\"Charset\":\"binary\",\"Collate\":\"binary\",\"Elems\":null},\"state\":5,\"comment\":\"\",\"hidden\":false,\"change_state_info\":null,\"version\":2},{\"id\":9,\"name\":{\"O\":\"ndv\",\"L\":\"ndv\"},\"offset\":8,\"origin_default\":null,\"origin_default_bit\":null,\"default\":\"0\",\"default_bit\":null,\"default_is_expr\":false,\"generated_expr_string\":\"\",\"generated_stored\":false,\"dependences\":null,\"type\":{\"Tp\":8,\"Flag\":1,\"Flen\":20,\"Decimal\":0,\"Charset\":\"binary\",\"Collate\":\"binary\",\"Elems\":null},\"state\":5,\"comment\":\"\",\"hidden\":false,\"change_state_info\":null,\"version\":2}],\"index_info\":[{\"id\":1,\"idx_name\":{\"O\":\"tbl\",\"L\":\"tbl\"},\"tbl_name\":{\"O\":\"\",\"L\":\"\"},\"idx_cols\":[{\"name\":{\"O\":\"table_id\",\"L\":\"table_id\"},\"offset\":0,\"length\":-1},{\"name\":{\"O\":\"is_index\",\"L\":\"is_index\"},\"offset\":1,\"length\":-1},{\"name\":{\"O\":\"hist_id\",\"L\":\"hist_id\"},\"offset\":2,\"length\":-1},{\"name\":{\"O\":\"bucket_id\",\"L\":\"bucket_id\"},\"offset\":3,\"length\":-1}],\"state\":5,\"comment\":\"\",\"index_type\":1,\"is_unique\":true,\"is_primary\":false,\"is_invisible\":false,\"is_global\":false}],\"constraint_info\":null,\"fk_info\":null,\"state\":5,\"pk_is_handle\":false,\"is_common_handle\":false,\"common_handle_version\":0,\"comment\":\"\",\"auto_inc_id\":0,\"auto_id_cache\":0,\"auto_rand_id\":0,\"max_col_id\":9,\"max_idx_id\":1,\"max_cst_id\":0,\"update_timestamp\":429454908000043021,\"ShardRowIDBits\":0,\"max_shard_row_id_bits\":0,\"auto_random_bits\":0,\"pre_split_regions\":0,\"partition\":null,\"compression\":\"\",\"view\":null,\"sequence\":null,\"Lock\":null,\"version\":4,\"tiflash_replica\":null,\"is_columnar\":false,\"temp_table_type\":0,\"cache_table_status\":0,\"policy_ref_info\":null,\"placement_settings\":null,\"stats_options\":null,\"SchemaID\":3,\"TableName\":{\"db-name\":\"mysql\",\"tbl-name\":\"stats_buckets\",\"tbl-id\":0,\"is-partition\":false},\"TableInfoVersion\":429454923059953667,\"RowColumnsOffset\":{\"1\":0,\"2\":1,\"3\":2,\"4\":3,\"5\":4,\"6\":5,\"7\":6,\"8\":7,\"9\":8},\"ColumnsFlag\":{\"1\":51,\"2\":51,\"3\":51,\"4\":51,\"5\":1,\"6\":1,\"7\":1,\"8\":65,\"9\":1},\"HandleIndexID\":1,\"IndexColumnsOffset\":[[0,1,2,3]]}"]
[2021/11/30 10:50:59.377 +08:00] [DEBUG] [schema_storage.go:142] ["warpped table info"] [tableInfo="{\"id\":27,\"name\":{\"O\":\"gc_delete_range\",\"L\":\"gc_delete_range\"},\"charset\":\"utf8mb4\",\"collate\":\"utf8mb4_bin\",\"cols\":[{\"id\":1,\"name\":{\"O\":\"job_id\",\"L\":\"job_id\"},\"offset\":0,\"origin_default\":null,\"origin_default_bit\":null,\"default\":null,\"default_bit\":null,\"default_is_expr\":false,\"generated_expr_string\":\"\",\"generated_stored\":false,\"dependences\":null,\"type\":{\"Tp\":8,\"Flag\":4105,\"Flen\":20,\"Decimal\":0,\"Charset\":\"binary\",\"Collate\":\"binary\",\"Elems\":null},\"state\":5,\"comment\":\"the DDL job ID\",\"hidden\":false,\"change_state_info\":null,\"version\":2},{\"id\":2,\"name\":{\"O\":\"element_id\",\"L\":\"element_id\"},\"offset\":1,\"origin_default\":null,\"origin_default_bit\":null,\"default\":null,\"default_bit\":null,\"default_is_expr\":false,\"generated_expr_string\":\"\",\"generated_stored\":false,\"dependences\":null,\"type\":{\"Tp\":8,\"Flag\":4097,\"Flen\":20,\"Decimal\":0,\"Charset\":\"binary\",\"Collate\":\"binary\",\"Elems\":null},\"state\":5,\"comment\":\"the schema element ID\",\"hidden\":false,\"change_state_info\":null,\"version\":2},{\"id\":3,\"name\":{\"O\":\"start_key\",\"L\":\"start_key\"},\"offset\":2,\"origin_default\":null,\"origin_default_bit\":null,\"default\":null,\"default_bit\":null,\"default_is_expr\":false,\"generated_expr_string\":\"\",\"generated_stored\":false,\"dependences\":null,\"type\":{\"Tp\":15,\"Flag\":4097,\"Flen\":255,\"Decimal\":0,\"Charset\":\"utf8mb4\",\"Collate\":\"utf8mb4_bin\",\"Elems\":null},\"state\":5,\"comment\":\"encoded in hex\",\"hidden\":false,\"change_state_info\":null,\"version\":2},{\"id\":4,\"name\":{\"O\":\"end_key\",\"L\":\"end_key\"},\"offset\":3,\"origin_default\":null,\"origin_default_bit\":null,\"default\":null,\"default_bit\":null,\"default_is_expr\":false,\"generated_expr_string\":\"\",\"generated_stored\":false,\"dependences\":null,\"type\":{\"Tp\":15,\"Flag\":4097,\"Flen\":255,\"Decimal\":0,\"Charset\":\"utf8mb4\",\"Collate\":\"utf8mb4_bin\",\"Elems\":null},\"state\":5,\"comment\":\"encoded in hex\",\"hidden\":false,\"change_state_info\":null,\"version\":2},{\"id\":5,\"name\":{\"O\":\"ts\",\"L\":\"ts\"},\"offset\":4,\"origin_default\":null,\"origin_default_bit\":null,\"default\":null,\"default_bit\":null,\"default_is_expr\":false,\"generated_expr_string\":\"\",\"generated_stored\":false,\"dependences\":null,\"type\":{\"Tp\":8,\"Flag\":4097,\"Flen\":20,\"Decimal\":0,\"Charset\":\"binary\",\"Collate\":\"binary\",\"Elems\":null},\"state\":5,\"comment\":\"timestamp in uint64\",\"hidden\":false,\"change_state_info\":null,\"version\":2}],\"index_info\":[{\"id\":1,\"idx_name\":{\"O\":\"delete_range_index\",\"L\":\"delete_range_index\"},\"tbl_name\":{\"O\":\"\",\"L\":\"\"},\"idx_cols\":[{\"name\":{\"O\":\"job_id\",\"L\":\"job_id\"},\"offset\":0,\"length\":-1},{\"name\":{\"O\":\"element_id\",\"L\":\"element_id\"},\"offset\":1,\"length\":-1}],\"state\":5,\"comment\":\"\",\"index_type\":1,\"is_unique\":true,\"is_primary\":false,\"is_invisible\":false,\"is_global\":false}],\"constraint_info\":null,\"fk_info\":null,\"state\":5,\"pk_is_handle\":false,\"is_common_handle\":false,\"common_handle_version\":0,\"comment\":\"\",\"auto_inc_id\":0,\"auto_id_cache\":0,\"auto_rand_id\":0,\"max_col_id\":5,\"max_idx_id\":1,\"max_cst_id\":0,\"update_timestamp\":429454908026257422,\"ShardRowIDBits\":0,\"max_shard_row_id_bits\":0,\"auto_random_bits\":0,\"pre_split_regions\":0,\"partition\":null,\"compression\":\"\",\"view\":null,\"sequence\":null,\"Lock\":null,\"version\":4,\"tiflash_replica\":null,\"is_columnar\":false,\"temp_table_type\":0,\"cache_table_status\":0,\"policy_ref_info\":null,\"placement_settings\":null,\"stats_options\":null,\"SchemaID\":3,\"TableName\":{\"db-name\":\"mysql\",\"tbl-name\":\"gc_delete_range\",\"tbl-id\":0,\"is-partition\":false},\"TableInfoVersion\":429454923059953667,\"RowColumnsOffset\":{\"1\":0,\"2\":1,\"3\":2,\"4\":3,\"5\":4},\"ColumnsFlag\":{\"1\":51,\"2\":51,\"3\":0,\"4\":0,\"5\":1},\"HandleIndexID\":1,\"IndexColumnsOffset\":[[0,1]]}"]
[2021/11/30 10:50:59.388 +08:00] [DEBUG] [schema_storage.go:142] ["warpped table info"] [tableInfo="{\"id\":29,\"name\":{\"O\":\"gc_delete_range_done\",\"L\":\"gc_delete_range_done\"},\"charset\":\"utf8mb4\",\"collate\":\"utf8mb4_bin\",\"cols\":[{\"id\":1,\"name\":{\"O\":\"job_id\",\"L\":\"job_id\"},\"offset\":0,\"origin_default\":null,\"origin_default_bit\":null,\"default\":null,\"default_bit\":null,\"default_is_expr\":false,\"generated_expr_string\":\"\",\"generated_stored\":false,\"dependences\":null,\"type\":{\"Tp\":8,\"Flag\":4105,\"Flen\":20,\"Decimal\":0,\"Charset\":\"binary\",\"Collate\":\"binary\",\"Elems\":null},\"state\":5,\"comment\":\"the DDL job ID\",\"hidden\":false,\"change_state_info\":null,\"version\":2},{\"id\":2,\"name\":{\"O\":\"element_id\",\"L\":\"element_id\"},\"offset\":1,\"origin_default\":null,\"origin_default_bit\":null,\"default\":null,\"default_bit\":null,\"default_is_expr\":false,\"generated_expr_string\":\"\",\"generated_stored\":false,\"dependences\":null,\"type\":{\"Tp\":8,\"Flag\":4097,\"Flen\":20,\"Decimal\":0,\"Charset\":\"binary\",\"Collate\":\"binary\",\"Elems\":null},\"state\":5,\"comment\":\"the schema element ID\",\"hidden\":false,\"change_state_info\":null,\"version\":2},{\"id\":3,\"name\":{\"O\":\"start_key\",\"L\":\"start_key\"},\"offset\":2,\"origin_default\":null,\"origin_default_bit\":null,\"default\":null,\"default_bit\":null,\"default_is_expr\":false,\"generated_expr_string\":\"\",\"generated_stored\":false,\"dependences\":null,\"type\":{\"Tp\":15,\"Flag\":4097,\"Flen\":255,\"Decimal\":0,\"Charset\":\"utf8mb4\",\"Collate\":\"utf8mb4_bin\",\"Elems\":null},\"state\":5,\"comment\":\"encoded in hex\",\"hidden\":false,\"change_state_info\":null,\"version\":2},{\"id\":4,\"name\":{\"O\":\"end_key\",\"L\":\"end_key\"},\"offset\":3,\"origin_default\":null,\"origin_default_bit\":null,\"default\":null,\"default_bit\":null,\"default_is_expr\":false,\"generated_expr_string\":\"\",\"generated_stored\":false,\"dependences\":null,\"type\":{\"Tp\":15,\"Flag\":4097,\"Flen\":255,\"Decimal\":0,\"Charset\":\"utf8mb4\",\"Collate\":\"utf8mb4_bin\",\"Elems\":null},\"state\":5,\"comment\":\"encoded in hex\",\"hidden\":false,\"change_state_info\":null,\"version\":2},{\"id\":5,\"name\":{\"O\":\"ts\",\"L\":\"ts\"},\"offset\":4,\"origin_default\":null,\"origin_default_bit\":null,\"default\":null,\"default_bit\":null,\"default_is_expr\":false,\"generated_expr_string\":\"\",\"generated_stored\":false,\"dependences\":null,\"type\":{\"Tp\":8,\"Flag\":4097,\"Flen\":20,\"Decimal\":0,\"Charset\":\"binary\",\"Collate\":\"binary\",\"Elems\":null},\"state\":5,\"comment\":\"timestamp in uint64\",\"hidden\":false,\"change_state_info\":null,\"version\":2}],\"index_info\":[{\"id\":1,\"idx_name\":{\"O\":\"delete_range_done_index\",\"L\":\"delete_range_done_index\"},\"tbl_name\":{\"O\":\"\",\"L\":\"\"},\"idx_cols\":[{\"name\":{\"O\":\"job_id\",\"L\":\"job_id\"},\"offset\":0,\"length\":-1},{\"name\":{\"O\":\"element_id\",\"L\":\"element_id\"},\"offset\":1,\"length\":-1}],\"state\":5,\"comment\":\"\",\"index_type\":1,\"is_unique\":true,\"is_primary\":false,\"is_invisible\":false,\"is_global\":false}],\"constraint_info\":null,\"fk_info\":null,\"state\":5,\"pk_is_handle\":false,\"is_common_handle\":false,\"common_handle_version\":0,\"comment\":\"\",\"auto_inc_id\":0,\"auto_id_cache\":0,\"auto_rand_id\":0,\"max_col_id\":5,\"max_idx_id\":1,\"max_cst_id\":0,\"update_timestamp\":429454908065579018,\"ShardRowIDBits\":0,\"max_shard_row_id_bits\":0,\"auto_random_bits\":0,\"pre_split_regions\":0,\"partition\":null,\"compression\":\"\",\"view\":null,\"sequence\":null,\"Lock\":null,\"version\":4,\"tiflash_replica\":null,\"is_columnar\":false,\"temp_table_type\":0,\"cache_table_status\":0,\"policy_ref_info\":null,\"placement_settings\":null,\"stats_options\":null,\"SchemaID\":3,\"TableName\":{\"db-name\":\"mysql\",\"tbl-name\":\"gc_delete_range_done\",\"tbl-id\":0,\"is-partition\":false},\"TableInfoVersion\":429454923059953667,\"RowColumnsOffset\":{\"1\":0,\"2\":1,\"3\":2,\"4\":3,\"5\":4},\"ColumnsFlag\":{\"1\":51,\"2\":51,\"3\":0,\"4\":0,\"5\":1},\"HandleIndexID\":1,\"IndexColumnsOffset\":[[0,1]]}"]
[2021/11/30 10:50:59.393 +08:00] [DEBUG] [schema_storage.go:142] ["warpped table info"] [tableInfo="{\"id\":31,\"name\":{\"O\":\"stats_feedback\",\"L\":\"stats_feedback\"},\"charset\":\"utf8mb4\",\"collate\":\"utf8mb4_bin\",\"cols\":[{\"id\":1,\"name\":{\"O\":\"table_id\",\"L\":\"table_id\"},\"offset\":0,\"origin_default\":null,\"origin_default_bit\":null,\"default\":null,\"default_bit\":null,\"default_is_expr\":false,\"generated_expr_string\":\"\",\"generated_stored\":false,\"dependences\":null,\"type\":{\"Tp\":8,\"Flag\":4105,\"Flen\":64,\"Decimal\":0,\"Charset\":\"binary\",\"Collate\":\"binary\",\"Elems\":null},\"state\":5,\"comment\":\"\",\"hidden\":false,\"change_state_info\":null,\"version\":2},{\"id\":2,\"name\":{\"O\":\"is_index\",\"L\":\"is_index\"},\"offset\":1,\"origin_default\":null,\"origin_default_bit\":null,\"default\":null,\"default_bit\":null,\"default_is_expr\":false,\"generated_expr_string\":\"\",\"generated_stored\":false,\"dependences\":null,\"type\":{\"Tp\":1,\"Flag\":4097,\"Flen\":2,\"Decimal\":0,\"Charset\":\"binary\",\"Collate\":\"binary\",\"Elems\":null},\"state\":5,\"comment\":\"\",\"hidden\":false,\"change_state_info\":null,\"version\":2},{\"id\":3,\"name\":{\"O\":\"hist_id\",\"L\":\"hist_id\"},\"offset\":2,\"origin_default\":null,\"origin_default_bit\":null,\"default\":null,\"default_bit\":null,\"default_is_expr\":false,\"generated_expr_string\":\"\",\"generated_stored\":false,\"dependences\":null,\"type\":{\"Tp\":8,\"Flag\":4097,\"Flen\":64,\"Decimal\":0,\"Charset\":\"binary\",\"Collate\":\"binary\",\"Elems\":null},\"state\":5,\"comment\":\"\",\"hidden\":false,\"change_state_info\":null,\"version\":2},{\"id\":4,\"name\":{\"O\":\"feedback\",\"L\":\"feedback\"},\"offset\":3,\"origin_default\":null,\"origin_default_bit\":null,\"default\":null,\"default_bit\":null,\"default_is_expr\":false,\"generated_expr_string\":\"\",\"generated_stored\":false,\"dependences\":null,\"type\":{\"Tp\":252,\"Flag\":4225,\"Flen\":65535,\"Decimal\":0,\"Charset\":\"binary\",\"Collate\":\"binary\",\"Elems\":null},\"state\":5,\"comment\":\"\",\"hidden\":false,\"change_state_info\":null,\"version\":2}],\"index_info\":[{\"id\":1,\"idx_name\":{\"O\":\"hist\",\"L\":\"hist\"},\"tbl_name\":{\"O\":\"\",\"L\":\"\"},\"idx_cols\":[{\"name\":{\"O\":\"table_id\",\"L\":\"table_id\"},\"offset\":0,\"length\":-1},{\"name\":{\"O\":\"is_index\",\"L\":\"is_index\"},\"offset\":1,\"length\":-1},{\"name\":{\"O\":\"hist_id\",\"L\":\"hist_id\"},\"offset\":2,\"length\":-1}],\"state\":5,\"comment\":\"\",\"index_type\":1,\"is_unique\":false,\"is_primary\":false,\"is_invisible\":false,\"is_global\":false}],\"constraint_info\":null,\"fk_info\":null,\"state\":5,\"pk_is_handle\":false,\"is_common_handle\":false,\"common_handle_version\":0,\"comment\":\"\",\"auto_inc_id\":0,\"auto_id_cache\":0,\"auto_rand_id\":0,\"max_col_id\":4,\"max_idx_id\":1,\"max_cst_id\":0,\"update_timestamp\":429454908078686222,\"ShardRowIDBits\":0,\"max_shard_row_id_bits\":0,\"auto_random_bits\":0,\"pre_split_regions\":0,\"partition\":null,\"compression\":\"\",\"view\":null,\"sequence\":null,\"Lock\":null,\"version\":4,\"tiflash_replica\":null,\"is_columnar\":false,\"temp_table_type\":0,\"cache_table_status\":0,\"policy_ref_info\":null,\"placement_settings\":null,\"stats_options\":null,\"SchemaID\":3,\"TableName\":{\"db-name\":\"mysql\",\"tbl-name\":\"stats_feedback\",\"tbl-id\":0,\"is-partition\":false},\"TableInfoVersion\":429454923059953667,\"RowColumnsOffset\":{\"1\":0,\"2\":1,\"3\":2,\"4\":3},\"ColumnsFlag\":{\"1\":33,\"2\":33,\"3\":33,\"4\":1},\"HandleIndexID\":-2,\"IndexColumnsOffset\":null}"]
[2021/11/30 10:50:59.396 +08:00] [DEBUG] [schema_storage.go:142] ["warpped table info"] [tableInfo="{\"id\":33,\"name\":{\"O\":\"role_edges\",\"L\":\"role_edges\"},\"charset\":\"utf8mb4\",\"collate\":\"utf8mb4_bin\",\"cols\":[{\"id\":1,\"name\":{\"O\":\"FROM_HOST\",\"L\":\"from_host\"},\"offset\":0,\"origin_default\":null,\"origin_default_bit\":null,\"default\":\"\",\"default_bit\":null,\"default_is_expr\":false,\"generated_expr_string\":\"\",\"generated_stored\":false,\"dependences\":null,\"type\":{\"Tp\":254,\"Flag\":3,\"Flen\":60,\"Decimal\":0,\"Charset\":\"utf8\",\"Collate\":\"utf8_bin\",\"Elems\":null},\"state\":5,\"comment\":\"\",\"hidden\":false,\"change_state_info\":null,\"version\":2},{\"id\":2,\"name\":{\"O\":\"FROM_USER\",\"L\":\"from_user\"},\"offset\":1,\"origin_default\":null,\"origin_default_bit\":null,\"default\":\"\",\"default_bit\":null,\"default_is_expr\":false,\"generated_expr_string\":\"\",\"generated_stored\":false,\"dependences\":null,\"type\":{\"Tp\":254,\"Flag\":3,\"Flen\":32,\"Decimal\":0,\"Charset\":\"utf8\",\"Collate\":\"utf8_bin\",\"Elems\":null},\"state\":5,\"comment\":\"\",\"hidden\":false,\"change_state_info\":null,\"version\":2},{\"id\":3,\"name\":{\"O\":\"TO_HOST\",\"L\":\"to_host\"},\"offset\":2,\"origin_default\":null,\"origin_default_bit\":null,\"default\":\"\",\"default_bit\":null,\"default_is_expr\":false,\"generated_expr_string\":\"\",\"generated_stored\":false,\"dependences\":null,\"type\":{\"Tp\":254,\"Flag\":3,\"Flen\":60,\"Decimal\":0,\"Charset\":\"utf8\",\"Collate\":\"utf8_bin\",\"Elems\":null},\"state\":5,\"comment\":\"\",\"hidden\":false,\"change_state_info\":null,\"version\":2},{\"id\":4,\"name\":{\"O\":\"TO_USER\",\"L\":\"to_user\"},\"offset\":3,\"origin_default\":null,\"origin_default_bit\":null,\"default\":\"\",\"default_bit\":null,\"default_is_expr\":false,\"generated_expr_string\":\"\",\"generated_stored\":false,\"dependences\":null,\"type\":{\"Tp\":254,\"Flag\":3,\"Flen\":32,\"Decimal\":0,\"Charset\":\"utf8\",\"Collate\":\"utf8_bin\",\"Elems\":null},\"state\":5,\"comment\":\"\",\"hidden\":false,\"change_state_info\":null,\"version\":2},{\"id\":5,\"name\":{\"O\":\"WITH_ADMIN_OPTION\",\"L\":\"with_admin_option\"},\"offset\":4,\"origin_default\":null,\"origin_default_bit\":null,\"default\":\"N\",\"default_bit\":null,\"default_is_expr\":false,\"generated_expr_string\":\"\",\"generated_stored\":false,\"dependences\":null,\"type\":{\"Tp\":247,\"Flag\":1,\"Flen\":1,\"Decimal\":0,\"Charset\":\"utf8\",\"Collate\":\"utf8_general_ci\",\"Elems\":[\"N\",\"Y\"]},\"state\":5,\"comment\":\"\",\"hidden\":false,\"change_state_info\":null,\"version\":2}],\"index_info\":[{\"id\":1,\"idx_name\":{\"O\":\"PRIMARY\",\"L\":\"primary\"},\"tbl_name\":{\"O\":\"\",\"L\":\"\"},\"idx_cols\":[{\"name\":{\"O\":\"FROM_HOST\",\"L\":\"from_host\"},\"offset\":0,\"length\":-1},{\"name\":{\"O\":\"FROM_USER\",\"L\":\"from_user\"},\"offset\":1,\"length\":-1},{\"name\":{\"O\":\"TO_HOST\",\"L\":\"to_host\"},\"offset\":2,\"length\":-1},{\"name\":{\"O\":\"TO_USER\",\"L\":\"to_user\"},\"offset\":3,\"length\":-1}],\"state\":5,\"comment\":\"\",\"index_type\":1,\"is_unique\":true,\"is_primary\":true,\"is_invisible\":false,\"is_global\":false}],\"constraint_info\":null,\"fk_info\":null,\"state\":5,\"pk_is_handle\":false,\"is_common_handle\":false,\"common_handle_version\":0,\"comment\":\"\",\"auto_inc_id\":0,\"auto_id_cache\":0,\"auto_rand_id\":0,\"max_col_id\":5,\"max_idx_id\":1,\"max_cst_id\":0,\"update_timestamp\":429454908118007823,\"ShardRowIDBits\":0,\"max_shard_row_id_bits\":0,\"auto_random_bits\":0,\"pre_split_regions\":0,\"partition\":null,\"compression\":\"\",\"view\":null,\"sequence\":null,\"Lock\":null,\"version\":4,\"tiflash_replica\":null,\"is_columnar\":false,\"temp_table_type\":0,\"cache_table_status\":0,\"policy_ref_info\":null,\"placement_settings\":null,\"stats_options\":null,\"SchemaID\":3,\"TableName\":{\"db-name\":\"mysql\",\"tbl-name\":\"role_edges\",\"tbl-id\":0,\"is-partition\":false},\"TableInfoVersion\":429454923059953667,\"RowColumnsOffset\":{\"1\":0,\"2\":1,\"3\":2,\"4\":3,\"5\":4},\"ColumnsFlag\":{\"1\":58,\"2\":58,\"3\":58,\"4\":58,\"5\":0},\"HandleIndexID\":1,\"IndexColumnsOffset\":[[0,1,2,3]]}"]
[2021/11/30 10:50:59.400 +08:00] [DEBUG] [schema_storage.go:142] ["warpped table info"] [tableInfo="{\"id\":35,\"name\":{\"O\":\"default_roles\",\"L\":\"default_roles\"},\"charset\":\"utf8mb4\",\"collate\":\"utf8mb4_bin\",\"cols\":[{\"id\":1,\"name\":{\"O\":\"HOST\",\"L\":\"host\"},\"offset\":0,\"origin_default\":null,\"origin_default_bit\":null,\"default\":\"\",\"default_bit\":null,\"default_is_expr\":false,\"generated_expr_string\":\"\",\"generated_stored\":false,\"dependences\":null,\"type\":{\"Tp\":254,\"Flag\":3,\"Flen\":60,\"Decimal\":0,\"Charset\":\"utf8\",\"Collate\":\"utf8_bin\",\"Elems\":null},\"state\":5,\"comment\":\"\",\"hidden\":false,\"change_state_info\":null,\"version\":2},{\"id\":2,\"name\":{\"O\":\"USER\",\"L\":\"user\"},\"offset\":1,\"origin_default\":null,\"origin_default_bit\":null,\"default\":\"\",\"default_bit\":null,\"default_is_expr\":false,\"generated_expr_string\":\"\",\"generated_stored\":false,\"dependences\":null,\"type\":{\"Tp\":254,\"Flag\":3,\"Flen\":32,\"Decimal\":0,\"Charset\":\"utf8\",\"Collate\":\"utf8_bin\",\"Elems\":null},\"state\":5,\"comment\":\"\",\"hidden\":false,\"change_state_info\":null,\"version\":2},{\"id\":3,\"name\":{\"O\":\"DEFAULT_ROLE_HOST\",\"L\":\"default_role_host\"},\"offset\":2,\"origin_default\":null,\"origin_default_bit\":null,\"default\":\"%\",\"default_bit\":null,\"default_is_expr\":false,\"generated_expr_string\":\"\",\"generated_stored\":false,\"dependences\":null,\"type\":{\"Tp\":254,\"Flag\":3,\"Flen\":60,\"Decimal\":0,\"Charset\":\"utf8\",\"Collate\":\"utf8_bin\",\"Elems\":null},\"state\":5,\"comment\":\"\",\"hidden\":false,\"change_state_info\":null,\"version\":2},{\"id\":4,\"name\":{\"O\":\"DEFAULT_ROLE_USER\",\"L\":\"default_role_user\"},\"offset\":3,\"origin_default\":null,\"origin_default_bit\":null,\"default\":\"\",\"default_bit\":null,\"default_is_expr\":false,\"generated_expr_string\":\"\",\"generated_stored\":false,\"dependences\":null,\"type\":{\"Tp\":254,\"Flag\":3,\"Flen\":32,\"Decimal\":0,\"Charset\":\"utf8\",\"Collate\":\"utf8_bin\",\"Elems\":null},\"state\":5,\"comment\":\"\",\"hidden\":false,\"change_state_info\":null,\"version\":2}],\"index_info\":[{\"id\":1,\"idx_name\":{\"O\":\"PRIMARY\",\"L\":\"primary\"},\"tbl_name\":{\"O\":\"\",\"L\":\"\"},\"idx_cols\":[{\"name\":{\"O\":\"HOST\",\"L\":\"host\"},\"offset\":0,\"length\":-1},{\"name\":{\"O\":\"USER\",\"L\":\"user\"},\"offset\":1,\"length\":-1},{\"name\":{\"O\":\"DEFAULT_ROLE_HOST\",\"L\":\"default_role_host\"},\"offset\":2,\"length\":-1},{\"name\":{\"O\":\"DEFAULT_ROLE_USER\",\"L\":\"default_role_user\"},\"offset\":3,\"length\":-1}],\"state\":5,\"comment\":\"\",\"index_type\":1,\"is_unique\":true,\"is_primary\":true,\"is_invisible\":false,\"is_global\":false}],\"constraint_info\":null,\"fk_info\":null,\"state\":5,\"pk_is_handle\":false,\"is_common_handle\":false,\"common_handle_version\":0,\"comment\":\"\",\"auto_inc_id\":0,\"auto_id_cache\":0,\"auto_rand_id\":0,\"max_col_id\":4,\"max_idx_id\":1,\"max_cst_id\":0,\"update_timestamp\":429454908131115022,\"ShardRowIDBits\":0,\"max_shard_row_id_bits\":0,\"auto_random_bits\":0,\"pre_split_regions\":0,\"partition\":null,\"compression\":\"\",\"view\":null,\"sequence\":null,\"Lock\":null,\"version\":4,\"tiflash_replica\":null,\"is_columnar\":false,\"temp_table_type\":0,\"cache_table_status\":0,\"policy_ref_info\":null,\"placement_settings\":null,\"stats_options\":null,\"SchemaID\":3,\"TableName\":{\"db-name\":\"mysql\",\"tbl-name\":\"default_roles\",\"tbl-id\":0,\"is-partition\":false},\"TableInfoVersion\":429454923059953667,\"RowColumnsOffset\":{\"1\":0,\"2\":1,\"3\":2,\"4\":3},\"ColumnsFlag\":{\"1\":58,\"2\":58,\"3\":58,\"4\":58},\"HandleIndexID\":1,\"IndexColumnsOffset\":[[0,1,2,3]]}"]
[2021/11/30 10:50:59.403 +08:00] [DEBUG] [schema_storage.go:142] ["warpped table info"] [tableInfo="{\"id\":37,\"name\":{\"O\":\"bind_info\",\"L\":\"bind_info\"},\"charset\":\"utf8mb4\",\"collate\":\"utf8mb4_bin\",\"cols\":[{\"id\":1,\"name\":{\"O\":\"original_sql\",\"L\":\"original_sql\"},\"offset\":0,\"origin_default\":null,\"origin_default_bit\":null,\"default\":null,\"default_bit\":null,\"default_is_expr\":false,\"generated_expr_string\":\"\",\"generated_stored\":false,\"dependences\":null,\"type\":{\"Tp\":252,\"Flag\":4105,\"Flen\":65535,\"Decimal\":0,\"Charset\":\"utf8mb4\",\"Collate\":\"utf8mb4_bin\",\"Elems\":null},\"state\":5,\"comment\":\"\",\"hidden\":false,\"change_state_info\":null,\"version\":2},{\"id\":2,\"name\":{\"O\":\"bind_sql\",\"L\":\"bind_sql\"},\"offset\":1,\"origin_default\":null,\"origin_default_bit\":null,\"default\":null,\"default_bit\":null,\"default_is_expr\":false,\"generated_expr_string\":\"\",\"generated_stored\":false,\"dependences\":null,\"type\":{\"Tp\":252,\"Flag\":4097,\"Flen\":65535,\"Decimal\":0,\"Charset\":\"utf8mb4\",\"Collate\":\"utf8mb4_bin\",\"Elems\":null},\"state\":5,\"comment\":\"\",\"hidden\":false,\"change_state_info\":null,\"version\":2},{\"id\":3,\"name\":{\"O\":\"default_db\",\"L\":\"default_db\"},\"offset\":2,\"origin_default\":null,\"origin_default_bit\":null,\"default\":null,\"default_bit\":null,\"default_is_expr\":false,\"generated_expr_string\":\"\",\"generated_stored\":false,\"dependences\":null,\"type\":{\"Tp\":252,\"Flag\":4097,\"Flen\":65535,\"Decimal\":0,\"Charset\":\"utf8mb4\",\"Collate\":\"utf8mb4_bin\",\"Elems\":null},\"state\":5,\"comment\":\"\",\"hidden\":false,\"change_state_info\":null,\"version\":2},{\"id\":4,\"name\":{\"O\":\"status\",\"L\":\"status\"},\"offset\":3,\"origin_default\":null,\"origin_default_bit\":null,\"default\":null,\"default_bit\":null,\"default_is_expr\":false,\"generated_expr_string\":\"\",\"generated_stored\":false,\"dependences\":null,\"type\":{\"Tp\":252,\"Flag\":4097,\"Flen\":65535,\"Decimal\":0,\"Charset\":\"utf8mb4\",\"Collate\":\"utf8mb4_bin\",\"Elems\":null},\"state\":5,\"comment\":\"\",\"hidden\":false,\"change_state_info\":null,\"version\":2},{\"id\":5,\"name\":{\"O\":\"create_time\",\"L\":\"create_time\"},\"offset\":4,\"origin_default\":null,\"origin_default_bit\":null,\"default\":null,\"default_bit\":null,\"default_is_expr\":false,\"generated_expr_string\":\"\",\"generated_stored\":false,\"dependences\":null,\"type\":{\"Tp\":7,\"Flag\":4225,\"Flen\":23,\"Decimal\":3,\"Charset\":\"binary\",\"Collate\":\"binary\",\"Elems\":null},\"state\":5,\"comment\":\"\",\"hidden\":false,\"change_state_info\":null,\"version\":2},{\"id\":6,\"name\":{\"O\":\"update_time\",\"L\":\"update_time\"},\"offset\":5,\"origin_default\":null,\"origin_default_bit\":null,\"default\":null,\"default_bit\":null,\"default_is_expr\":false,\"generated_expr_string\":\"\",\"generated_stored\":false,\"dependences\":null,\"type\":{\"Tp\":7,\"Flag\":4233,\"Flen\":23,\"Decimal\":3,\"Charset\":\"binary\",\"Collate\":\"binary\",\"Elems\":null},\"state\":5,\"comment\":\"\",\"hidden\":false,\"change_state_info\":null,\"version\":2},{\"id\":7,\"name\":{\"O\":\"charset\",\"L\":\"charset\"},\"offset\":6,\"origin_default\":null,\"origin_default_bit\":null,\"default\":null,\"default_bit\":null,\"default_is_expr\":false,\"generated_expr_string\":\"\",\"generated_stored\":false,\"dependences\":null,\"type\":{\"Tp\":252,\"Flag\":4097,\"Flen\":65535,\"Decimal\":0,\"Charset\":\"utf8mb4\",\"Collate\":\"utf8mb4_bin\",\"Elems\":null},\"state\":5,\"comment\":\"\",\"hidden\":false,\"change_state_info\":null,\"version\":2},{\"id\":8,\"name\":{\"O\":\"collation\",\"L\":\"collation\"},\"offset\":7,\"origin_default\":null,\"origin_default_bit\":null,\"default\":null,\"default_bit\":null,\"default_is_expr\":false,\"generated_expr_string\":\"\",\"generated_stored\":false,\"dependences\":null,\"type\":{\"Tp\":252,\"Flag\":4097,\"Flen\":65535,\"Decimal\":0,\"Charset\":\"utf8mb4\",\"Collate\":\"utf8mb4_bin\",\"Elems\":null},\"state\":5,\"comment\":\"\",\"hidden\":false,\"change_state_info\":null,\"version\":2},{\"id\":9,\"name\":{\"O\":\"source\",\"L\":\"source\"},\"offset\":8,\"origin_default\":null,\"origin_default_bit\":null,\"default\":\"unknown\",\"default_bit\":null,\"default_is_expr\":false,\"generated_expr_string\":\"\",\"generated_stored\":false,\"dependences\":null,\"type\":{\"Tp\":15,\"Flag\":1,\"Flen\":10,\"Decimal\":0,\"Charset\":\"utf8mb4\",\"Collate\":\"utf8mb4_bin\",\"Elems\":null},\"state\":5,\"comment\":\"\",\"hidden\":false,\"change_state_info\":null,\"version\":2}],\"index_info\":[{\"id\":1,\"idx_name\":{\"O\":\"sql_index\",\"L\":\"sql_index\"},\"tbl_name\":{\"O\":\"\",\"L\":\"\"},\"idx_cols\":[{\"name\":{\"O\":\"original_sql\",\"L\":\"original_sql\"},\"offset\":0,\"length\":1024},{\"name\":{\"O\":\"default_db\",\"L\":\"default_db\"},\"offset\":2,\"length\":1024}],\"state\":5,\"comment\":\"accelerate the speed when add global binding query\",\"index_type\":1,\"is_unique\":false,\"is_primary\":false,\"is_invisible\":false,\"is_global\":false},{\"id\":2,\"idx_name\":{\"O\":\"time_index\",\"L\":\"time_index\"},\"tbl_name\":{\"O\":\"\",\"L\":\"\"},\"idx_cols\":[{\"name\":{\"O\":\"update_time\",\"L\":\"update_time\"},\"offset\":5,\"length\":-1}],\"state\":5,\"comment\":\"accelerate the speed when querying with last update time\",\"index_type\":1,\"is_unique\":false,\"is_primary\":false,\"is_invisible\":false,\"is_global\":false}],\"constraint_info\":null,\"fk_info\":null,\"state\":5,\"pk_is_handle\":false,\"is_common_handle\":false,\"common_handle_version\":0,\"comment\":\"\",\"auto_inc_id\":0,\"auto_id_cache\":0,\"auto_rand_id\":0,\"max_col_id\":9,\"max_idx_id\":2,\"max_cst_id\":0,\"update_timestamp\":429454908170436623,\"ShardRowIDBits\":0,\"max_shard_row_id_bits\":0,\"auto_random_bits\":0,\"pre_split_regions\":0,\"partition\":null,\"compression\":\"\",\"view\":null,\"sequence\":null,\"Lock\":null,\"version\":4,\"tiflash_replica\":null,\"is_columnar\":false,\"temp_table_type\":0,\"cache_table_status\":0,\"policy_ref_info\":null,\"placement_settings\":null,\"stats_options\":null,\"SchemaID\":3,\"TableName\":{\"db-name\":\"mysql\",\"tbl-name\":\"bind_info\",\"tbl-id\":0,\"is-partition\":false},\"TableInfoVersion\":429454923059953667,\"RowColumnsOffset\":{\"1\":0,\"2\":1,\"3\":2,\"4\":3,\"5\":4,\"6\":5,\"7\":6,\"8\":7,\"9\":8},\"ColumnsFlag\":{\"1\":32,\"2\":0,\"3\":32,\"4\":0,\"5\":1,\"6\":33,\"7\":0,\"8\":0,\"9\":0},\"HandleIndexID\":-2,\"IndexColumnsOffset\":null}"]
[2021/11/30 10:50:59.410 +08:00] [DEBUG] [schema_storage.go:142] ["warpped table info"] [tableInfo="{\"id\":39,\"name\":{\"O\":\"stats_top_n\",\"L\":\"stats_top_n\"},\"charset\":\"utf8mb4\",\"collate\":\"utf8mb4_bin\",\"cols\":[{\"id\":1,\"name\":{\"O\":\"table_id\",\"L\":\"table_id\"},\"offset\":0,\"origin_default\":null,\"origin_default_bit\":null,\"default\":null,\"default_bit\":null,\"default_is_expr\":false,\"generated_expr_string\":\"\",\"generated_stored\":false,\"dependences\":null,\"type\":{\"Tp\":8,\"Flag\":4105,\"Flen\":64,\"Decimal\":0,\"Charset\":\"binary\",\"Collate\":\"binary\",\"Elems\":null},\"state\":5,\"comment\":\"\",\"hidden\":false,\"change_state_info\":null,\"version\":2},{\"id\":2,\"name\":{\"O\":\"is_index\",\"L\":\"is_index\"},\"offset\":1,\"origin_default\":null,\"origin_default_bit\":null,\"default\":null,\"default_bit\":null,\"default_is_expr\":false,\"generated_expr_string\":\"\",\"generated_stored\":false,\"dependences\":null,\"type\":{\"Tp\":1,\"Flag\":4097,\"Flen\":2,\"Decimal\":0,\"Charset\":\"binary\",\"Collate\":\"binary\",\"Elems\":null},\"state\":5,\"comment\":\"\",\"hidden\":false,\"change_state_info\":null,\"version\":2},{\"id\":3,\"name\":{\"O\":\"hist_id\",\"L\":\"hist_id\"},\"offset\":2,\"origin_default\":null,\"origin_default_bit\":null,\"default\":null,\"default_bit\":null,\"default_is_expr\":false,\"generated_expr_string\":\"\",\"generated_stored\":false,\"dependences\":null,\"type\":{\"Tp\":8,\"Flag\":4097,\"Flen\":64,\"Decimal\":0,\"Charset\":\"binary\",\"Collate\":\"binary\",\"Elems\":null},\"state\":5,\"comment\":\"\",\"hidden\":false,\"change_state_info\":null,\"version\":2},{\"id\":4,\"name\":{\"O\":\"value\",\"L\":\"value\"},\"offset\":3,\"origin_default\":null,\"origin_default_bit\":null,\"default\":null,\"default_bit\":null,\"default_is_expr\":false,\"generated_expr_string\":\"\",\"generated_stored\":false,\"dependences\":null,\"type\":{\"Tp\":251,\"Flag\":128,\"Flen\":4294967295,\"Decimal\":0,\"Charset\":\"binary\",\"Collate\":\"binary\",\"Elems\":null},\"state\":5,\"comment\":\"\",\"hidden\":false,\"change_state_info\":null,\"version\":2},{\"id\":5,\"name\":{\"O\":\"count\",\"L\":\"count\"},\"offset\":4,\"origin_default\":null,\"origin_default_bit\":null,\"default\":null,\"default_bit\":null,\"default_is_expr\":false,\"generated_expr_string\":\"\",\"generated_stored\":false,\"dependences\":null,\"type\":{\"Tp\":8,\"Flag\":4129,\"Flen\":64,\"Decimal\":0,\"Charset\":\"binary\",\"Collate\":\"binary\",\"Elems\":null},\"state\":5,\"comment\":\"\",\"hidden\":false,\"change_state_info\":null,\"version\":2}],\"index_info\":[{\"id\":1,\"idx_name\":{\"O\":\"tbl\",\"L\":\"tbl\"},\"tbl_name\":{\"O\":\"\",\"L\":\"\"},\"idx_cols\":[{\"name\":{\"O\":\"table_id\",\"L\":\"table_id\"},\"offset\":0,\"length\":-1},{\"name\":{\"O\":\"is_index\",\"L\":\"is_index\"},\"offset\":1,\"length\":-1},{\"name\":{\"O\":\"hist_id\",\"L\":\"hist_id\"},\"offset\":2,\"length\":-1}],\"state\":5,\"comment\":\"\",\"index_type\":1,\"is_unique\":false,\"is_primary\":false,\"is_invisible\":false,\"is_global\":false}],\"constraint_info\":null,\"fk_info\":null,\"state\":5,\"pk_is_handle\":false,\"is_common_handle\":false,\"common_handle_version\":0,\"comment\":\"\",\"auto_inc_id\":0,\"auto_id_cache\":0,\"auto_rand_id\":0,\"max_col_id\":5,\"max_idx_id\":1,\"max_cst_id\":0,\"update_timestamp\":429454908183543826,\"ShardRowIDBits\":0,\"max_shard_row_id_bits\":0,\"auto_random_bits\":0,\"pre_split_regions\":0,\"partition\":null,\"compression\":\"\",\"view\":null,\"sequence\":null,\"Lock\":null,\"version\":4,\"tiflash_replica\":null,\"is_columnar\":false,\"temp_table_type\":0,\"cache_table_status\":0,\"policy_ref_info\":null,\"placement_settings\":null,\"stats_options\":null,\"SchemaID\":3,\"TableName\":{\"db-name\":\"mysql\",\"tbl-name\":\"stats_top_n\",\"tbl-id\":0,\"is-partition\":false},\"TableInfoVersion\":429454923059953667,\"RowColumnsOffset\":{\"1\":0,\"2\":1,\"3\":2,\"4\":3,\"5\":4},\"ColumnsFlag\":{\"1\":33,\"2\":33,\"3\":33,\"4\":65,\"5\":129},\"HandleIndexID\":-2,\"IndexColumnsOffset\":null}"]
[2021/11/30 10:50:59.414 +08:00] [DEBUG] [schema_storage.go:142] ["warpped table info"] [tableInfo="{\"id\":41,\"name\":{\"O\":\"expr_pushdown_blacklist\",\"L\":\"expr_pushdown_blacklist\"},\"charset\":\"utf8mb4\",\"collate\":\"utf8mb4_bin\",\"cols\":[{\"id\":1,\"name\":{\"O\":\"name\",\"L\":\"name\"},\"offset\":0,\"origin_default\":null,\"origin_default_bit\":null,\"default\":null,\"default_bit\":null,\"default_is_expr\":false,\"generated_expr_string\":\"\",\"generated_stored\":false,\"dependences\":null,\"type\":{\"Tp\":254,\"Flag\":4097,\"Flen\":100,\"Decimal\":0,\"Charset\":\"utf8mb4\",\"Collate\":\"utf8mb4_bin\",\"Elems\":null},\"state\":5,\"comment\":\"\",\"hidden\":false,\"change_state_info\":null,\"version\":2},{\"id\":2,\"name\":{\"O\":\"store_type\",\"L\":\"store_type\"},\"offset\":1,\"origin_default\":null,\"origin_default_bit\":null,\"default\":\"tikv,tiflash,tidb\",\"default_bit\":null,\"default_is_expr\":false,\"generated_expr_string\":\"\",\"generated_stored\":false,\"dependences\":null,\"type\":{\"Tp\":254,\"Flag\":1,\"Flen\":100,\"Decimal\":0,\"Charset\":\"utf8mb4\",\"Collate\":\"utf8mb4_bin\",\"Elems\":null},\"state\":5,\"comment\":\"\",\"hidden\":false,\"change_state_info\":null,\"version\":2},{\"id\":3,\"name\":{\"O\":\"reason\",\"L\":\"reason\"},\"offset\":2,\"origin_default\":null,\"origin_default_bit\":null,\"default\":null,\"default_bit\":null,\"default_is_expr\":false,\"generated_expr_string\":\"\",\"generated_stored\":false,\"dependences\":null,\"type\":{\"Tp\":15,\"Flag\":0,\"Flen\":200,\"Decimal\":0,\"Charset\":\"utf8mb4\",\"Collate\":\"utf8mb4_bin\",\"Elems\":null},\"state\":5,\"comment\":\"\",\"hidden\":false,\"change_state_info\":null,\"version\":2}],\"index_info\":null,\"constraint_info\":null,\"fk_info\":null,\"state\":5,\"pk_is_handle\":false,\"is_common_handle\":false,\"common_handle_version\":0,\"comment\":\"\",\"auto_inc_id\":0,\"auto_id_cache\":0,\"auto_rand_id\":0,\"max_col_id\":3,\"max_idx_id\":0,\"max_cst_id\":0,\"update_timestamp\":429454908223127566,\"ShardRowIDBits\":0,\"max_shard_row_id_bits\":0,\"auto_random_bits\":0,\"pre_split_regions\":0,\"partition\":null,\"compression\":\"\",\"view\":null,\"sequence\":null,\"Lock\":null,\"version\":4,\"tiflash_replica\":null,\"is_columnar\":false,\"temp_table_type\":0,\"cache_table_status\":0,\"policy_ref_info\":null,\"placement_settings\":null,\"stats_options\":null,\"SchemaID\":3,\"TableName\":{\"db-name\":\"mysql\",\"tbl-name\":\"expr_pushdown_blacklist\",\"tbl-id\":0,\"is-partition\":false},\"TableInfoVersion\":429454923059953667,\"RowColumnsOffset\":{\"1\":0,\"2\":1,\"3\":2},\"ColumnsFlag\":{\"1\":0,\"2\":0,\"3\":64},\"HandleIndexID\":-2,\"IndexColumnsOffset\":null}"]
[2021/11/30 10:50:59.416 +08:00] [DEBUG] [schema_storage.go:142] ["warpped table info"] [tableInfo="{\"id\":43,\"name\":{\"O\":\"opt_rule_blacklist\",\"L\":\"opt_rule_blacklist\"},\"charset\":\"utf8mb4\",\"collate\":\"utf8mb4_bin\",\"cols\":[{\"id\":1,\"name\":{\"O\":\"name\",\"L\":\"name\"},\"offset\":0,\"origin_default\":null,\"origin_default_bit\":null,\"default\":null,\"default_bit\":null,\"default_is_expr\":false,\"generated_expr_string\":\"\",\"generated_stored\":false,\"dependences\":null,\"type\":{\"Tp\":254,\"Flag\":4097,\"Flen\":100,\"Decimal\":0,\"Charset\":\"utf8mb4\",\"Collate\":\"utf8mb4_bin\",\"Elems\":null},\"state\":5,\"comment\":\"\",\"hidden\":false,\"change_state_info\":null,\"version\":2}],\"index_info\":null,\"constraint_info\":null,\"fk_info\":null,\"state\":5,\"pk_is_handle\":false,\"is_common_handle\":false,\"common_handle_version\":0,\"comment\":\"\",\"auto_inc_id\":0,\"auto_id_cache\":0,\"auto_rand_id\":0,\"max_col_id\":1,\"max_idx_id\":0,\"max_cst_id\":0,\"update_timestamp\":429454908249079813,\"ShardRowIDBits\":0,\"max_shard_row_id_bits\":0,\"auto_random_bits\":0,\"pre_split_regions\":0,\"partition\":null,\"compression\":\"\",\"view\":null,\"sequence\":null,\"Lock\":null,\"version\":4,\"tiflash_replica\":null,\"is_columnar\":false,\"temp_table_type\":0,\"cache_table_status\":0,\"policy_ref_info\":null,\"placement_settings\":null,\"stats_options\":null,\"SchemaID\":3,\"TableName\":{\"db-name\":\"mysql\",\"tbl-name\":\"opt_rule_blacklist\",\"tbl-id\":0,\"is-partition\":false},\"TableInfoVersion\":429454923059953667,\"RowColumnsOffset\":{\"1\":0},\"ColumnsFlag\":{\"1\":0},\"HandleIndexID\":-2,\"IndexColumnsOffset\":null}"]
[2021/11/30 10:50:59.417 +08:00] [DEBUG] [schema_storage.go:142] ["warpped table info"] [tableInfo="{\"id\":45,\"name\":{\"O\":\"stats_extended\",\"L\":\"stats_extended\"},\"charset\":\"utf8mb4\",\"collate\":\"utf8mb4_bin\",\"cols\":[{\"id\":1,\"name\":{\"O\":\"name\",\"L\":\"name\"},\"offset\":0,\"origin_default\":null,\"origin_default_bit\":null,\"default\":null,\"default_bit\":null,\"default_is_expr\":false,\"generated_expr_string\":\"\",\"generated_stored\":false,\"dependences\":null,\"type\":{\"Tp\":15,\"Flag\":4099,\"Flen\":32,\"Decimal\":0,\"Charset\":\"utf8mb4\",\"Collate\":\"utf8mb4_bin\",\"Elems\":null},\"state\":5,\"comment\":\"\",\"hidden\":false,\"change_state_info\":null,\"version\":2},{\"id\":2,\"name\":{\"O\":\"type\",\"L\":\"type\"},\"offset\":1,\"origin_default\":null,\"origin_default_bit\":null,\"default\":null,\"default_bit\":null,\"default_is_expr\":false,\"generated_expr_string\":\"\",\"generated_stored\":false,\"dependences\":null,\"type\":{\"Tp\":1,\"Flag\":4097,\"Flen\":4,\"Decimal\":0,\"Charset\":\"binary\",\"Collate\":\"binary\",\"Elems\":null},\"state\":5,\"comment\":\"\",\"hidden\":false,\"change_state_info\":null,\"version\":2},{\"id\":3,\"name\":{\"O\":\"table_id\",\"L\":\"table_id\"},\"offset\":2,\"origin_default\":null,\"origin_default_bit\":null,\"default\":null,\"default_bit\":null,\"default_is_expr\":false,\"generated_expr_string\":\"\",\"generated_stored\":false,\"dependences\":null,\"type\":{\"Tp\":8,\"Flag\":4107,\"Flen\":64,\"Decimal\":0,\"Charset\":\"binary\",\"Collate\":\"binary\",\"Elems\":null},\"state\":5,\"comment\":\"\",\"hidden\":false,\"change_state_info\":null,\"version\":2},{\"id\":4,\"name\":{\"O\":\"column_ids\",\"L\":\"column_ids\"},\"offset\":3,\"origin_default\":null,\"origin_default_bit\":null,\"default\":null,\"default_bit\":null,\"default_is_expr\":false,\"generated_expr_string\":\"\",\"generated_stored\":false,\"dependences\":null,\"type\":{\"Tp\":15,\"Flag\":4097,\"Flen\":32,\"Decimal\":0,\"Charset\":\"utf8mb4\",\"Collate\":\"utf8mb4_bin\",\"Elems\":null},\"state\":5,\"comment\":\"\",\"hidden\":false,\"change_state_info\":null,\"version\":2},{\"id\":5,\"name\":{\"O\":\"stats\",\"L\":\"stats\"},\"offset\":4,\"origin_default\":null,\"origin_default_bit\":null,\"default\":null,\"default_bit\":null,\"default_is_expr\":false,\"generated_expr_string\":\"\",\"generated_stored\":false,\"dependences\":null,\"type\":{\"Tp\":252,\"Flag\":128,\"Flen\":65535,\"Decimal\":0,\"Charset\":\"binary\",\"Collate\":\"binary\",\"Elems\":null},\"state\":5,\"comment\":\"\",\"hidden\":false,\"change_state_info\":null,\"version\":2},{\"id\":6,\"name\":{\"O\":\"version\",\"L\":\"version\"},\"offset\":5,\"origin_default\":null,\"origin_default_bit\":null,\"default\":null,\"default_bit\":null,\"default_is_expr\":false,\"generated_expr_string\":\"\",\"generated_stored\":false,\"dependences\":null,\"type\":{\"Tp\":8,\"Flag\":4129,\"Flen\":64,\"Decimal\":0,\"Charset\":\"binary\",\"Collate\":\"binary\",\"Elems\":null},\"state\":5,\"comment\":\"\",\"hidden\":false,\"change_state_info\":null,\"version\":2},{\"id\":7,\"name\":{\"O\":\"status\",\"L\":\"status\"},\"offset\":6,\"origin_default\":null,\"origin_default_bit\":null,\"default\":null,\"default_bit\":null,\"default_is_expr\":false,\"generated_expr_string\":\"\",\"generated_stored\":false,\"dependences\":null,\"type\":{\"Tp\":1,\"Flag\":4105,\"Flen\":4,\"Decimal\":0,\"Charset\":\"binary\",\"Collate\":\"binary\",\"Elems\":null},\"state\":5,\"comment\":\"\",\"hidden\":false,\"change_state_info\":null,\"version\":2}],\"index_info\":[{\"id\":1,\"idx_name\":{\"O\":\"PRIMARY\",\"L\":\"primary\"},\"tbl_name\":{\"O\":\"\",\"L\":\"\"},\"idx_cols\":[{\"name\":{\"O\":\"name\",\"L\":\"name\"},\"offset\":0,\"length\":-1},{\"name\":{\"O\":\"table_id\",\"L\":\"table_id\"},\"offset\":2,\"length\":-1}],\"state\":5,\"comment\":\"\",\"index_type\":1,\"is_unique\":true,\"is_primary\":true,\"is_invisible\":false,\"is_global\":false},{\"id\":2,\"idx_name\":{\"O\":\"idx_1\",\"L\":\"idx_1\"},\"tbl_name\":{\"O\":\"\",\"L\":\"\"},\"idx_cols\":[{\"name\":{\"O\":\"table_id\",\"L\":\"table_id\"},\"offset\":2,\"length\":-1},{\"name\":{\"O\":\"status\",\"L\":\"status\"},\"offset\":6,\"length\":-1},{\"name\":{\"O\":\"version\",\"L\":\"version\"},\"offset\":5,\"length\":-1}],\"state\":5,\"comment\":\"\",\"index_type\":1,\"is_unique\":false,\"is_primary\":false,\"is_invisible\":false,\"is_global\":false},{\"id\":3,\"idx_name\":{\"O\":\"idx_2\",\"L\":\"idx_2\"},\"tbl_name\":{\"O\":\"\",\"L\":\"\"},\"idx_cols\":[{\"name\":{\"O\":\"status\",\"L\":\"status\"},\"offset\":6,\"length\":-1},{\"name\":{\"O\":\"version\",\"L\":\"version\"},\"offset\":5,\"length\":-1}],\"state\":5,\"comment\":\"\",\"index_type\":1,\"is_unique\":false,\"is_primary\":false,\"is_invisible\":false,\"is_global\":false}],\"constraint_info\":null,\"fk_info\":null,\"state\":5,\"pk_is_handle\":false,\"is_common_handle\":false,\"common_handle_version\":0,\"comment\":\"\",\"auto_inc_id\":0,\"auto_id_cache\":0,\"auto_rand_id\":0,\"max_col_id\":7,\"max_idx_id\":3,\"max_cst_id\":0,\"update_timestamp\":429454908275294222,\"ShardRowIDBits\":0,\"max_shard_row_id_bits\":0,\"auto_random_bits\":0,\"pre_split_regions\":0,\"partition\":null,\"compression\":\"\",\"view\":null,\"sequence\":null,\"Lock\":null,\"version\":4,\"tiflash_replica\":null,\"is_columnar\":false,\"temp_table_type\":0,\"cache_table_status\":0,\"policy_ref_info\":null,\"placement_settings\":null,\"stats_options\":null,\"SchemaID\":3,\"TableName\":{\"db-name\":\"mysql\",\"tbl-name\":\"stats_extended\",\"tbl-id\":0,\"is-partition\":false},\"TableInfoVersion\":429454923059953667,\"RowColumnsOffset\":{\"1\":0,\"2\":1,\"3\":2,\"4\":3,\"5\":4,\"6\":5,\"7\":6},\"ColumnsFlag\":{\"1\":58,\"2\":1,\"3\":59,\"4\":0,\"5\":65,\"6\":161,\"7\":33},\"HandleIndexID\":1,\"IndexColumnsOffset\":[[0,2]]}"]
[2021/11/30 10:50:59.429 +08:00] [DEBUG] [schema_storage.go:142] ["warpped table info"] [tableInfo="{\"id\":47,\"name\":{\"O\":\"schema_index_usage\",\"L\":\"schema_index_usage\"},\"charset\":\"utf8mb4\",\"collate\":\"utf8mb4_bin\",\"cols\":[{\"id\":1,\"name\":{\"O\":\"TABLE_ID\",\"L\":\"table_id\"},\"offset\":0,\"origin_default\":null,\"origin_default_bit\":null,\"default\":null,\"default_bit\":null,\"default_is_expr\":false,\"generated_expr_string\":\"\",\"generated_stored\":false,\"dependences\":null,\"type\":{\"Tp\":8,\"Flag\":4099,\"Flen\":64,\"Decimal\":0,\"Charset\":\"binary\",\"Collate\":\"binary\",\"Elems\":null},\"state\":5,\"comment\":\"\",\"hidden\":false,\"change_state_info\":null,\"version\":2},{\"id\":2,\"name\":{\"O\":\"INDEX_ID\",\"L\":\"index_id\"},\"offset\":1,\"origin_default\":null,\"origin_default_bit\":null,\"default\":null,\"default_bit\":null,\"default_is_expr\":false,\"generated_expr_string\":\"\",\"generated_stored\":false,\"dependences\":null,\"type\":{\"Tp\":8,\"Flag\":4099,\"Flen\":21,\"Decimal\":0,\"Charset\":\"binary\",\"Collate\":\"binary\",\"Elems\":null},\"state\":5,\"comment\":\"\",\"hidden\":false,\"change_state_info\":null,\"version\":2},{\"id\":3,\"name\":{\"O\":\"QUERY_COUNT\",\"L\":\"query_count\"},\"offset\":2,\"origin_default\":null,\"origin_default_bit\":null,\"default\":null,\"default_bit\":null,\"default_is_expr\":false,\"generated_expr_string\":\"\",\"generated_stored\":false,\"dependences\":null,\"type\":{\"Tp\":8,\"Flag\":0,\"Flen\":64,\"Decimal\":0,\"Charset\":\"binary\",\"Collate\":\"binary\",\"Elems\":null},\"state\":5,\"comment\":\"\",\"hidden\":false,\"change_state_info\":null,\"version\":2},{\"id\":4,\"name\":{\"O\":\"ROWS_SELECTED\",\"L\":\"rows_selected\"},\"offset\":3,\"origin_default\":null,\"origin_default_bit\":null,\"default\":null,\"default_bit\":null,\"default_is_expr\":false,\"generated_expr_string\":\"\",\"generated_stored\":false,\"dependences\":null,\"type\":{\"Tp\":8,\"Flag\":0,\"Flen\":64,\"Decimal\":0,\"Charset\":\"binary\",\"Collate\":\"binary\",\"Elems\":null},\"state\":5,\"comment\":\"\",\"hidden\":false,\"change_state_info\":null,\"version\":2},{\"id\":5,\"name\":{\"O\":\"LAST_USED_AT\",\"L\":\"last_used_at\"},\"offset\":4,\"origin_default\":null,\"origin_default_bit\":null,\"default\":null,\"default_bit\":null,\"default_is_expr\":false,\"generated_expr_string\":\"\",\"generated_stored\":false,\"dependences\":null,\"type\":{\"Tp\":7,\"Flag\":128,\"Flen\":19,\"Decimal\":0,\"Charset\":\"binary\",\"Collate\":\"binary\",\"Elems\":null},\"state\":5,\"comment\":\"\",\"hidden\":false,\"change_state_info\":null,\"version\":2}],\"index_info\":[{\"id\":1,\"idx_name\":{\"O\":\"PRIMARY\",\"L\":\"primary\"},\"tbl_name\":{\"O\":\"\",\"L\":\"\"},\"idx_cols\":[{\"name\":{\"O\":\"TABLE_ID\",\"L\":\"table_id\"},\"offset\":0,\"length\":-1},{\"name\":{\"O\":\"INDEX_ID\",\"L\":\"index_id\"},\"offset\":1,\"length\":-1}],\"state\":5,\"comment\":\"\",\"index_type\":1,\"is_unique\":true,\"is_primary\":true,\"is_invisible\":false,\"is_global\":false}],\"constraint_info\":null,\"fk_info\":null,\"state\":5,\"pk_is_handle\":false,\"is_common_handle\":false,\"common_handle_version\":0,\"comment\":\"\",\"auto_inc_id\":0,\"auto_id_cache\":0,\"auto_rand_id\":0,\"max_col_id\":5,\"max_idx_id\":1,\"max_cst_id\":0,\"update_timestamp\":429454908314615822,\"ShardRowIDBits\":0,\"max_shard_row_id_bits\":0,\"auto_random_bits\":0,\"pre_split_regions\":0,\"partition\":null,\"compression\":\"\",\"view\":null,\"sequence\":null,\"Lock\":null,\"version\":4,\"tiflash_replica\":null,\"is_columnar\":false,\"temp_table_type\":0,\"cache_table_status\":0,\"policy_ref_info\":null,\"placement_settings\":null,\"stats_options\":null,\"SchemaID\":3,\"TableName\":{\"db-name\":\"mysql\",\"tbl-name\":\"schema_index_usage\",\"tbl-id\":0,\"is-partition\":false},\"TableInfoVersion\":429454923059953667,\"RowColumnsOffset\":{\"1\":0,\"2\":1,\"3\":2,\"4\":3,\"5\":4},\"ColumnsFlag\":{\"1\":59,\"2\":59,\"3\":65,\"4\":65,\"5\":65},\"HandleIndexID\":1,\"IndexColumnsOffset\":[[0,1]]}"]
[2021/11/30 10:50:59.432 +08:00] [DEBUG] [schema_storage.go:142] ["warpped table info"] [tableInfo="{\"id\":49,\"name\":{\"O\":\"stats_fm_sketch\",\"L\":\"stats_fm_sketch\"},\"charset\":\"utf8mb4\",\"collate\":\"utf8mb4_bin\",\"cols\":[{\"id\":1,\"name\":{\"O\":\"table_id\",\"L\":\"table_id\"},\"offset\":0,\"origin_default\":null,\"origin_default_bit\":null,\"default\":null,\"default_bit\":null,\"default_is_expr\":false,\"generated_expr_string\":\"\",\"generated_stored\":false,\"dependences\":null,\"type\":{\"Tp\":8,\"Flag\":4105,\"Flen\":64,\"Decimal\":0,\"Charset\":\"binary\",\"Collate\":\"binary\",\"Elems\":null},\"state\":5,\"comment\":\"\",\"hidden\":false,\"change_state_info\":null,\"version\":2},{\"id\":2,\"name\":{\"O\":\"is_index\",\"L\":\"is_index\"},\"offset\":1,\"origin_default\":null,\"origin_default_bit\":null,\"default\":null,\"default_bit\":null,\"default_is_expr\":false,\"generated_expr_string\":\"\",\"generated_stored\":false,\"dependences\":null,\"type\":{\"Tp\":1,\"Flag\":4097,\"Flen\":2,\"Decimal\":0,\"Charset\":\"binary\",\"Collate\":\"binary\",\"Elems\":null},\"state\":5,\"comment\":\"\",\"hidden\":false,\"change_state_info\":null,\"version\":2},{\"id\":3,\"name\":{\"O\":\"hist_id\",\"L\":\"hist_id\"},\"offset\":2,\"origin_default\":null,\"origin_default_bit\":null,\"default\":null,\"default_bit\":null,\"default_is_expr\":false,\"generated_expr_string\":\"\",\"generated_stored\":false,\"dependences\":null,\"type\":{\"Tp\":8,\"Flag\":4097,\"Flen\":64,\"Decimal\":0,\"Charset\":\"binary\",\"Collate\":\"binary\",\"Elems\":null},\"state\":5,\"comment\":\"\",\"hidden\":false,\"change_state_info\":null,\"version\":2},{\"id\":4,\"name\":{\"O\":\"value\",\"L\":\"value\"},\"offset\":3,\"origin_default\":null,\"origin_default_bit\":null,\"default\":null,\"default_bit\":null,\"default_is_expr\":false,\"generated_expr_string\":\"\",\"generated_stored\":false,\"dependences\":null,\"type\":{\"Tp\":251,\"Flag\":128,\"Flen\":4294967295,\"Decimal\":0,\"Charset\":\"binary\",\"Collate\":\"binary\",\"Elems\":null},\"state\":5,\"comment\":\"\",\"hidden\":false,\"change_state_info\":null,\"version\":2}],\"index_info\":[{\"id\":1,\"idx_name\":{\"O\":\"tbl\",\"L\":\"tbl\"},\"tbl_name\":{\"O\":\"\",\"L\":\"\"},\"idx_cols\":[{\"name\":{\"O\":\"table_id\",\"L\":\"table_id\"},\"offset\":0,\"length\":-1},{\"name\":{\"O\":\"is_index\",\"L\":\"is_index\"},\"offset\":1,\"length\":-1},{\"name\":{\"O\":\"hist_id\",\"L\":\"hist_id\"},\"offset\":2,\"length\":-1}],\"state\":5,\"comment\":\"\",\"index_type\":1,\"is_unique\":false,\"is_primary\":false,\"is_invisible\":false,\"is_global\":false}],\"constraint_info\":null,\"fk_info\":null,\"state\":5,\"pk_is_handle\":false,\"is_common_handle\":false,\"common_handle_version\":0,\"comment\":\"\",\"auto_inc_id\":0,\"auto_id_cache\":0,\"auto_rand_id\":0,\"max_col_id\":4,\"max_idx_id\":1,\"max_cst_id\":0,\"update_timestamp\":429454908340830210,\"ShardRowIDBits\":0,\"max_shard_row_id_bits\":0,\"auto_random_bits\":0,\"pre_split_regions\":0,\"partition\":null,\"compression\":\"\",\"view\":null,\"sequence\":null,\"Lock\":null,\"version\":4,\"tiflash_replica\":null,\"is_columnar\":false,\"temp_table_type\":0,\"cache_table_status\":0,\"policy_ref_info\":null,\"placement_settings\":null,\"stats_options\":null,\"SchemaID\":3,\"TableName\":{\"db-name\":\"mysql\",\"tbl-name\":\"stats_fm_sketch\",\"tbl-id\":0,\"is-partition\":false},\"TableInfoVersion\":429454923059953667,\"RowColumnsOffset\":{\"1\":0,\"2\":1,\"3\":2,\"4\":3},\"ColumnsFlag\":{\"1\":33,\"2\":33,\"3\":33,\"4\":65},\"HandleIndexID\":-2,\"IndexColumnsOffset\":null}"]
[2021/11/30 10:50:59.435 +08:00] [DEBUG] [schema_storage.go:142] ["warpped table info"] [tableInfo="{\"id\":5,\"name\":{\"O\":\"user\",\"L\":\"user\"},\"charset\":\"utf8mb4\",\"collate\":\"utf8mb4_bin\",\"cols\":[{\"id\":1,\"name\":{\"O\":\"Host\",\"L\":\"host\"},\"offset\":0,\"origin_default\":null,\"origin_default_bit\":null,\"default\":null,\"default_bit\":null,\"default_is_expr\":false,\"generated_expr_string\":\"\",\"generated_stored\":false,\"dependences\":null,\"type\":{\"Tp\":254,\"Flag\":4099,\"Flen\":64,\"Decimal\":0,\"Charset\":\"utf8mb4\",\"Collate\":\"utf8mb4_bin\",\"Elems\":null},\"state\":5,\"comment\":\"\",\"hidden\":false,\"change_state_info\":null,\"version\":2},{\"id\":2,\"name\":{\"O\":\"User\",\"L\":\"user\"},\"offset\":1,\"origin_default\":null,\"origin_default_bit\":null,\"default\":null,\"default_bit\":null,\"default_is_expr\":false,\"generated_expr_string\":\"\",\"generated_stored\":false,\"dependences\":null,\"type\":{\"Tp\":254,\"Flag\":4099,\"Flen\":32,\"Decimal\":0,\"Charset\":\"utf8mb4\",\"Collate\":\"utf8mb4_bin\",\"Elems\":null},\"state\":5,\"comment\":\"\",\"hidden\":false,\"change_state_info\":null,\"version\":2},{\"id\":3,\"name\":{\"O\":\"authentication_string\",\"L\":\"authentication_string\"},\"offset\":2,\"origin_default\":null,\"origin_default_bit\":null,\"default\":null,\"default_bit\":null,\"default_is_expr\":false,\"generated_expr_string\":\"\",\"generated_stored\":false,\"dependences\":null,\"type\":{\"Tp\":252,\"Flag\":0,\"Flen\":65535,\"Decimal\":0,\"Charset\":\"utf8mb4\",\"Collate\":\"utf8mb4_bin\",\"Elems\":null},\"state\":5,\"comment\":\"\",\"hidden\":false,\"change_state_info\":null,\"version\":2},{\"id\":4,\"name\":{\"O\":\"plugin\",\"L\":\"plugin\"},\"offset\":3,\"origin_default\":null,\"origin_default_bit\":null,\"default\":null,\"default_bit\":null,\"default_is_expr\":false,\"generated_expr_string\":\"\",\"generated_stored\":false,\"dependences\":null,\"type\":{\"Tp\":254,\"Flag\":0,\"Flen\":64,\"Decimal\":0,\"Charset\":\"utf8mb4\",\"Collate\":\"utf8mb4_bin\",\"Elems\":null},\"state\":5,\"comment\":\"\",\"hidden\":false,\"change_state_info\":null,\"version\":2},{\"id\":5,\"name\":{\"O\":\"Select_priv\",\"L\":\"select_priv\"},\"offset\":4,\"origin_default\":null,\"origin_default_bit\":null,\"default\":\"N\",\"default_bit\":null,\"default_is_expr\":false,\"generated_expr_string\":\"\",\"generated_stored\":false,\"dependences\":null,\"type\":{\"Tp\":247,\"Flag\":1,\"Flen\":1,\"Decimal\":0,\"Charset\":\"utf8mb4\",\"Collate\":\"utf8mb4_bin\",\"Elems\":[\"N\",\"Y\"]},\"state\":5,\"comment\":\"\",\"hidden\":false,\"change_state_info\":null,\"version\":2},{\"id\":6,\"name\":{\"O\":\"Insert_priv\",\"L\":\"insert_priv\"},\"offset\":5,\"origin_default\":null,\"origin_default_bit\":null,\"default\":\"N\",\"default_bit\":null,\"default_is_expr\":false,\"generated_expr_string\":\"\",\"generated_stored\":false,\"dependences\":null,\"type\":{\"Tp\":247,\"Flag\":1,\"Flen\":1,\"Decimal\":0,\"Charset\":\"utf8mb4\",\"Collate\":\"utf8mb4_bin\",\"Elems\":[\"N\",\"Y\"]},\"state\":5,\"comment\":\"\",\"hidden\":false,\"change_state_info\":null,\"version\":2},{\"id\":7,\"name\":{\"O\":\"Update_priv\",\"L\":\"update_priv\"},\"offset\":6,\"origin_default\":null,\"origin_default_bit\":null,\"default\":\"N\",\"default_bit\":null,\"default_is_expr\":false,\"generated_expr_string\":\"\",\"generated_stored\":false,\"dependences\":null,\"type\":{\"Tp\":247,\"Flag\":1,\"Flen\":1,\"Decimal\":0,\"Charset\":\"utf8mb4\",\"Collate\":\"utf8mb4_bin\",\"Elems\":[\"N\",\"Y\"]},\"state\":5,\"comment\":\"\",\"hidden\":false,\"change_state_info\":null,\"version\":2},{\"id\":8,\"name\":{\"O\":\"Delete_priv\",\"L\":\"delete_priv\"},\"offset\":7,\"origin_default\":null,\"origin_default_bit\":null,\"default\":\"N\",\"default_bit\":null,\"default_is_expr\":false,\"generated_expr_string\":\"\",\"generated_stored\":false,\"dependences\":null,\"type\":{\"Tp\":247,\"Flag\":1,\"Flen\":1,\"Decimal\":0,\"Charset\":\"utf8mb4\",\"Collate\":\"utf8mb4_bin\",\"Elems\":[\"N\",\"Y\"]},\"state\":5,\"comment\":\"\",\"hidden\":false,\"change_state_info\":null,\"version\":2},{\"id\":9,\"name\":{\"O\":\"Create_priv\",\"L\":\"create_priv\"},\"offset\":8,\"origin_default\":null,\"origin_default_bit\":null,\"default\":\"N\",\"default_bit\":null,\"default_is_expr\":false,\"generated_expr_string\":\"\",\"generated_stored\":false,\"dependences\":null,\"type\":{\"Tp\":247,\"Flag\":1,\"Flen\":1,\"Decimal\":0,\"Charset\":\"utf8mb4\",\"Collate\":\"utf8mb4_bin\",\"Elems\":[\"N\",\"Y\"]},\"state\":5,\"comment\":\"\",\"hidden\":false,\"change_state_info\":null,\"version\":2},{\"id\":10,\"name\":{\"O\":\"Drop_priv\",\"L\":\"drop_priv\"},\"offset\":9,\"origin_default\":null,\"origin_default_bit\":null,\"default\":\"N\",\"default_bit\":null,\"default_is_expr\":false,\"generated_expr_string\":\"\",\"generated_stored\":false,\"dependences\":null,\"type\":{\"Tp\":247,\"Flag\":1,\"Flen\":1,\"Decimal\":0,\"Charset\":\"utf8mb4\",\"Collate\":\"utf8mb4_bin\",\"Elems\":[\"N\",\"Y\"]},\"state\":5,\"comment\":\"\",\"hidden\":false,\"change_state_info\":null,\"version\":2},{\"id\":11,\"name\":{\"O\":\"Process_priv\",\"L\":\"process_priv\"},\"offset\":10,\"origin_default\":null,\"origin_default_bit\":null,\"default\":\"N\",\"default_bit\":null,\"default_is_expr\":false,\"generated_expr_string\":\"\",\"generated_stored\":false,\"dependences\":null,\"type\":{\"Tp\":247,\"Flag\":1,\"Flen\":1,\"Decimal\":0,\"Charset\":\"utf8mb4\",\"Collate\":\"utf8mb4_bin\",\"Elems\":[\"N\",\"Y\"]},\"state\":5,\"comment\":\"\",\"hidden\":false,\"change_state_info\":null,\"version\":2},{\"id\":12,\"name\":{\"O\":\"Grant_priv\",\"L\":\"grant_priv\"},\"offset\":11,\"origin_default\":null,\"origin_default_bit\":null,\"default\":\"N\",\"default_bit\":null,\"default_is_expr\":false,\"generated_expr_string\":\"\",\"generated_stored\":false,\"dependences\":null,\"type\":{\"Tp\":247,\"Flag\":1,\"Flen\":1,\"Decimal\":0,\"Charset\":\"utf8mb4\",\"Collate\":\"utf8mb4_bin\",\"Elems\":[\"N\",\"Y\"]},\"state\":5,\"comment\":\"\",\"hidden\":false,\"change_state_info\":null,\"version\":2},{\"id\":13,\"name\":{\"O\":\"References_priv\",\"L\":\"references_priv\"},\"offset\":12,\"origin_default\":null,\"origin_default_bit\":null,\"default\":\"N\",\"default_bit\":null,\"default_is_expr\":false,\"generated_expr_string\":\"\",\"generated_stored\":false,\"dependences\":null,\"type\":{\"Tp\":247,\"Flag\":1,\"Flen\":1,\"Decimal\":0,\"Charset\":\"utf8mb4\",\"Collate\":\"utf8mb4_bin\",\"Elems\":[\"N\",\"Y\"]},\"state\":5,\"comment\":\"\",\"hidden\":false,\"change_state_info\":null,\"version\":2},{\"id\":14,\"name\":{\"O\":\"Alter_priv\",\"L\":\"alter_priv\"},\"offset\":13,\"origin_default\":null,\"origin_default_bit\":null,\"default\":\"N\",\"default_bit\":null,\"default_is_expr\":false,\"generated_expr_string\":\"\",\"generated_stored\":false,\"dependences\":null,\"type\":{\"Tp\":247,\"Flag\":1,\"Flen\":1,\"Decimal\":0,\"Charset\":\"utf8mb4\",\"Collate\":\"utf8mb4_bin\",\"Elems\":[\"N\",\"Y\"]},\"state\":5,\"comment\":\"\",\"hidden\":false,\"change_state_info\":null,\"version\":2},{\"id\":15,\"name\":{\"O\":\"Show_db_priv\",\"L\":\"show_db_priv\"},\"offset\":14,\"origin_default\":null,\"origin_default_bit\":null,\"default\":\"N\",\"default_bit\":null,\"default_is_expr\":false,\"generated_expr_string\":\"\",\"generated_stored\":false,\"dependences\":null,\"type\":{\"Tp\":247,\"Flag\":1,\"Flen\":1,\"Decimal\":0,\"Charset\":\"utf8mb4\",\"Collate\":\"utf8mb4_bin\",\"Elems\":[\"N\",\"Y\"]},\"state\":5,\"comment\":\"\",\"hidden\":false,\"change_state_info\":null,\"version\":2},{\"id\":16,\"name\":{\"O\":\"Super_priv\",\"L\":\"super_priv\"},\"offset\":15,\"origin_default\":null,\"origin_default_bit\":null,\"default\":\"N\",\"default_bit\":null,\"default_is_expr\":false,\"generated_expr_string\":\"\",\"generated_stored\":false,\"dependences\":null,\"type\":{\"Tp\":247,\"Flag\":1,\"Flen\":1,\"Decimal\":0,\"Charset\":\"utf8mb4\",\"Collate\":\"utf8mb4_bin\",\"Elems\":[\"N\",\"Y\"]},\"state\":5,\"comment\":\"\",\"hidden\":false,\"change_state_info\":null,\"version\":2},{\"id\":17,\"name\":{\"O\":\"Create_tmp_table_priv\",\"L\":\"create_tmp_table_priv\"},\"offset\":16,\"origin_default\":null,\"origin_default_bit\":null,\"default\":\"N\",\"default_bit\":null,\"default_is_expr\":false,\"generated_expr_string\":\"\",\"generated_stored\":false,\"dependences\":null,\"type\":{\"Tp\":247,\"Flag\":1,\"Flen\":1,\"Decimal\":0,\"Charset\":\"utf8mb4\",\"Collate\":\"utf8mb4_bin\",\"Elems\":[\"N\",\"Y\"]},\"state\":5,\"comment\":\"\",\"hidden\":false,\"change_state_info\":null,\"version\":2},{\"id\":18,\"name\":{\"O\":\"Lock_tables_priv\",\"L\":\"lock_tables_priv\"},\"offset\":17,\"origin_default\":null,\"origin_default_bit\":null,\"default\":\"N\",\"default_bit\":null,\"default_is_expr\":false,\"generated_expr_string\":\"\",\"generated_stored\":false,\"dependences\":null,\"type\":{\"Tp\":247,\"Flag\":1,\"Flen\":1,\"Decimal\":0,\"Charset\":\"utf8mb4\",\"Collate\":\"utf8mb4_bin\",\"Elems\":[\"N\",\"Y\"]},\"state\":5,\"comment\":\"\",\"hidden\":false,\"change_state_info\":null,\"version\":2},{\"id\":19,\"name\":{\"O\":\"Execute_priv\",\"L\":\"execute_priv\"},\"offset\":18,\"origin_default\":null,\"origin_default_bit\":null,\"default\":\"N\",\"default_bit\":null,\"default_is_expr\":false,\"generated_expr_string\":\"\",\"generated_stored\":false,\"dependences\":null,\"type\":{\"Tp\":247,\"Flag\":1,\"Flen\":1,\"Decimal\":0,\"Charset\":\"utf8mb4\",\"Collate\":\"utf8mb4_bin\",\"Elems\":[\"N\",\"Y\"]},\"state\":5,\"comment\":\"\",\"hidden\":false,\"change_state_info\":null,\"version\":2},{\"id\":20,\"name\":{\"O\":\"Create_view_priv\",\"L\":\"create_view_priv\"},\"offset\":19,\"origin_default\":null,\"origin_default_bit\":null,\"default\":\"N\",\"default_bit\":null,\"default_is_expr\":false,\"generated_expr_string\":\"\",\"generated_stored\":false,\"dependences\":null,\"type\":{\"Tp\":247,\"Flag\":1,\"Flen\":1,\"Decimal\":0,\"Charset\":\"utf8mb4\",\"Collate\":\"utf8mb4_bin\",\"Elems\":[\"N\",\"Y\"]},\"state\":5,\"comment\":\"\",\"hidden\":false,\"change_state_info\":null,\"version\":2},{\"id\":21,\"name\":{\"O\":\"Show_view_priv\",\"L\":\"show_view_priv\"},\"offset\":20,\"origin_default\":null,\"origin_default_bit\":null,\"default\":\"N\",\"default_bit\":null,\"default_is_expr\":false,\"generated_expr_string\":\"\",\"generated_stored\":false,\"dependences\":null,\"type\":{\"Tp\":247,\"Flag\":1,\"Flen\":1,\"Decimal\":0,\"Charset\":\"utf8mb4\",\"Collate\":\"utf8mb4_bin\",\"Elems\":[\"N\",\"Y\"]},\"state\":5,\"comment\":\"\",\"hidden\":false,\"change_state_info\":null,\"version\":2},{\"id\":22,\"name\":{\"O\":\"Create_routine_priv\",\"L\":\"create_routine_priv\"},\"offset\":21,\"origin_default\":null,\"origin_default_bit\":null,\"default\":\"N\",\"default_bit\":null,\"default_is_expr\":false,\"generated_expr_string\":\"\",\"generated_stored\":false,\"dependences\":null,\"type\":{\"Tp\":247,\"Flag\":1,\"Flen\":1,\"Decimal\":0,\"Charset\":\"utf8mb4\",\"Collate\":\"utf8mb4_bin\",\"Elems\":[\"N\",\"Y\"]},\"state\":5,\"comment\":\"\",\"hidden\":false,\"change_state_info\":null,\"version\":2},{\"id\":23,\"name\":{\"O\":\"Alter_routine_priv\",\"L\":\"alter_routine_priv\"},\"offset\":22,\"origin_default\":null,\"origin_default_bit\":null,\"default\":\"N\",\"default_bit\":null,\"default_is_expr\":false,\"generated_expr_string\":\"\",\"generated_stored\":false,\"dependences\":null,\"type\":{\"Tp\":247,\"Flag\":1,\"Flen\":1,\"Decimal\":0,\"Charset\":\"utf8mb4\",\"Collate\":\"utf8mb4_bin\",\"Elems\":[\"N\",\"Y\"]},\"state\":5,\"comment\":\"\",\"hidden\":false,\"change_state_info\":null,\"version\":2},{\"id\":24,\"name\":{\"O\":\"Index_priv\",\"L\":\"index_priv\"},\"offset\":23,\"origin_default\":null,\"origin_default_bit\":null,\"default\":\"N\",\"default_bit\":null,\"default_is_expr\":false,\"generated_expr_string\":\"\",\"generated_stored\":false,\"dependences\":null,\"type\":{\"Tp\":247,\"Flag\":1,\"Flen\":1,\"Decimal\":0,\"Charset\":\"utf8mb4\",\"Collate\":\"utf8mb4_bin\",\"Elems\":[\"N\",\"Y\"]},\"state\":5,\"comment\":\"\",\"hidden\":false,\"change_state_info\":null,\"version\":2},{\"id\":25,\"name\":{\"O\":\"Create_user_priv\",\"L\":\"create_user_priv\"},\"offset\":24,\"origin_default\":null,\"origin_default_bit\":null,\"default\":\"N\",\"default_bit\":null,\"default_is_expr\":false,\"generated_expr_string\":\"\",\"generated_stored\":false,\"dependences\":null,\"type\":{\"Tp\":247,\"Flag\":1,\"Flen\":1,\"Decimal\":0,\"Charset\":\"utf8mb4\",\"Collate\":\"utf8mb4_bin\",\"Elems\":[\"N\",\"Y\"]},\"state\":5,\"comment\":\"\",\"hidden\":false,\"change_state_info\":null,\"version\":2},{\"id\":26,\"name\":{\"O\":\"Event_priv\",\"L\":\"event_priv\"},\"offset\":25,\"origin_default\":null,\"origin_default_bit\":null,\"default\":\"N\",\"default_bit\":null,\"default_is_expr\":false,\"generated_expr_string\":\"\",\"generated_stored\":false,\"dependences\":null,\"type\":{\"Tp\":247,\"Flag\":1,\"Flen\":1,\"Decimal\":0,\"Charset\":\"utf8mb4\",\"Collate\":\"utf8mb4_bin\",\"Elems\":[\"N\",\"Y\"]},\"state\":5,\"comment\":\"\",\"hidden\":false,\"change_state_info\":null,\"version\":2},{\"id\":27,\"name\":{\"O\":\"Trigger_priv\",\"L\":\"trigger_priv\"},\"offset\":26,\"origin_default\":null,\"origin_default_bit\":null,\"default\":\"N\",\"default_bit\":null,\"default_is_expr\":false,\"generated_expr_string\":\"\",\"generated_stored\":false,\"dependences\":null,\"type\":{\"Tp\":247,\"Flag\":1,\"Flen\":1,\"Decimal\":0,\"Charset\":\"utf8mb4\",\"Collate\":\"utf8mb4_bin\",\"Elems\":[\"N\",\"Y\"]},\"state\":5,\"comment\":\"\",\"hidden\":false,\"change_state_info\":null,\"version\":2},{\"id\":28,\"name\":{\"O\":\"Create_role_priv\",\"L\":\"create_role_priv\"},\"offset\":27,\"origin_default\":null,\"origin_default_bit\":null,\"default\":\"N\",\"default_bit\":null,\"default_is_expr\":false,\"generated_expr_string\":\"\",\"generated_stored\":false,\"dependences\":null,\"type\":{\"Tp\":247,\"Flag\":1,\"Flen\":1,\"Decimal\":0,\"Charset\":\"utf8mb4\",\"Collate\":\"utf8mb4_bin\",\"Elems\":[\"N\",\"Y\"]},\"state\":5,\"comment\":\"\",\"hidden\":false,\"change_state_info\":null,\"version\":2},{\"id\":29,\"name\":{\"O\":\"Drop_role_priv\",\"L\":\"drop_role_priv\"},\"offset\":28,\"origin_default\":null,\"origin_default_bit\":null,\"default\":\"N\",\"default_bit\":null,\"default_is_expr\":false,\"generated_expr_string\":\"\",\"generated_stored\":false,\"dependences\":null,\"type\":{\"Tp\":247,\"Flag\":1,\"Flen\":1,\"Decimal\":0,\"Charset\":\"utf8mb4\",\"Collate\":\"utf8mb4_bin\",\"Elems\":[\"N\",\"Y\"]},\"state\":5,\"comment\":\"\",\"hidden\":false,\"change_state_info\":null,\"version\":2},{\"id\":30,\"name\":{\"O\":\"Account_locked\",\"L\":\"account_locked\"},\"offset\":29,\"origin_default\":null,\"origin_default_bit\":null,\"default\":\"N\",\"default_bit\":null,\"default_is_expr\":false,\"generated_expr_string\":\"\",\"generated_stored\":false,\"dependences\":null,\"type\":{\"Tp\":247,\"Flag\":1,\"Flen\":1,\"Decimal\":0,\"Charset\":\"utf8mb4\",\"Collate\":\"utf8mb4_bin\",\"Elems\":[\"N\",\"Y\"]},\"state\":5,\"comment\":\"\",\"hidden\":false,\"change_state_info\":null,\"version\":2},{\"id\":31,\"name\":{\"O\":\"Shutdown_priv\",\"L\":\"shutdown_priv\"},\"offset\":30,\"origin_default\":null,\"origin_default_bit\":null,\"default\":\"N\",\"default_bit\":null,\"default_is_expr\":false,\"generated_expr_string\":\"\",\"generated_stored\":false,\"dependences\":null,\"type\":{\"Tp\":247,\"Flag\":1,\"Flen\":1,\"Decimal\":0,\"Charset\":\"utf8mb4\",\"Collate\":\"utf8mb4_bin\",\"Elems\":[\"N\",\"Y\"]},\"state\":5,\"comment\":\"\",\"hidden\":false,\"change_state_info\":null,\"version\":2},{\"id\":32,\"name\":{\"O\":\"Reload_priv\",\"L\":\"reload_priv\"},\"offset\":31,\"origin_default\":null,\"origin_default_bit\":null,\"default\":\"N\",\"default_bit\":null,\"default_is_expr\":false,\"generated_expr_string\":\"\",\"generated_stored\":false,\"dependences\":null,\"type\":{\"Tp\":247,\"Flag\":1,\"Flen\":1,\"Decimal\":0,\"Charset\":\"utf8mb4\",\"Collate\":\"utf8mb4_bin\",\"Elems\":[\"N\",\"Y\"]},\"state\":5,\"comment\":\"\",\"hidden\":false,\"change_state_info\":null,\"version\":2},{\"id\":33,\"name\":{\"O\":\"FILE_priv\",\"L\":\"file_priv\"},\"offset\":32,\"origin_default\":null,\"origin_default_bit\":null,\"default\":\"N\",\"default_bit\":null,\"default_is_expr\":false,\"generated_expr_string\":\"\",\"generated_stored\":false,\"dependences\":null,\"type\":{\"Tp\":247,\"Flag\":1,\"Flen\":1,\"Decimal\":0,\"Charset\":\"utf8mb4\",\"Collate\":\"utf8mb4_bin\",\"Elems\":[\"N\",\"Y\"]},\"state\":5,\"comment\":\"\",\"hidden\":false,\"change_state_info\":null,\"version\":2},{\"id\":34,\"name\":{\"O\":\"Config_priv\",\"L\":\"config_priv\"},\"offset\":33,\"origin_default\":null,\"origin_default_bit\":null,\"default\":\"N\",\"default_bit\":null,\"default_is_expr\":false,\"generated_expr_string\":\"\",\"generated_stored\":false,\"dependences\":null,\"type\":{\"Tp\":247,\"Flag\":1,\"Flen\":1,\"Decimal\":0,\"Charset\":\"utf8mb4\",\"Collate\":\"utf8mb4_bin\",\"Elems\":[\"N\",\"Y\"]},\"state\":5,\"comment\":\"\",\"hidden\":false,\"change_state_info\":null,\"version\":2},{\"id\":35,\"name\":{\"O\":\"Create_Tablespace_Priv\",\"L\":\"create_tablespace_priv\"},\"offset\":34,\"origin_default\":null,\"origin_default_bit\":null,\"default\":\"N\",\"default_bit\":null,\"default_is_expr\":false,\"generated_expr_string\":\"\",\"generated_stored\":false,\"dependences\":null,\"type\":{\"Tp\":247,\"Flag\":1,\"Flen\":1,\"Decimal\":0,\"Charset\":\"utf8mb4\",\"Collate\":\"utf8mb4_bin\",\"Elems\":[\"N\",\"Y\"]},\"state\":5,\"comment\":\"\",\"hidden\":false,\"change_state_info\":null,\"version\":2},{\"id\":36,\"name\":{\"O\":\"Repl_slave_priv\",\"L\":\"repl_slave_priv\"},\"offset\":35,\"origin_default\":null,\"origin_default_bit\":null,\"default\":\"N\",\"default_bit\":null,\"default_is_expr\":false,\"generated_expr_string\":\"\",\"generated_stored\":false,\"dependences\":null,\"type\":{\"Tp\":247,\"Flag\":1,\"Flen\":1,\"Decimal\":0,\"Charset\":\"utf8mb4\",\"Collate\":\"utf8mb4_bin\",\"Elems\":[\"N\",\"Y\"]},\"state\":5,\"comment\":\"\",\"hidden\":false,\"change_state_info\":null,\"version\":2},{\"id\":37,\"name\":{\"O\":\"Repl_client_priv\",\"L\":\"repl_client_priv\"},\"offset\":36,\"origin_default\":null,\"origin_default_bit\":null,\"default\":\"N\",\"default_bit\":null,\"default_is_expr\":false,\"generated_expr_string\":\"\",\"generated_stored\":false,\"dependences\":null,\"type\":{\"Tp\":247,\"Flag\":1,\"Flen\":1,\"Decimal\":0,\"Charset\":\"utf8mb4\",\"Collate\":\"utf8mb4_bin\",\"Elems\":[\"N\",\"Y\"]},\"state\":5,\"comment\":\"\",\"hidden\":false,\"change_state_info\":null,\"version\":2}],\"index_info\":[{\"id\":1,\"idx_name\":{\"O\":\"PRIMARY\",\"L\":\"primary\"},\"tbl_name\":{\"O\":\"\",\"L\":\"\"},\"idx_cols\":[{\"name\":{\"O\":\"Host\",\"L\":\"host\"},\"offset\":0,\"length\":-1},{\"name\":{\"O\":\"User\",\"L\":\"user\"},\"offset\":1,\"length\":-1}],\"state\":5,\"comment\":\"\",\"index_type\":1,\"is_unique\":true,\"is_primary\":true,\"is_invisible\":false,\"is_global\":false}],\"constraint_info\":null,\"fk_info\":null,\"state\":5,\"pk_is_handle\":false,\"is_common_handle\":false,\"common_handle_version\":0,\"comment\":\"\",\"auto_inc_id\":0,\"auto_id_cache\":0,\"auto_rand_id\":0,\"max_col_id\":37,\"max_idx_id\":1,\"max_cst_id\":0,\"update_timestamp\":429454907737899021,\"ShardRowIDBits\":0,\"max_shard_row_id_bits\":0,\"auto_random_bits\":0,\"pre_split_regions\":0,\"partition\":null,\"compression\":\"\",\"view\":null,\"sequence\":null,\"Lock\":null,\"version\":4,\"tiflash_replica\":null,\"is_columnar\":false,\"temp_table_type\":0,\"cache_table_status\":0,\"policy_ref_info\":null,\"placement_settings\":null,\"stats_options\":null,\"SchemaID\":3,\"TableName\":{\"db-name\":\"mysql\",\"tbl-name\":\"user\",\"tbl-id\":0,\"is-partition\":false},\"TableInfoVersion\":429454923059953667,\"RowColumnsOffset\":{\"1\":0,\"10\":9,\"11\":10,\"12\":11,\"13\":12,\"14\":13,\"15\":14,\"16\":15,\"17\":16,\"18\":17,\"19\":18,\"2\":1,\"20\":19,\"21\":20,\"22\":21,\"23\":22,\"24\":23,\"25\":24,\"26\":25,\"27\":26,\"28\":27,\"29\":28,\"3\":2,\"30\":29,\"31\":30,\"32\":31,\"33\":32,\"34\":33,\"35\":34,\"36\":35,\"37\":36,\"4\":3,\"5\":4,\"6\":5,\"7\":6,\"8\":7,\"9\":8},\"ColumnsFlag\":{\"1\":58,\"10\":0,\"11\":0,\"12\":0,\"13\":0,\"14\":0,\"15\":0,\"16\":0,\"17\":0,\"18\":0,\"19\":0,\"2\":58,\"20\":0,\"21\":0,\"22\":0,\"23\":0,\"24\":0,\"25\":0,\"26\":0,\"27\":0,\"28\":0,\"29\":0,\"3\":64,\"30\":0,\"31\":0,\"32\":0,\"33\":0,\"34\":0,\"35\":0,\"36\":0,\"37\":0,\"4\":64,\"5\":0,\"6\":0,\"7\":0,\"8\":0,\"9\":0},\"HandleIndexID\":1,\"IndexColumnsOffset\":[[0,1]]}"]
[2021/11/30 10:50:59.471 +08:00] [DEBUG] [schema_storage.go:142] ["warpped table info"] [tableInfo="{\"id\":51,\"name\":{\"O\":\"global_grants\",\"L\":\"global_grants\"},\"charset\":\"utf8mb4\",\"collate\":\"utf8mb4_bin\",\"cols\":[{\"id\":1,\"name\":{\"O\":\"USER\",\"L\":\"user\"},\"offset\":0,\"origin_default\":null,\"origin_default_bit\":null,\"default\":\"\",\"default_bit\":null,\"default_is_expr\":false,\"generated_expr_string\":\"\",\"generated_stored\":false,\"dependences\":null,\"type\":{\"Tp\":254,\"Flag\":3,\"Flen\":32,\"Decimal\":0,\"Charset\":\"utf8mb4\",\"Collate\":\"utf8mb4_bin\",\"Elems\":null},\"state\":5,\"comment\":\"\",\"hidden\":false,\"change_state_info\":null,\"version\":2},{\"id\":2,\"name\":{\"O\":\"HOST\",\"L\":\"host\"},\"offset\":1,\"origin_default\":null,\"origin_default_bit\":null,\"default\":\"\",\"default_bit\":null,\"default_is_expr\":false,\"generated_expr_string\":\"\",\"generated_stored\":false,\"dependences\":null,\"type\":{\"Tp\":254,\"Flag\":3,\"Flen\":255,\"Decimal\":0,\"Charset\":\"utf8mb4\",\"Collate\":\"utf8mb4_bin\",\"Elems\":null},\"state\":5,\"comment\":\"\",\"hidden\":false,\"change_state_info\":null,\"version\":2},{\"id\":3,\"name\":{\"O\":\"PRIV\",\"L\":\"priv\"},\"offset\":2,\"origin_default\":null,\"origin_default_bit\":null,\"default\":\"\",\"default_bit\":null,\"default_is_expr\":false,\"generated_expr_string\":\"\",\"generated_stored\":false,\"dependences\":null,\"type\":{\"Tp\":254,\"Flag\":3,\"Flen\":32,\"Decimal\":0,\"Charset\":\"utf8mb4\",\"Collate\":\"utf8mb4_bin\",\"Elems\":null},\"state\":5,\"comment\":\"\",\"hidden\":false,\"change_state_info\":null,\"version\":2},{\"id\":4,\"name\":{\"O\":\"WITH_GRANT_OPTION\",\"L\":\"with_grant_option\"},\"offset\":3,\"origin_default\":null,\"origin_default_bit\":null,\"default\":\"N\",\"default_bit\":null,\"default_is_expr\":false,\"generated_expr_string\":\"\",\"generated_stored\":false,\"dependences\":null,\"type\":{\"Tp\":247,\"Flag\":1,\"Flen\":1,\"Decimal\":0,\"Charset\":\"utf8mb4\",\"Collate\":\"utf8mb4_bin\",\"Elems\":[\"N\",\"Y\"]},\"state\":5,\"comment\":\"\",\"hidden\":false,\"change_state_info\":null,\"version\":2}],\"index_info\":[{\"id\":1,\"idx_name\":{\"O\":\"PRIMARY\",\"L\":\"primary\"},\"tbl_name\":{\"O\":\"\",\"L\":\"\"},\"idx_cols\":[{\"name\":{\"O\":\"USER\",\"L\":\"user\"},\"offset\":0,\"length\":-1},{\"name\":{\"O\":\"HOST\",\"L\":\"host\"},\"offset\":1,\"length\":-1},{\"name\":{\"O\":\"PRIV\",\"L\":\"priv\"},\"offset\":2,\"length\":-1}],\"state\":5,\"comment\":\"\",\"index_type\":1,\"is_unique\":true,\"is_primary\":true,\"is_invisible\":false,\"is_global\":false}],\"constraint_info\":null,\"fk_info\":null,\"state\":5,\"pk_is_handle\":false,\"is_common_handle\":false,\"common_handle_version\":0,\"comment\":\"\",\"auto_inc_id\":0,\"auto_id_cache\":0,\"auto_rand_id\":0,\"max_col_id\":4,\"max_idx_id\":1,\"max_cst_id\":0,\"update_timestamp\":429454908419473409,\"ShardRowIDBits\":0,\"max_shard_row_id_bits\":0,\"auto_random_bits\":0,\"pre_split_regions\":0,\"partition\":null,\"compression\":\"\",\"view\":null,\"sequence\":null,\"Lock\":null,\"version\":4,\"tiflash_replica\":null,\"is_columnar\":false,\"temp_table_type\":0,\"cache_table_status\":0,\"policy_ref_info\":null,\"placement_settings\":null,\"stats_options\":null,\"SchemaID\":3,\"TableName\":{\"db-name\":\"mysql\",\"tbl-name\":\"global_grants\",\"tbl-id\":0,\"is-partition\":false},\"TableInfoVersion\":429454923059953667,\"RowColumnsOffset\":{\"1\":0,\"2\":1,\"3\":2,\"4\":3},\"ColumnsFlag\":{\"1\":58,\"2\":58,\"3\":58,\"4\":0},\"HandleIndexID\":1,\"IndexColumnsOffset\":[[0,1,2]]}"]
[2021/11/30 10:50:59.473 +08:00] [DEBUG] [schema_storage.go:142] ["warpped table info"] [tableInfo="{\"id\":7,\"name\":{\"O\":\"global_priv\",\"L\":\"global_priv\"},\"charset\":\"utf8mb4\",\"collate\":\"utf8mb4_bin\",\"cols\":[{\"id\":1,\"name\":{\"O\":\"Host\",\"L\":\"host\"},\"offset\":0,\"origin_default\":null,\"origin_default_bit\":null,\"default\":\"\",\"default_bit\":null,\"default_is_expr\":false,\"generated_expr_string\":\"\",\"generated_stored\":false,\"dependences\":null,\"type\":{\"Tp\":254,\"Flag\":3,\"Flen\":60,\"Decimal\":0,\"Charset\":\"utf8mb4\",\"Collate\":\"utf8mb4_bin\",\"Elems\":null},\"state\":5,\"comment\":\"\",\"hidden\":false,\"change_state_info\":null,\"version\":2},{\"id\":2,\"name\":{\"O\":\"User\",\"L\":\"user\"},\"offset\":1,\"origin_default\":null,\"origin_default_bit\":null,\"default\":\"\",\"default_bit\":null,\"default_is_expr\":false,\"generated_expr_string\":\"\",\"generated_stored\":false,\"dependences\":null,\"type\":{\"Tp\":254,\"Flag\":3,\"Flen\":80,\"Decimal\":0,\"Charset\":\"utf8mb4\",\"Collate\":\"utf8mb4_bin\",\"Elems\":null},\"state\":5,\"comment\":\"\",\"hidden\":false,\"change_state_info\":null,\"version\":2},{\"id\":3,\"name\":{\"O\":\"Priv\",\"L\":\"priv\"},\"offset\":2,\"origin_default\":null,\"origin_default_bit\":null,\"default\":\"\",\"default_bit\":null,\"default_is_expr\":false,\"generated_expr_string\":\"\",\"generated_stored\":false,\"dependences\":null,\"type\":{\"Tp\":251,\"Flag\":4097,\"Flen\":4294967295,\"Decimal\":0,\"Charset\":\"utf8mb4\",\"Collate\":\"utf8mb4_bin\",\"Elems\":null},\"state\":5,\"comment\":\"\",\"hidden\":false,\"change_state_info\":null,\"version\":2}],\"index_info\":[{\"id\":1,\"idx_name\":{\"O\":\"PRIMARY\",\"L\":\"primary\"},\"tbl_name\":{\"O\":\"\",\"L\":\"\"},\"idx_cols\":[{\"name\":{\"O\":\"Host\",\"L\":\"host\"},\"offset\":0,\"length\":-1},{\"name\":{\"O\":\"User\",\"L\":\"user\"},\"offset\":1,\"length\":-1}],\"state\":5,\"comment\":\"\",\"index_type\":1,\"is_unique\":true,\"is_primary\":true,\"is_invisible\":false,\"is_global\":false}],\"constraint_info\":null,\"fk_info\":null,\"state\":5,\"pk_is_handle\":false,\"is_common_handle\":false,\"common_handle_version\":0,\"comment\":\"\",\"auto_inc_id\":0,\"auto_id_cache\":0,\"auto_rand_id\":0,\"max_col_id\":3,\"max_idx_id\":1,\"max_cst_id\":0,\"update_timestamp\":429454907777220610,\"ShardRowIDBits\":0,\"max_shard_row_id_bits\":0,\"auto_random_bits\":0,\"pre_split_regions\":0,\"partition\":null,\"compression\":\"\",\"view\":null,\"sequence\":null,\"Lock\":null,\"version\":4,\"tiflash_replica\":null,\"is_columnar\":false,\"temp_table_type\":0,\"cache_table_status\":0,\"policy_ref_info\":null,\"placement_settings\":null,\"stats_options\":null,\"SchemaID\":3,\"TableName\":{\"db-name\":\"mysql\",\"tbl-name\":\"global_priv\",\"tbl-id\":0,\"is-partition\":false},\"TableInfoVersion\":429454923059953667,\"RowColumnsOffset\":{\"1\":0,\"2\":1,\"3\":2},\"ColumnsFlag\":{\"1\":58,\"2\":58,\"3\":0},\"HandleIndexID\":1,\"IndexColumnsOffset\":[[0,1]]}"]
[2021/11/30 10:50:59.476 +08:00] [DEBUG] [schema_storage.go:142] ["warpped table info"] [tableInfo="{\"id\":9,\"name\":{\"O\":\"db\",\"L\":\"db\"},\"charset\":\"utf8mb4\",\"collate\":\"utf8mb4_bin\",\"cols\":[{\"id\":1,\"name\":{\"O\":\"Host\",\"L\":\"host\"},\"offset\":0,\"origin_default\":null,\"origin_default_bit\":null,\"default\":null,\"default_bit\":null,\"default_is_expr\":false,\"generated_expr_string\":\"\",\"generated_stored\":false,\"dependences\":null,\"type\":{\"Tp\":254,\"Flag\":4099,\"Flen\":60,\"Decimal\":0,\"Charset\":\"utf8mb4\",\"Collate\":\"utf8mb4_bin\",\"Elems\":null},\"state\":5,\"comment\":\"\",\"hidden\":false,\"change_state_info\":null,\"version\":2},{\"id\":2,\"name\":{\"O\":\"DB\",\"L\":\"db\"},\"offset\":1,\"origin_default\":null,\"origin_default_bit\":null,\"default\":null,\"default_bit\":null,\"default_is_expr\":false,\"generated_expr_string\":\"\",\"generated_stored\":false,\"dependences\":null,\"type\":{\"Tp\":254,\"Flag\":4099,\"Flen\":64,\"Decimal\":0,\"Charset\":\"utf8mb4\",\"Collate\":\"utf8mb4_bin\",\"Elems\":null},\"state\":5,\"comment\":\"\",\"hidden\":false,\"change_state_info\":null,\"version\":2},{\"id\":3,\"name\":{\"O\":\"User\",\"L\":\"user\"},\"offset\":2,\"origin_default\":null,\"origin_default_bit\":null,\"default\":null,\"default_bit\":null,\"default_is_expr\":false,\"generated_expr_string\":\"\",\"generated_stored\":false,\"dependences\":null,\"type\":{\"Tp\":254,\"Flag\":4099,\"Flen\":32,\"Decimal\":0,\"Charset\":\"utf8mb4\",\"Collate\":\"utf8mb4_bin\",\"Elems\":null},\"state\":5,\"comment\":\"\",\"hidden\":false,\"change_state_info\":null,\"version\":2},{\"id\":4,\"name\":{\"O\":\"Select_priv\",\"L\":\"select_priv\"},\"offset\":3,\"origin_default\":null,\"origin_default_bit\":null,\"default\":\"N\",\"default_bit\":null,\"default_is_expr\":false,\"generated_expr_string\":\"\",\"generated_stored\":false,\"dependences\":null,\"type\":{\"Tp\":247,\"Flag\":1,\"Flen\":1,\"Decimal\":0,\"Charset\":\"utf8mb4\",\"Collate\":\"utf8mb4_bin\",\"Elems\":[\"N\",\"Y\"]},\"state\":5,\"comment\":\"\",\"hidden\":false,\"change_state_info\":null,\"version\":2},{\"id\":5,\"name\":{\"O\":\"Insert_priv\",\"L\":\"insert_priv\"},\"offset\":4,\"origin_default\":null,\"origin_default_bit\":null,\"default\":\"N\",\"default_bit\":null,\"default_is_expr\":false,\"generated_expr_string\":\"\",\"generated_stored\":false,\"dependences\":null,\"type\":{\"Tp\":247,\"Flag\":1,\"Flen\":1,\"Decimal\":0,\"Charset\":\"utf8mb4\",\"Collate\":\"utf8mb4_bin\",\"Elems\":[\"N\",\"Y\"]},\"state\":5,\"comment\":\"\",\"hidden\":false,\"change_state_info\":null,\"version\":2},{\"id\":6,\"name\":{\"O\":\"Update_priv\",\"L\":\"update_priv\"},\"offset\":5,\"origin_default\":null,\"origin_default_bit\":null,\"default\":\"N\",\"default_bit\":null,\"default_is_expr\":false,\"generated_expr_string\":\"\",\"generated_stored\":false,\"dependences\":null,\"type\":{\"Tp\":247,\"Flag\":1,\"Flen\":1,\"Decimal\":0,\"Charset\":\"utf8mb4\",\"Collate\":\"utf8mb4_bin\",\"Elems\":[\"N\",\"Y\"]},\"state\":5,\"comment\":\"\",\"hidden\":false,\"change_state_info\":null,\"version\":2},{\"id\":7,\"name\":{\"O\":\"Delete_priv\",\"L\":\"delete_priv\"},\"offset\":6,\"origin_default\":null,\"origin_default_bit\":null,\"default\":\"N\",\"default_bit\":null,\"default_is_expr\":false,\"generated_expr_string\":\"\",\"generated_stored\":false,\"dependences\":null,\"type\":{\"Tp\":247,\"Flag\":1,\"Flen\":1,\"Decimal\":0,\"Charset\":\"utf8mb4\",\"Collate\":\"utf8mb4_bin\",\"Elems\":[\"N\",\"Y\"]},\"state\":5,\"comment\":\"\",\"hidden\":false,\"change_state_info\":null,\"version\":2},{\"id\":8,\"name\":{\"O\":\"Create_priv\",\"L\":\"create_priv\"},\"offset\":7,\"origin_default\":null,\"origin_default_bit\":null,\"default\":\"N\",\"default_bit\":null,\"default_is_expr\":false,\"generated_expr_string\":\"\",\"generated_stored\":false,\"dependences\":null,\"type\":{\"Tp\":247,\"Flag\":1,\"Flen\":1,\"Decimal\":0,\"Charset\":\"utf8mb4\",\"Collate\":\"utf8mb4_bin\",\"Elems\":[\"N\",\"Y\"]},\"state\":5,\"comment\":\"\",\"hidden\":false,\"change_state_info\":null,\"version\":2},{\"id\":9,\"name\":{\"O\":\"Drop_priv\",\"L\":\"drop_priv\"},\"offset\":8,\"origin_default\":null,\"origin_default_bit\":null,\"default\":\"N\",\"default_bit\":null,\"default_is_expr\":false,\"generated_expr_string\":\"\",\"generated_stored\":false,\"dependences\":null,\"type\":{\"Tp\":247,\"Flag\":1,\"Flen\":1,\"Decimal\":0,\"Charset\":\"utf8mb4\",\"Collate\":\"utf8mb4_bin\",\"Elems\":[\"N\",\"Y\"]},\"state\":5,\"comment\":\"\",\"hidden\":false,\"change_state_info\":null,\"version\":2},{\"id\":10,\"name\":{\"O\":\"Grant_priv\",\"L\":\"grant_priv\"},\"offset\":9,\"origin_default\":null,\"origin_default_bit\":null,\"default\":\"N\",\"default_bit\":null,\"default_is_expr\":false,\"generated_expr_string\":\"\",\"generated_stored\":false,\"dependences\":null,\"type\":{\"Tp\":247,\"Flag\":1,\"Flen\":1,\"Decimal\":0,\"Charset\":\"utf8mb4\",\"Collate\":\"utf8mb4_bin\",\"Elems\":[\"N\",\"Y\"]},\"state\":5,\"comment\":\"\",\"hidden\":false,\"change_state_info\":null,\"version\":2},{\"id\":11,\"name\":{\"O\":\"References_priv\",\"L\":\"references_priv\"},\"offset\":10,\"origin_default\":null,\"origin_default_bit\":null,\"default\":\"N\",\"default_bit\":null,\"default_is_expr\":false,\"generated_expr_string\":\"\",\"generated_stored\":false,\"dependences\":null,\"type\":{\"Tp\":247,\"Flag\":1,\"Flen\":1,\"Decimal\":0,\"Charset\":\"utf8mb4\",\"Collate\":\"utf8mb4_bin\",\"Elems\":[\"N\",\"Y\"]},\"state\":5,\"comment\":\"\",\"hidden\":false,\"change_state_info\":null,\"version\":2},{\"id\":12,\"name\":{\"O\":\"Index_priv\",\"L\":\"index_priv\"},\"offset\":11,\"origin_default\":null,\"origin_default_bit\":null,\"default\":\"N\",\"default_bit\":null,\"default_is_expr\":false,\"generated_expr_string\":\"\",\"generated_stored\":false,\"dependences\":null,\"type\":{\"Tp\":247,\"Flag\":1,\"Flen\":1,\"Decimal\":0,\"Charset\":\"utf8mb4\",\"Collate\":\"utf8mb4_bin\",\"Elems\":[\"N\",\"Y\"]},\"state\":5,\"comment\":\"\",\"hidden\":false,\"change_state_info\":null,\"version\":2},{\"id\":13,\"name\":{\"O\":\"Alter_priv\",\"L\":\"alter_priv\"},\"offset\":12,\"origin_default\":null,\"origin_default_bit\":null,\"default\":\"N\",\"default_bit\":null,\"default_is_expr\":false,\"generated_expr_string\":\"\",\"generated_stored\":false,\"dependences\":null,\"type\":{\"Tp\":247,\"Flag\":1,\"Flen\":1,\"Decimal\":0,\"Charset\":\"utf8mb4\",\"Collate\":\"utf8mb4_bin\",\"Elems\":[\"N\",\"Y\"]},\"state\":5,\"comment\":\"\",\"hidden\":false,\"change_state_info\":null,\"version\":2},{\"id\":14,\"name\":{\"O\":\"Create_tmp_table_priv\",\"L\":\"create_tmp_table_priv\"},\"offset\":13,\"origin_default\":null,\"origin_default_bit\":null,\"default\":\"N\",\"default_bit\":null,\"default_is_expr\":false,\"generated_expr_string\":\"\",\"generated_stored\":false,\"dependences\":null,\"type\":{\"Tp\":247,\"Flag\":1,\"Flen\":1,\"Decimal\":0,\"Charset\":\"utf8mb4\",\"Collate\":\"utf8mb4_bin\",\"Elems\":[\"N\",\"Y\"]},\"state\":5,\"comment\":\"\",\"hidden\":false,\"change_state_info\":null,\"version\":2},{\"id\":15,\"name\":{\"O\":\"Lock_tables_priv\",\"L\":\"lock_tables_priv\"},\"offset\":14,\"origin_default\":null,\"origin_default_bit\":null,\"default\":\"N\",\"default_bit\":null,\"default_is_expr\":false,\"generated_expr_string\":\"\",\"generated_stored\":false,\"dependences\":null,\"type\":{\"Tp\":247,\"Flag\":1,\"Flen\":1,\"Decimal\":0,\"Charset\":\"utf8mb4\",\"Collate\":\"utf8mb4_bin\",\"Elems\":[\"N\",\"Y\"]},\"state\":5,\"comment\":\"\",\"hidden\":false,\"change_state_info\":null,\"version\":2},{\"id\":16,\"name\":{\"O\":\"Create_view_priv\",\"L\":\"create_view_priv\"},\"offset\":15,\"origin_default\":null,\"origin_default_bit\":null,\"default\":\"N\",\"default_bit\":null,\"default_is_expr\":false,\"generated_expr_string\":\"\",\"generated_stored\":false,\"dependences\":null,\"type\":{\"Tp\":247,\"Flag\":1,\"Flen\":1,\"Decimal\":0,\"Charset\":\"utf8mb4\",\"Collate\":\"utf8mb4_bin\",\"Elems\":[\"N\",\"Y\"]},\"state\":5,\"comment\":\"\",\"hidden\":false,\"change_state_info\":null,\"version\":2},{\"id\":17,\"name\":{\"O\":\"Show_view_priv\",\"L\":\"show_view_priv\"},\"offset\":16,\"origin_default\":null,\"origin_default_bit\":null,\"default\":\"N\",\"default_bit\":null,\"default_is_expr\":false,\"generated_expr_string\":\"\",\"generated_stored\":false,\"dependences\":null,\"type\":{\"Tp\":247,\"Flag\":1,\"Flen\":1,\"Decimal\":0,\"Charset\":\"utf8mb4\",\"Collate\":\"utf8mb4_bin\",\"Elems\":[\"N\",\"Y\"]},\"state\":5,\"comment\":\"\",\"hidden\":false,\"change_state_info\":null,\"version\":2},{\"id\":18,\"name\":{\"O\":\"Create_routine_priv\",\"L\":\"create_routine_priv\"},\"offset\":17,\"origin_default\":null,\"origin_default_bit\":null,\"default\":\"N\",\"default_bit\":null,\"default_is_expr\":false,\"generated_expr_string\":\"\",\"generated_stored\":false,\"dependences\":null,\"type\":{\"Tp\":247,\"Flag\":1,\"Flen\":1,\"Decimal\":0,\"Charset\":\"utf8mb4\",\"Collate\":\"utf8mb4_bin\",\"Elems\":[\"N\",\"Y\"]},\"state\":5,\"comment\":\"\",\"hidden\":false,\"change_state_info\":null,\"version\":2},{\"id\":19,\"name\":{\"O\":\"Alter_routine_priv\",\"L\":\"alter_routine_priv\"},\"offset\":18,\"origin_default\":null,\"origin_default_bit\":null,\"default\":\"N\",\"default_bit\":null,\"default_is_expr\":false,\"generated_expr_string\":\"\",\"generated_stored\":false,\"dependences\":null,\"type\":{\"Tp\":247,\"Flag\":1,\"Flen\":1,\"Decimal\":0,\"Charset\":\"utf8mb4\",\"Collate\":\"utf8mb4_bin\",\"Elems\":[\"N\",\"Y\"]},\"state\":5,\"comment\":\"\",\"hidden\":false,\"change_state_info\":null,\"version\":2},{\"id\":20,\"name\":{\"O\":\"Execute_priv\",\"L\":\"execute_priv\"},\"offset\":19,\"origin_default\":null,\"origin_default_bit\":null,\"default\":\"N\",\"default_bit\":null,\"default_is_expr\":false,\"generated_expr_string\":\"\",\"generated_stored\":false,\"dependences\":null,\"type\":{\"Tp\":247,\"Flag\":1,\"Flen\":1,\"Decimal\":0,\"Charset\":\"utf8mb4\",\"Collate\":\"utf8mb4_bin\",\"Elems\":[\"N\",\"Y\"]},\"state\":5,\"comment\":\"\",\"hidden\":false,\"change_state_info\":null,\"version\":2},{\"id\":21,\"name\":{\"O\":\"Event_priv\",\"L\":\"event_priv\"},\"offset\":20,\"origin_default\":null,\"origin_default_bit\":null,\"default\":\"N\",\"default_bit\":null,\"default_is_expr\":false,\"generated_expr_string\":\"\",\"generated_stored\":false,\"dependences\":null,\"type\":{\"Tp\":247,\"Flag\":1,\"Flen\":1,\"Decimal\":0,\"Charset\":\"utf8mb4\",\"Collate\":\"utf8mb4_bin\",\"Elems\":[\"N\",\"Y\"]},\"state\":5,\"comment\":\"\",\"hidden\":false,\"change_state_info\":null,\"version\":2},{\"id\":22,\"name\":{\"O\":\"Trigger_priv\",\"L\":\"trigger_priv\"},\"offset\":21,\"origin_default\":null,\"origin_default_bit\":null,\"default\":\"N\",\"default_bit\":null,\"default_is_expr\":false,\"generated_expr_string\":\"\",\"generated_stored\":false,\"dependences\":null,\"type\":{\"Tp\":247,\"Flag\":1,\"Flen\":1,\"Decimal\":0,\"Charset\":\"utf8mb4\",\"Collate\":\"utf8mb4_bin\",\"Elems\":[\"N\",\"Y\"]},\"state\":5,\"comment\":\"\",\"hidden\":false,\"change_state_info\":null,\"version\":2}],\"index_info\":[{\"id\":1,\"idx_name\":{\"O\":\"PRIMARY\",\"L\":\"primary\"},\"tbl_name\":{\"O\":\"\",\"L\":\"\"},\"idx_cols\":[{\"name\":{\"O\":\"Host\",\"L\":\"host\"},\"offset\":0,\"length\":-1},{\"name\":{\"O\":\"DB\",\"L\":\"db\"},\"offset\":1,\"length\":-1},{\"name\":{\"O\":\"User\",\"L\":\"user\"},\"offset\":2,\"length\":-1}],\"state\":5,\"comment\":\"\",\"index_type\":1,\"is_unique\":true,\"is_primary\":true,\"is_invisible\":false,\"is_global\":false}],\"constraint_info\":null,\"fk_info\":null,\"state\":5,\"pk_is_handle\":false,\"is_common_handle\":false,\"common_handle_version\":0,\"comment\":\"\",\"auto_inc_id\":0,\"auto_id_cache\":0,\"auto_rand_id\":0,\"max_col_id\":22,\"max_idx_id\":1,\"max_cst_id\":0,\"update_timestamp\":429454907790589966,\"ShardRowIDBits\":0,\"max_shard_row_id_bits\":0,\"auto_random_bits\":0,\"pre_split_regions\":0,\"partition\":null,\"compression\":\"\",\"view\":null,\"sequence\":null,\"Lock\":null,\"version\":4,\"tiflash_replica\":null,\"is_columnar\":false,\"temp_table_type\":0,\"cache_table_status\":0,\"policy_ref_info\":null,\"placement_settings\":null,\"stats_options\":null,\"SchemaID\":3,\"TableName\":{\"db-name\":\"mysql\",\"tbl-name\":\"db\",\"tbl-id\":0,\"is-partition\":false},\"TableInfoVersion\":429454923059953667,\"RowColumnsOffset\":{\"1\":0,\"10\":9,\"11\":10,\"12\":11,\"13\":12,\"14\":13,\"15\":14,\"16\":15,\"17\":16,\"18\":17,\"19\":18,\"2\":1,\"20\":19,\"21\":20,\"22\":21,\"3\":2,\"4\":3,\"5\":4,\"6\":5,\"7\":6,\"8\":7,\"9\":8},\"ColumnsFlag\":{\"1\":58,\"10\":0,\"11\":0,\"12\":0,\"13\":0,\"14\":0,\"15\":0,\"16\":0,\"17\":0,\"18\":0,\"19\":0,\"2\":58,\"20\":0,\"21\":0,\"22\":0,\"3\":58,\"4\":0,\"5\":0,\"6\":0,\"7\":0,\"8\":0,\"9\":0},\"HandleIndexID\":1,\"IndexColumnsOffset\":[[0,1,2]]}"]
[2021/11/30 10:50:59.493 +08:00] [INFO] [kafka.go:503] ["Starting kafka sarama producer ..."] [config="{\"BrokerEndpoints\":[\"127.0.0.1:9092\"],\"PartitionNum\":0,\"ReplicationFactor\":1,\"Version\":\"2.4.0\",\"MaxMessageBytes\":1048576,\"Compression\":\"none\",\"ClientID\":\"\",\"Credential\":{\"ca-path\":\"\",\"cert-path\":\"\",\"key-path\":\"\",\"cert-allowed-cn\":null},\"SaslScram\":{\"sasl-user\":\"\",\"sasl-password\":\"\",\"sasl-mechanism\":\"\"},\"AutoCreate\":true}"]
[2021/11/30 10:50:59.493 +08:00] [DEBUG] [client.go:138] ["Initializing new client"] [name=sarama]
[2021/11/30 10:50:59.493 +08:00] [DEBUG] [client.go:871] ["client/metadata fetching metadata for all topics from broker 127.0.0.1:9092"] [name=sarama]
[2021/11/30 10:50:59.494 +08:00] [DEBUG] [broker.go:209] ["Connected to broker at 127.0.0.1:9092 (unregistered)"] [name=sarama]
[2021/11/30 10:51:29.494 +08:00] [DEBUG] [client.go:914] ["client/metadata got error from broker -1 while fetching metadata: read tcp 127.0.0.1:64277->127.0.0.1:9092: i/o timeout"] [name=sarama]
[2021/11/30 10:51:29.494 +08:00] [DEBUG] [broker.go:248] ["Closed connection to broker 127.0.0.1:9092"] [name=sarama]
[2021/11/30 10:51:29.494 +08:00] [DEBUG] [client.go:925] ["client/metadata no available broker to send metadata request to"] [name=sarama]
[2021/11/30 10:51:29.494 +08:00] [DEBUG] [client.go:661] ["client/brokers resurrecting 1 dead seed brokers"] [name=sarama]
[2021/11/30 10:51:29.494 +08:00] [DEBUG] [client.go:855] ["client/metadata retrying after 500ms... (120 attempts remaining)"] [name=sarama]
[2021/11/30 10:51:29.994 +08:00] [DEBUG] [client.go:871] ["client/metadata fetching metadata for all topics from broker 127.0.0.1:9092"] [name=sarama]
[2021/11/30 10:51:29.994 +08:00] [DEBUG] [broker.go:209] ["Connected to broker at 127.0.0.1:9092 (unregistered)"] [name=sarama]
[2021/11/30 10:51:59.989 +08:00] [DEBUG] [client.go:914] ["client/metadata got error from broker -1 while fetching metadata: read tcp 127.0.0.1:64414->127.0.0.1:9092: i/o timeout"] [name=sarama]
[2021/11/30 10:51:59.989 +08:00] [DEBUG] [broker.go:248] ["Closed connection to broker 127.0.0.1:9092"] [name=sarama]
[2021/11/30 10:51:59.989 +08:00] [DEBUG] [client.go:925] ["client/metadata no available broker to send metadata request to"] [name=sarama]
[2021/11/30 10:51:59.989 +08:00] [DEBUG] [client.go:661] ["client/brokers resurrecting 1 dead seed brokers"] [name=sarama]
[2021/11/30 10:51:59.989 +08:00] [DEBUG] [client.go:852] ["client/metadata skipping last retries as we would go past the metadata timeout"] [name=sarama]
[2021/11/30 10:51:59.989 +08:00] [DEBUG] [client.go:234] ["Closing Client"] [name=sarama]
[2021/11/30 10:51:59.989 +08:00] [ERROR] [changefeed.go:111] ["an error occurred in Owner"] [changefeedID=67bc00ae-c89a-4bfa-ab66-42633cb1645b] [error="[CDC:ErrKafkaNewSaramaProducer][CDC:ErrKafkaNewSaramaProducer]kafka: client has run out of available brokers to talk to (Is your cluster reachable?): kafka: client has run out of available brokers to talk to (Is your cluster reachable?): [CDC:ErrKafkaNewSaramaProducer]kafka: client has run out of available brokers to talk to (Is your cluster reachable?): kafka: client has run out of available brokers to talk to (Is your cluster reachable?)"] [errorVerbose="[CDC:ErrKafkaNewSaramaProducer][CDC:ErrKafkaNewSaramaProducer]kafka: client has run out of available brokers to talk to (Is your cluster reachable?): kafka: client has run out of available brokers to talk to (Is your cluster reachable?): [CDC:ErrKafkaNewSaramaProducer]kafka: client has run out of available brokers to talk to (Is your cluster reachable?): kafka: client has run out of available brokers to talk to (Is your cluster reachable?)\ngithub.com/pingcap/errors.AddStack\n\tgithub.com/pingcap/[email protected]/errors.go:174\ngithub.com/pingcap/errors.(*Error).GenWithStackByCause\n\tgithub.com/pingcap/[email protected]/normalize.go:302\ngithub.com/pingcap/ticdc/pkg/errors.WrapError\n\tgithub.com/pingcap/ticdc/pkg/errors/helper.go:30\ngithub.com/pingcap/ticdc/cdc/sink/producer/kafka.NewKafkaSaramaProducer\n\tgithub.com/pingcap/ticdc/cdc/sink/producer/kafka/kafka.go:510\ngithub.com/pingcap/ticdc/cdc/sink.newKafkaSaramaSink\n\tgithub.com/pingcap/ticdc/cdc/sink/mq.go:402\ngithub.com/pingcap/ticdc/cdc/sink.init.1.func3\n\tgithub.com/pingcap/ticdc/cdc/sink/sink.go:85\ngithub.com/pingcap/ticdc/cdc/sink.New\n\tgithub.com/pingcap/ticdc/cdc/sink/sink.go:117\ngithub.com/pingcap/ticdc/cdc/owner.newAsyncSink\n\tgithub.com/pingcap/ticdc/cdc/owner/async_sink.go:80\ngithub.com/pingcap/ticdc/cdc/owner.(*changefeed).initialize\n\tgithub.com/pingcap/ticdc/cdc/owner/changefeed.go:255\ngithub.com/pingcap/ticdc/cdc/owner.(*changefeed).tick\n\tgithub.com/pingcap/ticdc/cdc/owner/changefeed.go:160\ngithub.com/pingcap/ticdc/cdc/owner.(*changefeed).Tick\n\tgithub.com/pingcap/ticdc/cdc/owner/changefeed.go:110\ngithub.com/pingcap/ticdc/cdc/owner.(*Owner).Tick\n\tgithub.com/pingcap/ticdc/cdc/owner/owner.go:163\ngithub.com/pingcap/ticdc/pkg/orchestrator.(*EtcdWorker).Run\n\tgithub.com/pingcap/ticdc/pkg/orchestrator/etcd_worker.go:218\ngithub.com/pingcap/ticdc/cdc/capture.(*Capture).runEtcdWorker\n\tgithub.com/pingcap/ticdc/cdc/capture/capture.go:311\ngithub.com/pingcap/ticdc/cdc/capture.(*Capture).campaignOwner\n\tgithub.com/pingcap/ticdc/cdc/capture/capture.go:289\ngithub.com/pingcap/ticdc/cdc/capture.(*Capture).run.func2\n\tgithub.com/pingcap/ticdc/cdc/capture/capture.go:210\nruntime.goexit\n\truntime/asm_amd64.s:1371"]
[2021/11/30 10:52:00.012 +08:00] [WARN] [etcd_worker.go:221] ["etcdWorker ticks reactor cost time more than 1 second"]
[2021/11/30 10:52:00.013 +08:00] [DEBUG] [etcd_worker.go:400] ["[etcd worker] ==========Update State to ETCD=========="]
[2021/11/30 10:52:00.013 +08:00] [DEBUG] [etcd_worker.go:405] ["[etcd worker] put key"] [key=/tidb/cdc/changefeed/info/67bc00ae-c89a-4bfa-ab66-42633cb1645b] [value="{\"sink-uri\":\"kafka://127.0.0.1:9092/ticdc-test\",\"opts\":{},\"create-time\":\"2021-11-30T10:48:41.348801+08:00\",\"start-ts\":429454923059953668,\"target-ts\":0,\"admin-job-type\":0,\"sort-engine\":\"unified\",\"sort-dir\":\"\",\"config\":{\"case-sensitive\":true,\"enable-old-value\":true,\"force-replicate\":false,\"check-gc-safe-point\":true,\"filter\":{\"rules\":[\"*.*\"],\"ignore-txn-start-ts\":null},\"mounter\":{\"worker-num\":16},\"sink\":{\"dispatchers\":null,\"protocol\":\"default\",\"column-selectors\":null},\"cyclic-replication\":{\"enable\":false,\"replica-id\":0,\"filter-replica-ids\":null,\"id-buckets\":0,\"sync-ddl\":false},\"scheduler\":{\"type\":\"table-number\",\"polling-time\":-1},\"consistent\":{\"level\":\"none\",\"max-log-size\":64,\"flush-interval\":1000,\"storage\":\"\"}},\"state\":\"normal\",\"history\":[1638240659292,1638240720012],\"error\":{\"addr\":\"127.0.0.1:8300\",\"code\":\"CDC:ErrOwnerUnknown\",\"message\":\"[CDC:ErrKafkaNewSaramaProducer][CDC:ErrKafkaNewSaramaProducer]kafka: client has run out of available brokers to talk to (Is your cluster reachable?): kafka: client has run out of available brokers to talk to (Is your cluster reachable?): [CDC:ErrKafkaNewSaramaProducer]kafka: client has run out of available brokers to talk to (Is your cluster reachable?): kafka: client has run out of available brokers to talk to (Is your cluster reachable?)\"},\"sync-point-enabled\":false,\"sync-point-interval\":600000000000,\"creator-version\":\"v5.2.0-master-dirty\"}"]
[2021/11/30 10:52:00.014 +08:00] [DEBUG] [etcd_worker.go:408] ["[etcd worker] ============State Commit============="] [committed=true]
[2021/11/30 10:52:00.045 +08:00] [INFO] [changefeed.go:209] ["initialize changefeed"] [changefeed=67bc00ae-c89a-4bfa-ab66-42633cb1645b] [info="{\"sink-uri\":\"***\",\"opts\":{},\"create-time\":\"2021-11-30T10:48:41.348801+08:00\",\"start-ts\":429454923059953668,\"target-ts\":0,\"admin-job-type\":0,\"sort-engine\":\"unified\",\"sort-dir\":\"\",\"config\":{\"case-sensitive\":true,\"enable-old-value\":true,\"force-replicate\":false,\"check-gc-safe-point\":true,\"filter\":{\"rules\":[\"*.*\"],\"ignore-txn-start-ts\":null},\"mounter\":{\"worker-num\":16},\"sink\":{\"dispatchers\":null,\"protocol\":\"default\",\"column-selectors\":null},\"cyclic-replication\":{\"enable\":false,\"replica-id\":0,\"filter-replica-ids\":null,\"id-buckets\":0,\"sync-ddl\":false},\"scheduler\":{\"type\":\"table-number\",\"polling-time\":-1},\"consistent\":{\"level\":\"none\",\"max-log-size\":64,\"flush-interval\":1000,\"storage\":\"\"}},\"state\":\"normal\",\"history\":[1638240659292,1638240720012],\"error\":{\"addr\":\"127.0.0.1:8300\",\"code\":\"CDC:ErrOwnerUnknown\",\"message\":\"[CDC:ErrKafkaNewSaramaProducer][CDC:ErrKafkaNewSaramaProducer]kafka: client has run out of available brokers to talk to (Is your cluster reachable?): kafka: client has run out of available brokers to talk to (Is your cluster reachable?): [CDC:ErrKafkaNewSaramaProducer]kafka: client has run out of available brokers to talk to (Is your cluster reachable?): kafka: client has run out of available brokers to talk to (Is your cluster reachable?)\"},\"sync-point-enabled\":false,\"sync-point-interval\":600000000000,\"creator-version\":\"v5.2.0-master-dirty\"}"] ["checkpoint ts"=429454923059953668]
[2021/11/30 10:52:00.147 +08:00] [DEBUG] [scan.go:186] ["txn getData"] [nextStartKey=6d4442730000000000fa0000000000000068] [nextEndKey=6d4442730000000000fa0000000000000069] [reverse=false] [txnStartTS=429454923059953667]
[2021/11/30 10:52:00.147 +08:00] [DEBUG] [scan.go:186] ["txn getData"] [nextStartKey=6d44423a3100000000fb0000000000000068] [nextEndKey=6d44423a3100000000fb0000000000000069] [reverse=false] [txnStartTS=429454923059953667]
[2021/11/30 10:52:00.148 +08:00] [DEBUG] [scan.go:186] ["txn getData"] [nextStartKey=6d44423a3300000000fb0000000000000068] [nextEndKey=6d44423a3300000000fb0000000000000069] [reverse=false] [txnStartTS=429454923059953667]

@Rustin170506
Copy link
Member Author

/cc @3AceShowHand @amyangfei @liuzix

Could you please take a look? Thanks! 💚 💙 💜 💛 ❤️

@ti-chi-bot ti-chi-bot added the status/LGT1 Indicates that a PR has LGTM 1. label Nov 30, 2021
@amyangfei amyangfei added component/sink Sink component. area/ticdc Issues or PRs related to TiCDC. labels Nov 30, 2021
@ti-chi-bot ti-chi-bot added status/LGT2 Indicates that a PR has LGTM 2. and removed status/LGT1 Indicates that a PR has LGTM 1. labels Nov 30, 2021
@amyangfei
Copy link
Contributor

/merge

@ti-chi-bot
Copy link
Member

This pull request has been accepted and is ready to merge.

Commit hash: d775d48

@ti-chi-bot ti-chi-bot added the status/can-merge Indicates a PR has been approved by a committer. label Nov 30, 2021
@ti-chi-bot
Copy link
Member

@hi-rustin: Your PR was out of date, I have automatically updated it for you.

At the same time I will also trigger all tests for you:

/run-all-tests

If the CI test fails, you just re-trigger the test that failed and the bot will merge the PR for you after the CI passes.

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the ti-community-infra/tichi repository.

@Rustin170506
Copy link
Member Author

/run-all-tests

@ti-chi-bot
Copy link
Member

In response to a cherrypick label: new pull request created: #3669.

ti-chi-bot pushed a commit to ti-chi-bot/tiflow that referenced this pull request Nov 30, 2021
@ti-chi-bot
Copy link
Member

In response to a cherrypick label: new pull request created: #3670.

ti-chi-bot pushed a commit to ti-chi-bot/tiflow that referenced this pull request Nov 30, 2021
@ti-chi-bot
Copy link
Member

In response to a cherrypick label: new pull request created: #3671.

ti-chi-bot pushed a commit to ti-chi-bot/tiflow that referenced this pull request Nov 30, 2021
@ti-chi-bot
Copy link
Member

In response to a cherrypick label: new pull request created: #3672.

ti-chi-bot pushed a commit to ti-chi-bot/tiflow that referenced this pull request Nov 30, 2021
@ti-chi-bot
Copy link
Member

In response to a cherrypick label: new pull request created: #3673.

@Rustin170506 Rustin170506 deleted the rustin-patch-sink-kafka-config branch November 30, 2021 08:33
@ti-chi-bot ti-chi-bot added release-note Denotes a PR that will be considered when it comes time to generate release notes. and removed release-note-none Denotes a PR that doesn't merit a release note. labels Dec 7, 2021
okJiang pushed a commit to okJiang/tiflow that referenced this pull request Dec 8, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/ticdc Issues or PRs related to TiCDC. component/sink Sink component. needs-cherry-pick-release-4.0 Should cherry pick this PR to release-4.0 branch. needs-cherry-pick-release-5.0 Should cherry pick this PR to release-5.0 branch. needs-cherry-pick-release-5.1 Should cherry pick this PR to release-5.1 branch. needs-cherry-pick-release-5.2 Should cherry pick this PR to release-5.2 branch. needs-cherry-pick-release-5.3 Should cherry pick this PR to release-5.3 branch. release-note Denotes a PR that will be considered when it comes time to generate release notes. size/S Denotes a PR that changes 10-29 lines, ignoring generated files. status/can-merge Indicates a PR has been approved by a committer. status/LGT2 Indicates that a PR has LGTM 2.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants