horaedb icon indicating copy to clipboard operation
horaedb copied to clipboard

Refactor write/read error message

Open ZuLiangWang opened this issue 1 year ago • 1 comments

Describe This Problem

CeresDB currently handles user error messages unreasonably. When a shard is in the frozen state, the error message when reading or writing the tables in this shard is Table not found, which misleads users.s

Proposal

Refactor error message, when a shard is in the frozen state, reading or writing the tables in this shard throw error like shard state is invalid

Additional Context

No response

ZuLiangWang avatar Nov 03 '23 09:11 ZuLiangWang

I plan to fix this misleading error message this week.

jiacai2050 avatar Nov 08 '23 01:11 jiacai2050

https://github.com/apache/incubator-horaedb/pull/1418 add shard status when table is not found, this should be enough for debugging.

jiacai2050 avatar Mar 11 '24 06:03 jiacai2050