forked from facebook/mysql-5.6
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
FB8-85: Copy and move index file only when there are changes
Jira ticket: https://jira.percona.com/browse/FB8-85 Reference Patch: facebook@4a1823a Can be squashed with FB8-77 `Changed the behavior of purging logs. Now deleting logs first and then updating the index.`: https://jira.percona.com/browse/FB8-77 facebook@97ae20b Summary: When index file is updated, it is first copied to a crash safe index file, updates are made to the crash safe file and finally the crash safe file is renamed. During purge, all this should happen only when at least one log is being removed. Closes facebook#434 Originally Reviewed By: santoshbanda Pulled By: abhinav04sharma fbshipit-source-id: 90a1d5c
- Loading branch information
1 parent
7fa4a11
commit 5dff1ad
Showing
3 changed files
with
7 additions
and
10 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