Query tiflash_replica view with panic #48074
Labels
affects-7.1
This bug affects the 7.1.x(LTS) versions.
found/gs
found by gs
may-affects-5.3
This bug maybe affects 5.3.x versions.
may-affects-5.4
This bug maybe affects 5.4.x versions.
may-affects-6.1
may-affects-6.5
severity/major
sig/transaction
SIG:Transaction
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)
mysql> create table t(a int);
Query OK, 0 rows affected (0.08 sec)
mysql> alter table t set tiflash replica 1;
Query OK, 0 rows affected (0.08 sec)
mysql> set tidb_replica_read='prefer-leader';
Query OK, 0 rows affected (0.00 sec)
mysql> select * from information_schema.tiflash_replica;
ERROR 1105 (HY000): runtime error: invalid memory address or nil pointer dereference
2. What did you expect to see? (Required)
Execute the query successfully.
3. What did you see instead (Required)
4. What is your TiDB version? (Required)
v7.1.2
The text was updated successfully, but these errors were encountered: