cockroachdb / cockroachdb/cockroach
ui, server: hot ranges page hits `context deadline exceeded`
Open
A-check-on-console
C-bug
T-observability
- Dominant language
- Go
- Stars
- 32.5k
- Forks
- 4.1k
- PR merge metrics
- PR metrics pending
Description
The Hot Ranges page can time out if the target cluster has a large number of nodes (45 nodes in the case of this reported error).
There was work done to improve the performance of Hot Ranges requests in https://github.com/cockroachdb/cockroach/pull/74377/commits/af62e80448d9f9855c23111d76dcb09091727eb2 as a part of #74377 by adding pagination.
We might consider a pagination scheme that visits 1 node at a time, and streams that data back to the client. Hot Range data doesn't require some final aggregation or filtering, so we don't need to wait for a cluster-wide fan-out to complete.
Jira issue: CRDB-28439
Contributor guide
Assessment
This issue has not been assessed yet.