on-internet
← Community

Why does Innodb_row_lock_current_waits stay above zero after blocked updates finish in PolarDB MySQL 5.7?

Stack Overflow ·

We’re running PolarDB for MySQL 5.7.1.0.42 During a burst of concurrent updates to the same InnoDB rows, several sessions waited for row locks. The blocked statements have since returned, the affected transactions have ended, and write latency is back to normal. Our row-lock wait alert is still firing. I ran these queries several times on the same writer node: SHOW GLOBAL STATUS LIKE 'Innodb_row_lock_current_waits'; SELECT COUNT(*) AS lock_wait_rows FROM information_schema.INNODB_LOCK_WAITS; The status variable stays above zero, but the second query consistently returns 0. Does the nonzero val

Comments

Sign in or sign up to comment and upvote.

No comments yet.