Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ui: fix replication lag metric for multinode clusters and cutover
Replication lag metric would report absurdly high lag for multinode clusters as it would take the average of the reported timestamps, and as some nodes may report 0, this would cause extremely low replicated times. Patched by taking the highest replicated time of all the nodes. Also stop reporting replication lag when ingesting has stopped (e.g. cutover or job cancel/fail). Informs cockroachdb#120652 Release note (ui change): fix replication lag metric reporting for multinode clusters and cutover
- Loading branch information