Open matthewtodd opened 2 years ago
It seems like we've fixed this problem since it was reported:
On self-hosted, I've confirmed the problem's gone on both 22.1 and master (which is pretty close to 22.2).
On cloud, the hot ranges view doesn't exist, so the problem must have initially been observed on self-hosted. But I checked anyway, and the database table details views load just fine, even when force-reloaded, on dedicated and serverless.
I checked again and this problem only happens with tables that contain /
on the name, so you probably just need to add encodeURIComponent
to the link that is being created
That's interesting! And a different root cause than would have triggered the initial report (to perftest.dve_master
). I'll get a quick fix in.
Hmm, it's not as simple as the encodeURIComponent
fix. Now I'm seeing errors talking to the server that can't be fixed in the same way:
$ curl http://localhost:3000/_admin/v1/databases/system/tables//System/NodeLiveness
Not Found
$ curl http://localhost:3000/_admin/v1/databases/system/tables/%2FSystem%2FNodeLiveness
<a href="/_admin/v1/databases/system/tables/System/NodeLiveness">Moved Permanently</a>.
$ curl http://localhost:3000/_admin/v1/databases/system/tables/System/NodeLiveness
Not Found
I suspect our problem is that these ranges don't represent tables at all, and so we shouldn't be linking them. I'll send out a PR to skip the links for "table" names with slashes in them to keep the conversation moving.
via @dbist:
1, the fact I can navigate to the table details from the hot ranges is a huge productivity boost 2. the fact the table details don’t load once you click is not great. I confirmed the details load quickly if I were to navigate to databases / tables / table name
navigating directly
navigating via hot ranges
Jira issue: CRDB-15084