after log restore, there are many warning logs #43402
Labels
affects-7.1
component/br
This issue is related to BR of TiDB.
severity/moderate
type/bug
The issue is confirmed as a bug.
Bug Report
Please answer these questions before submitting your issue. Thanks!
1. Minimal reproduce step (Required)
2. What did you expect to see? (Required)
not many warning logs
3. What did you see instead (Required)
many warning logs
4. What is your TiDB version? (Required)
master
In the process of log restore, it would increase global schema version by 128 to trigger domain update.
tidb/br/pkg/restore/client.go
Lines 2852 to 2869 in 451bda4
it needs to increase it by 100+ in order to trigger full-reload, instead of diff-reload.
tidb/domain/domain.go
Lines 233 to 235 in 451bda4
However, once we increase the schema version without any
Diff:
key, it would print warning log every time the domain reloads.tidb/domain/domain.go
Lines 288 to 291 in 451bda4
The text was updated successfully, but these errors were encountered: