You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
sql/inspect: clarify error message for internal failures
Previously, when INSPECT encountered any internal errors, it reported
them generically as "INSPECT found inconsistencies", regardless of
whether the issue was due to actual data corruption or internal
failures (e.g., invalid internal SQL). This could be misleading and
unnecessarily alarming.
This commit changes that behavior. If all errors seen by INSPECT are
internal, a new error message is returned: "INSPECT encountered
internal errors". This helps distinguish between data problems and
issues with the inspect code itself.
Additionally, a hint is now included in the error message, regardless
of error type, guiding users to run SHOW INSPECT ERRORS to retrieve
more information.
Informs: #155676
Epic: CRDB-55075
Release note: none
0 commit comments