[MDEV-14109] MyRocks port: do we need manual update of slave_gtid_info? Created: 2017-10-23 Updated: 2017-10-23 |
|
| Status: | Open |
| Project: | MariaDB Server |
| Component/s: | None |
| Fix Version/s: | None |
| Type: | Task | Priority: | Major |
| Reporter: | Sergei Petrunia | Assignee: | Sergei Petrunia |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | None | ||
| Issue Links: |
|
||||||||
| Description |
|
Upstream MyRocks has this patch:
For the user, the server has a global @@slave_gtid_info variable. Possible values are ON, OFF, OPTIMIZED. OPTIMIZED only works for MyRocks and means that the storage engine takes care of maintaining the mysql.slave_gtid_info table. ha_rocksdb.cc has code that manually updates slave_gtid_info to reflect the binlog position. MariaDB's equivalent of slave_gtid_info is called gtid_slave_pos. MariaDB currently doesn't have the SQL part of this feature. We could port it, but
See also: |
| Comments |
| Comment by Sergei Petrunia [ 2017-10-23 ] | ||||||||
|
A stack trace of MariaDB slave updating gtid_slave_pos:
|