cockroachdb / cockroachdb/cockroach

ui, status: databases page returns 500s in XHR requests when table is deleted

Open
#145,896 0 comments 0 reactions 1 assignee Claimed by @kyle-a-wong View on GitHub
branch-master branch-release-24.3 branch-release-25.1.0-rc C-bug T-observability
Dominant language
Go
Stars
32.5k
Forks
4.1k
PR merge metrics
PR metrics pending

Description

When deleted tables are accessed on the databases page, they can return 500s in the console. Deleted tables/databases are an expected situation because the databases page computes results asynchronously. We should show feedback to the user about this and return 200s or 404s.

In this scenario, I created the `yahoo` database, computed table stats, then deleted it.

Image
Image

Jira issue: CRDB-50274

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.