[MDEV-8235] Expose functionality of check_slave_start_position Created: 2015-05-26 Updated: 2015-10-31 |
|
| Status: | Open |
| Project: | MariaDB Server |
| Component/s: | Replication |
| Fix Version/s: | None |
| Type: | Task | Priority: | Minor |
| Reporter: | Rhys Campbell | Assignee: | Unassigned |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | None | ||
| Description |
|
The following c file... https://github.com/MariaDB/server/blob/d4e3aa4c6f4fb467b7f1adacd8ea9f71339cffe0/sql/sql_repl.cc Contains a function called check_slave_start_position. It would be useful to expose this, perhaps as a SQL function, in order to see if failover will function, at least from a GTID perspective. i.e. SELECT CHECK_SLAVE_START_POS('1-1-55');
|
| Comments |
| Comment by Sergei Golubchik [ 2015-05-28 ] |
|
knielsen, what do you think about it? |
| Comment by Kristian Nielsen [ 2015-05-28 ] |
|
> what do you think about it? I think such discussions belong on the mailing list, not in random jira comment ... |
| Comment by Kristian Nielsen [ 2015-05-28 ] |
|
Wrt. the suggestion. check_slave_start_position() is an internal Maybe someone else would find it useful. It would require properly |
| Comment by Rhys Campbell [ 2015-05-28 ] |
|
@Kristian It's wrong to create a feature requests for a feature request? Shame. I think a lot of DBAs would like this. MySQL has a sort of similar ability.... Thanks anyway. |