[MDEV-11123] `Seconds_Behind_Master` is not accessible through `information_schema` Created: 2016-10-24 Updated: 2019-03-18 |
|
| Status: | Open |
| Project: | MariaDB Server |
| Component/s: | Replication |
| Affects Version/s: | 10.1.18 |
| Fix Version/s: | 10.2 |
| Type: | Bug | Priority: | Minor |
| Reporter: | Christian Rishøj | Assignee: | Andrei Elkin |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | show_slave_status | ||
| Environment: |
Ubuntu Linux |
||
| Description |
|
Seconds_Behind_Master (and possibly other replication-related status variables) are not accessible through INFORMATION_SCHEMA.GLOBAL_STATUS:
This seems inconsistent, since other replication-related status variables are accessible:
A possible use case could be defining EVENTs to create a self-contained monitoring solution for replication lag in a multi-master environment. Currently, the only way to get Seconds_Behind_Master from SQL is to use a CURSOR to parse the output of SHOW SLAVE STATUS in a procedure... |