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

sys cannot be read when tidb_isolation_read_engines is set to tiflash #51218

Closed
YangKeao opened this issue Feb 21, 2024 · 0 comments · Fixed by #51219
Closed

sys cannot be read when tidb_isolation_read_engines is set to tiflash #51218

YangKeao opened this issue Feb 21, 2024 · 0 comments · Fixed by #51219
Labels
severity/minor sig/sql-infra SIG: SQL Infra type/bug The issue is confirmed as a bug.

Comments

@YangKeao
Copy link
Member

create table sys.t (id int);
insert into sys.t values (1),(2);
set tidb_isolation_read_engines='tiflash';
select * from sys.t;

It'll fail to select from table t.

It's actually not a big problem, because there isn't any table inside sys (the sys.schema_unused_indexes is a view on information_schema, so it works fine). However, it may cause some potential bugs in the future, so fix it asap.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
severity/minor sig/sql-infra SIG: SQL Infra type/bug The issue is confirmed as a bug.
Projects
None yet
2 participants