-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added support for resuming download to existing binlog storage (#31)
'binsrv::filesystem_storage' now supports reading the content of the data directory upon initialization, analyzing its entries, compare them with the content of the binlog index file and setting last used binlog name / position as the result. 'binsrv::events::reader_context' class extended with ability to correctly process the stream of binlog events that starts not from the very beginning but from the specified position (binlog name / offset). In this case we expect an artificial RORATE event followed by a pseudo FDE (the one that has next event position equal to 0 and should not be written to the filesystem storage). 'binlog_streaming.binsrv' MTR test case now also resumes streaming binlog events to a file storage directory created at a previous run.
- Loading branch information
1 parent
8b14b32
commit 84f3db9
Showing
9 changed files
with
282 additions
and
134 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.