Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
ui: Downgrade "Invalid lease" on problem ranges page? #38616
The state that is reported as "invalid lease" on the problem ranges page is relatively normal and harmless - it can occur after node restarts and will eventually clear on its own but can take up to 24h on idle clusters. This sometimes leads to user confusion/concern (https://forum.cockroachlabs.com/t/what-to-do-about-invalid-leases-on-the-problem-ranges-report/2886)
If you see anything but "invalid lease" (and maybe "no raft leader"?) on the problem ranges page, it's generally a cause for concern. We should remove "invalid lease" from this page or at least make it clear that this is less likely to be a true problem (for example, by relabeling it from "invalid lease" to "expired lease"). I don't recall "invalid lease" on its own ever being a useful indicator of a true problem, so I'd be inclined to just drop it.