cockroachdb / cockroachdb/cockroach
ui: missing statement execution
- Dominant language
- Go
- Stars
- 32.5k
- Forks
- 4.1k
- PR merge metrics
- PR metrics pending
Description
I'm looking at an in-progress statement execution; the statement is blocked on a lock held by another session, and I see this:

When I click on the `SHOW DATABASE` link, I see this:

Clicking on `SHOW database` is pretty bizarre in the first place. The lock is held by a transaction, and the last statement in that transaction was `SHOW database`. This statement is no longer running, nor did it have anything to do with the lock. So, at the very least, the `Statement Execution` column name is not very informative. Beyond that, I wonder if we made an assumption here that the respective statement is still running, when there's no particular reason why it would be.
On recent master - `d8ce1ce3f12106`.
Jira issue: CRDB-26311
Contributor guide
Assessment
This issue has not been assessed yet.