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

Provide detailed information when read index failed #5525

Closed
CalvinNeo opened this issue Aug 3, 2022 · 0 comments · Fixed by #5526
Closed

Provide detailed information when read index failed #5525

CalvinNeo opened this issue Aug 3, 2022 · 0 comments · Fixed by #5526
Labels
type/enhancement The issue or PR belongs to an enhancement.

Comments

@CalvinNeo
Copy link
Member

CalvinNeo commented Aug 3, 2022

Enhancement

we don't know which index we failed to read when there are region unavailable errors.
So we add more log when error happen

[2022/08/03 07:44:57.803 +08:00] [ERROR] [MPPTask.cpp:409] ["MPPTask:MPP<query:435023668244119669,task:24> task running meets error: Code: 0, e.displayText() = DB::Exception: Exchange receiver meet error : Code: 0, e.displayText() = DB::TiFlashException: Region 9715 is unavailable: (while doing learner read for table, logical table_id: 77), e.what() = DB::TiFlashException,, e.what() = DB::Exception, Stack trace:\n\n\n       0x1cdae2e\tDB::Exception::Exception(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, int) [tiflash+30256686]\n                \tdbms/src/Common/Exception.h:41\n       
@CalvinNeo CalvinNeo added the type/enhancement The issue or PR belongs to an enhancement. label Aug 3, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/enhancement The issue or PR belongs to an enhancement.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant