PXB-1627: Support obtaining binary log coordinates from performance_s… #537
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
…chema.log_status
Implementation details:
At the beginning of the backup PXB detecting is there any MyISAM
tables to backup and whether the server is a GTID slave with auto
positioning.
Privileges needed to query
p_s.log_status
table are checked ifprivilege check was requested.
Log copying thread has changed to stop at specific LSN. Log recovery
modified to take a final LSN to recover up to.
--binlog-info
option has been removed, binary log info alwaysstored during the backup. Code related to LOCK BACKUP FOR BINLOG
removed because this feature won't be ported to PS 8.
Final stage of the backup now looks like following:
-slave-info
is specified and server is not a GTID slave withauto positioning
p_s.log_status
, save LSN and binary log position-slave-info
is specifiedlog_status
Tests changed:
binlog_info.sh
: test that binlog info is always created during thebackup stage
bug1277403.sh
: create MyISAM table to force FTWRLbug1343722.sh
: produce the workload on the server we backing upbug1630841.sh
: privileges adjustedib_slave_info.sh
: check whether FTWRL was usedkill_long_selects.sh
: create MyISAM table to force FTWRLpxb-1569.sh
: privileges adjusted