-
Notifications
You must be signed in to change notification settings - Fork 713
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add a new option to make MySQL server truncate binlogs during crash recovery. #1061
Add a new option to make MySQL server truncate binlogs during crash recovery. #1061
Conversation
…ecovery. Summary: This diff adds a new option to trim binlog during recovery. The following happens if this option is set: 1. All prepared trasnactions in the engine are rolled back during engine recovery 2. The binlog file (which was marked 'IN USE') will be truncated to the position as reported by engine as the last commited gtid position in the binlog Originally Reviewed By: abhinav04sharma fbshipit-source-id: 6573e88
Jenkins build link |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@hermanlee has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator.
…ecovery. (#1061) Summary: This diff adds a new option to trim binlog during recovery. The following happens if this option is set: 1. All prepared trasnactions in the engine are rolled back during engine recovery 2. The binlog file (which was marked 'IN USE') will be truncated to the position as reported by engine as the last commited gtid position in the binlog Reference Patch: 96308865f3c Originally Reviewed By: abhinav04sharma Pull Request resolved: #1061 Test Plan: Build mysql Reviewed By: luqun Differential Revision: D18812324 Pulled By: bhatvinay fbshipit-source-id: 7d893fd
…ecovery. (facebook#1061) Summary: This diff adds a new option to trim binlog during recovery. The following happens if this option is set: 1. All prepared trasnactions in the engine are rolled back during engine recovery 2. The binlog file (which was marked 'IN USE') will be truncated to the position as reported by engine as the last commited gtid position in the binlog Reference Patch: facebook@96308865f3c Reference Patch: facebook@6288eda9d6e Reference Patch: facebook@12937e8de06 Reference Patch: facebook@fe3826a6743 Originally Reviewed By: abhinav04sharma Pull Request resolved: facebook#1061 Test Plan: Build mysql Reviewed By: luqun Differential Revision: D18812324 Pulled By: bhatvinay
…ecovery. (facebook#1061) Summary: This diff adds a new option to trim binlog during recovery. The following happens if this option is set: 1. All prepared trasnactions in the engine are rolled back during engine recovery 2. The binlog file (which was marked 'IN USE') will be truncated to the position as reported by engine as the last commited gtid position in the binlog Reference Patch: facebook@96308865f3c Reference Patch: facebook@6288eda9d6e Reference Patch: facebook@12937e8de06 Reference Patch: facebook@fe3826a6743 Originally Reviewed By: abhinav04sharma Pull Request resolved: facebook#1061 Test Plan: Build mysql Reviewed By: luqun Differential Revision: D18812324 Pulled By: bhatvinay
…ecovery. (facebook#1061) Summary: This diff adds a new option to trim binlog during recovery. The following happens if this option is set: 1. All prepared trasnactions in the engine are rolled back during engine recovery 2. The binlog file (which was marked 'IN USE') will be truncated to the position as reported by engine as the last commited gtid position in the binlog Reference Patch: facebook@96308865f3c Reference Patch: facebook@6288eda9d6e Reference Patch: facebook@12937e8de06 Reference Patch: facebook@fe3826a6743 Originally Reviewed By: abhinav04sharma Pull Request resolved: facebook#1061 Test Plan: Build mysql Reviewed By: luqun Differential Revision: D18812324 Pulled By: bhatvinay
…ecovery. (facebook#1061) Summary: This diff adds a new option to trim binlog during recovery. The following happens if this option is set: 1. All prepared trasnactions in the engine are rolled back during engine recovery 2. The binlog file (which was marked 'IN USE') will be truncated to the position as reported by engine as the last commited gtid position in the binlog Reference Patch: facebook@96308865f3c Reference Patch: facebook@6288eda9d6e Reference Patch: facebook@12937e8de06 Reference Patch: facebook@fe3826a6743 Originally Reviewed By: abhinav04sharma Pull Request resolved: facebook#1061 Test Plan: Build mysql Reviewed By: luqun Differential Revision: D18812324 Pulled By: bhatvinay
…ecovery. (facebook#1061) Summary: This diff adds a new option to trim binlog during recovery. The following happens if this option is set: 1. All prepared trasnactions in the engine are rolled back during engine recovery 2. The binlog file (which was marked 'IN USE') will be truncated to the position as reported by engine as the last commited gtid position in the binlog Reference Patch: facebook@96308865f3c Reference Patch: facebook@6288eda9d6e Reference Patch: facebook@12937e8de06 Reference Patch: facebook@fe3826a6743 Originally Reviewed By: abhinav04sharma Pull Request resolved: facebook#1061 Test Plan: Build mysql Reviewed By: luqun Differential Revision: D18812324 Pulled By: bhatvinay
…ecovery. (facebook#1061) Summary: This diff adds a new option to trim binlog during recovery. The following happens if this option is set: 1. All prepared trasnactions in the engine are rolled back during engine recovery 2. The binlog file (which was marked 'IN USE') will be truncated to the position as reported by engine as the last commited gtid position in the binlog Reference Patch: facebook@96308865f3c Reference Patch: facebook@6288eda9d6e Reference Patch: facebook@12937e8de06 Reference Patch: facebook@fe3826a6743 Originally Reviewed By: abhinav04sharma Pull Request resolved: facebook#1061 Test Plan: Build mysql Reviewed By: luqun Differential Revision: D18812324 Pulled By: bhatvinay
…ecovery. (facebook#1061) Summary: This diff adds a new option to trim binlog during recovery. The following happens if this option is set: 1. All prepared trasnactions in the engine are rolled back during engine recovery 2. The binlog file (which was marked 'IN USE') will be truncated to the position as reported by engine as the last commited gtid position in the binlog Reference Patch: facebook@96308865f3c Reference Patch: facebook@6288eda9d6e Reference Patch: facebook@12937e8de06 Reference Patch: facebook@fe3826a6743 Originally Reviewed By: abhinav04sharma Pull Request resolved: facebook#1061 Test Plan: Build mysql Reviewed By: luqun Differential Revision: D18812324 Pulled By: bhatvinay
…ecovery. (facebook#1061) (facebook#1061) Summary: This diff adds a new option to trim binlog during recovery. The following happens if this option is set: 1. All prepared trasnactions in the engine are rolled back during engine recovery 2. The binlog file (which was marked 'IN USE') will be truncated to the position as reported by engine as the last commited gtid position in the binlog Reference Patch: facebook@96308865f3c Reference Patch: facebook@6288eda9d6e Reference Patch: facebook@12937e8de06 Reference Patch: facebook@fe3826a6743 Originally Reviewed By: abhinav04sharma Pull Request resolved: facebook#1061 Reviewed By: luqun Differential Revision: D18812324 (facebook@83017aa) Pulled By: bhatvinay fbshipit-source-id: 6801122e380
…ecovery. (facebook#1061) (facebook#1061) Summary: This diff adds a new option to trim binlog during recovery. The following happens if this option is set: 1. All prepared trasnactions in the engine are rolled back during engine recovery 2. The binlog file (which was marked 'IN USE') will be truncated to the position as reported by engine as the last commited gtid position in the binlog Reference Patch: facebook@96308865f3c Reference Patch: facebook@6288eda9d6e Reference Patch: facebook@12937e8de06 Reference Patch: facebook@fe3826a6743 Originally Reviewed By: abhinav04sharma Pull Request resolved: facebook#1061 Reviewed By: luqun Differential Revision: D18812324 (facebook@83017aa) Pulled By: bhatvinay fbshipit-source-id: 6801122e380
…ecovery. (facebook#1061) (facebook#1061) Summary: This diff adds a new option to trim binlog during recovery. The following happens if this option is set: 1. All prepared trasnactions in the engine are rolled back during engine recovery 2. The binlog file (which was marked 'IN USE') will be truncated to the position as reported by engine as the last commited gtid position in the binlog Reference Patch: facebook@96308865f3c Reference Patch: facebook@6288eda9d6e Reference Patch: facebook@12937e8de06 Reference Patch: facebook@fe3826a6743 Originally Reviewed By: abhinav04sharma Pull Request resolved: facebook#1061 Reviewed By: luqun Differential Revision: D18812324 (facebook@83017aa) Pulled By: bhatvinay fbshipit-source-id: 6801122e380
…ecovery. (facebook#1061) (facebook#1061) Summary: This diff adds a new option to trim binlog during recovery. The following happens if this option is set: 1. All prepared trasnactions in the engine are rolled back during engine recovery 2. The binlog file (which was marked 'IN USE') will be truncated to the position as reported by engine as the last commited gtid position in the binlog Reference Patch: facebook@96308865f3c Reference Patch: facebook@6288eda9d6e Reference Patch: facebook@12937e8de06 Reference Patch: facebook@fe3826a6743 Originally Reviewed By: abhinav04sharma Pull Request resolved: facebook#1061 Reviewed By: luqun Differential Revision: D18812324 (facebook@83017aa) Pulled By: bhatvinay fbshipit-source-id: 6801122e380
…ecovery. (facebook#1061) (facebook#1061) Summary: This diff adds a new option to trim binlog during recovery. The following happens if this option is set: 1. All prepared trasnactions in the engine are rolled back during engine recovery 2. The binlog file (which was marked 'IN USE') will be truncated to the position as reported by engine as the last commited gtid position in the binlog Reference Patch: facebook@96308865f3c Reference Patch: facebook@6288eda9d6e Reference Patch: facebook@12937e8de06 Reference Patch: facebook@fe3826a6743 Originally Reviewed By: abhinav04sharma Pull Request resolved: facebook#1061 Reviewed By: luqun Differential Revision: D18812324 Pulled By: bhatvinay
…ecovery. (facebook#1061) (facebook#1061) Summary: This diff adds a new option to trim binlog during recovery. The following happens if this option is set: 1. All prepared trasnactions in the engine are rolled back during engine recovery 2. The binlog file (which was marked 'IN USE') will be truncated to the position as reported by engine as the last commited gtid position in the binlog Reference Patch: facebook@96308865f3c Reference Patch: facebook@6288eda9d6e Reference Patch: facebook@12937e8de06 Reference Patch: facebook@fe3826a6743 Originally Reviewed By: abhinav04sharma Pull Request resolved: facebook#1061 Reviewed By: luqun Differential Revision: D18812324 Pulled By: bhatvinay
…ecovery. (facebook#1061) (facebook#1061) Summary: This diff adds a new option to trim binlog during recovery. The following happens if this option is set: 1. All prepared trasnactions in the engine are rolled back during engine recovery 2. The binlog file (which was marked 'IN USE') will be truncated to the position as reported by engine as the last commited gtid position in the binlog Reference Patch: facebook@96308865f3c Reference Patch: facebook@6288eda9d6e Reference Patch: facebook@12937e8de06 Reference Patch: facebook@fe3826a6743 Originally Reviewed By: abhinav04sharma Pull Request resolved: facebook#1061 Reviewed By: luqun Differential Revision: D18812324 Pulled By: bhatvinay
…ecovery. (facebook#1061) (facebook#1061) Summary: This diff adds a new option to trim binlog during recovery. The following happens if this option is set: 1. All prepared trasnactions in the engine are rolled back during engine recovery 2. The binlog file (which was marked 'IN USE') will be truncated to the position as reported by engine as the last commited gtid position in the binlog Reference Patch: facebook@96308865f3c Reference Patch: facebook@6288eda9d6e Reference Patch: facebook@12937e8de06 Reference Patch: facebook@fe3826a6743 Originally Reviewed By: abhinav04sharma Pull Request resolved: facebook#1061 Reviewed By: luqun Differential Revision: D18812324 Pulled By: bhatvinay
…ecovery. (facebook#1061) (facebook#1061) Summary: This diff adds a new option to trim binlog during recovery. The following happens if this option is set: 1. All prepared trasnactions in the engine are rolled back during engine recovery 2. The binlog file (which was marked 'IN USE') will be truncated to the position as reported by engine as the last commited gtid position in the binlog Reference Patch: facebook@96308865f3c Reference Patch: facebook@6288eda9d6e Reference Patch: facebook@12937e8de06 Reference Patch: facebook@fe3826a6743 Originally Reviewed By: abhinav04sharma Pull Request resolved: facebook#1061 Reviewed By: luqun Differential Revision: D18812324 Pulled By: bhatvinay
…ecovery. (facebook#1061) (facebook#1061) Summary: This diff adds a new option to trim binlog during recovery. The following happens if this option is set: 1. All prepared trasnactions in the engine are rolled back during engine recovery 2. The binlog file (which was marked 'IN USE') will be truncated to the position as reported by engine as the last commited gtid position in the binlog Reference Patch: facebook@96308865f3c Reference Patch: facebook@6288eda9d6e Reference Patch: facebook@12937e8de06 Reference Patch: facebook@fe3826a6743 Originally Reviewed By: abhinav04sharma Pull Request resolved: facebook#1061 Reviewed By: luqun Differential Revision: D18812324 Pulled By: bhatvinay
…ecovery. (facebook#1061) (facebook#1061) Summary: This diff adds a new option to trim binlog during recovery. The following happens if this option is set: 1. All prepared trasnactions in the engine are rolled back during engine recovery 2. The binlog file (which was marked 'IN USE') will be truncated to the position as reported by engine as the last commited gtid position in the binlog Reference Patch: facebook@96308865f3c Reference Patch: facebook@6288eda9d6e Reference Patch: facebook@12937e8de06 Reference Patch: facebook@fe3826a6743 Originally Reviewed By: abhinav04sharma Pull Request resolved: facebook#1061 Reviewed By: luqun Differential Revision: D18812324 Pulled By: bhatvinay
…ecovery. (facebook#1061) (facebook#1061) Summary: This diff adds a new option to trim binlog during recovery. The following happens if this option is set: 1. All prepared trasnactions in the engine are rolled back during engine recovery 2. The binlog file (which was marked 'IN USE') will be truncated to the position as reported by engine as the last commited gtid position in the binlog Reference Patch: facebook@96308865f3c Reference Patch: facebook@6288eda9d6e Reference Patch: facebook@12937e8de06 Reference Patch: facebook@fe3826a6743 Originally Reviewed By: abhinav04sharma Pull Request resolved: facebook#1061 Reviewed By: luqun Differential Revision: D18812324 Pulled By: bhatvinay
…ecovery. (facebook#1061) (facebook#1061) Summary: This diff adds a new option to trim binlog during recovery. The following happens if this option is set: 1. All prepared trasnactions in the engine are rolled back during engine recovery 2. The binlog file (which was marked 'IN USE') will be truncated to the position as reported by engine as the last commited gtid position in the binlog Reference Patch: facebook@96308865f3c Reference Patch: facebook@6288eda9d6e Reference Patch: facebook@12937e8de06 Reference Patch: facebook@fe3826a6743 Originally Reviewed By: abhinav04sharma Pull Request resolved: facebook#1061 Reviewed By: luqun Differential Revision: D18812324 Pulled By: bhatvinay
…ecovery. (facebook#1061) (facebook#1061) Summary: This diff adds a new option to trim binlog during recovery. The following happens if this option is set: 1. All prepared trasnactions in the engine are rolled back during engine recovery 2. The binlog file (which was marked 'IN USE') will be truncated to the position as reported by engine as the last commited gtid position in the binlog Reference Patch: facebook@96308865f3c Reference Patch: facebook@6288eda9d6e Reference Patch: facebook@12937e8de06 Reference Patch: facebook@fe3826a6743 Originally Reviewed By: abhinav04sharma Pull Request resolved: facebook#1061 Reviewed By: luqun Differential Revision: D18812324 Pulled By: bhatvinay
…ecovery. (facebook#1061) (facebook#1061) Summary: This diff adds a new option to trim binlog during recovery. The following happens if this option is set: 1. All prepared trasnactions in the engine are rolled back during engine recovery 2. The binlog file (which was marked 'IN USE') will be truncated to the position as reported by engine as the last commited gtid position in the binlog Reference Patch: facebook@96308865f3c Reference Patch: facebook@6288eda9d6e Reference Patch: facebook@12937e8de06 Reference Patch: facebook@fe3826a6743 Originally Reviewed By: abhinav04sharma Pull Request resolved: facebook#1061 Reviewed By: luqun Differential Revision: D18812324 Pulled By: bhatvinay
…ecovery. (facebook#1061) (facebook#1061) Summary: This diff adds a new option to trim binlog during recovery. The following happens if this option is set: 1. All prepared trasnactions in the engine are rolled back during engine recovery 2. The binlog file (which was marked 'IN USE') will be truncated to the position as reported by engine as the last commited gtid position in the binlog Reference Patch: facebook@96308865f3c Reference Patch: facebook@6288eda9d6e Reference Patch: facebook@12937e8de06 Reference Patch: facebook@fe3826a6743 Originally Reviewed By: abhinav04sharma Pull Request resolved: facebook#1061 Reviewed By: luqun Differential Revision: D18812324 Pulled By: bhatvinay
…ecovery. (facebook#1061) (facebook#1061) Summary: This diff adds a new option to trim binlog during recovery. The following happens if this option is set: 1. All prepared trasnactions in the engine are rolled back during engine recovery 2. The binlog file (which was marked 'IN USE') will be truncated to the position as reported by engine as the last commited gtid position in the binlog Reference Patch: facebook@96308865f3c Reference Patch: facebook@6288eda9d6e Reference Patch: facebook@12937e8de06 Reference Patch: facebook@fe3826a6743 Originally Reviewed By: abhinav04sharma Pull Request resolved: facebook#1061 Reviewed By: luqun Differential Revision: D18812324 Pulled By: bhatvinay
…ecovery. (facebook#1061) (facebook#1061) Summary: This diff adds a new option to trim binlog during recovery. The following happens if this option is set: 1. All prepared trasnactions in the engine are rolled back during engine recovery 2. The binlog file (which was marked 'IN USE') will be truncated to the position as reported by engine as the last commited gtid position in the binlog Reference Patch: facebook@96308865f3c Reference Patch: facebook@6288eda9d6e Reference Patch: facebook@12937e8de06 Reference Patch: facebook@fe3826a6743 Originally Reviewed By: abhinav04sharma Pull Request resolved: facebook#1061 Reviewed By: luqun Differential Revision: D18812324 Pulled By: bhatvinay
…ecovery. (facebook#1061) (facebook#1061) Summary: This diff adds a new option to trim binlog during recovery. The following happens if this option is set: 1. All prepared trasnactions in the engine are rolled back during engine recovery 2. The binlog file (which was marked 'IN USE') will be truncated to the position as reported by engine as the last commited gtid position in the binlog Reference Patch: facebook@96308865f3c Reference Patch: facebook@6288eda9d6e Reference Patch: facebook@12937e8de06 Reference Patch: facebook@fe3826a6743 Originally Reviewed By: abhinav04sharma Pull Request resolved: facebook#1061 Reviewed By: luqun Differential Revision: D18812324 Pulled By: bhatvinay
…ecovery. (facebook#1061) (facebook#1061) Summary: This diff adds a new option to trim binlog during recovery. The following happens if this option is set: 1. All prepared trasnactions in the engine are rolled back during engine recovery 2. The binlog file (which was marked 'IN USE') will be truncated to the position as reported by engine as the last commited gtid position in the binlog Reference Patch: facebook@96308865f3c Reference Patch: facebook@6288eda9d6e Reference Patch: facebook@12937e8de06 Reference Patch: facebook@fe3826a6743 Originally Reviewed By: abhinav04sharma Pull Request resolved: facebook#1061 Reviewed By: luqun Differential Revision: D18812324 Pulled By: bhatvinay
…ecovery. (facebook#1061) (facebook#1061) Summary: This diff adds a new option to trim binlog during recovery. The following happens if this option is set: 1. All prepared trasnactions in the engine are rolled back during engine recovery 2. The binlog file (which was marked 'IN USE') will be truncated to the position as reported by engine as the last commited gtid position in the binlog Reference Patch: facebook@96308865f3c Reference Patch: facebook@6288eda9d6e Reference Patch: facebook@12937e8de06 Reference Patch: facebook@fe3826a6743 Originally Reviewed By: abhinav04sharma Pull Request resolved: facebook#1061 Reviewed By: luqun Differential Revision: D18812324 Pulled By: bhatvinay
…ecovery. (facebook#1061) (facebook#1061) Summary: This diff adds a new option to trim binlog during recovery. The following happens if this option is set: 1. All prepared trasnactions in the engine are rolled back during engine recovery 2. The binlog file (which was marked 'IN USE') will be truncated to the position as reported by engine as the last commited gtid position in the binlog Reference Patch: facebook@96308865f3c Reference Patch: facebook@6288eda9d6e Reference Patch: facebook@12937e8de06 Reference Patch: facebook@fe3826a6743 Originally Reviewed By: abhinav04sharma Pull Request resolved: facebook#1061 Reviewed By: luqun Differential Revision: D18812324 Pulled By: bhatvinay
…ecovery. (facebook#1061) (facebook#1061) Summary: This diff adds a new option to trim binlog during recovery. The following happens if this option is set: 1. All prepared trasnactions in the engine are rolled back during engine recovery 2. The binlog file (which was marked 'IN USE') will be truncated to the position as reported by engine as the last commited gtid position in the binlog Reference Patch: facebook@96308865f3c Reference Patch: facebook@6288eda9d6e Reference Patch: facebook@12937e8de06 Reference Patch: facebook@fe3826a6743 Originally Reviewed By: abhinav04sharma Pull Request resolved: facebook#1061 Reviewed By: luqun Differential Revision: D18812324 Pulled By: bhatvinay
…ecovery. (facebook#1061) (facebook#1061) Summary: This diff adds a new option to trim binlog during recovery. The following happens if this option is set: 1. All prepared trasnactions in the engine are rolled back during engine recovery 2. The binlog file (which was marked 'IN USE') will be truncated to the position as reported by engine as the last commited gtid position in the binlog Reference Patch: facebook@96308865f3c Reference Patch: facebook@6288eda9d6e Reference Patch: facebook@12937e8de06 Reference Patch: facebook@fe3826a6743 Originally Reviewed By: abhinav04sharma Pull Request resolved: facebook#1061 Reviewed By: luqun Differential Revision: D18812324 Pulled By: bhatvinay
…ecovery. (facebook#1061) (facebook#1061) Summary: This diff adds a new option to trim binlog during recovery. The following happens if this option is set: 1. All prepared trasnactions in the engine are rolled back during engine recovery 2. The binlog file (which was marked 'IN USE') will be truncated to the position as reported by engine as the last commited gtid position in the binlog Reference Patch: facebook@96308865f3c Reference Patch: facebook@6288eda9d6e Reference Patch: facebook@12937e8de06 Reference Patch: facebook@fe3826a6743 Originally Reviewed By: abhinav04sharma Pull Request resolved: facebook#1061 Reviewed By: luqun Differential Revision: D18812324 Pulled By: bhatvinay
…ecovery. (facebook#1061) (facebook#1061) Summary: This diff adds a new option to trim binlog during recovery. The following happens if this option is set: 1. All prepared trasnactions in the engine are rolled back during engine recovery 2. The binlog file (which was marked 'IN USE') will be truncated to the position as reported by engine as the last commited gtid position in the binlog Reference Patch: facebook@96308865f3c Reference Patch: facebook@6288eda9d6e Reference Patch: facebook@12937e8de06 Reference Patch: facebook@fe3826a6743 Originally Reviewed By: abhinav04sharma Pull Request resolved: facebook#1061 Reviewed By: luqun Differential Revision: D18812324 Pulled By: bhatvinay
…ecovery. (facebook#1061) (facebook#1061) Summary: This diff adds a new option to trim binlog during recovery. The following happens if this option is set: 1. All prepared trasnactions in the engine are rolled back during engine recovery 2. The binlog file (which was marked 'IN USE') will be truncated to the position as reported by engine as the last commited gtid position in the binlog Reference Patch: facebook@96308865f3c Reference Patch: facebook@6288eda9d6e Reference Patch: facebook@12937e8de06 Reference Patch: facebook@fe3826a6743 Originally Reviewed By: abhinav04sharma Pull Request resolved: facebook#1061 Reviewed By: luqun Differential Revision: D18812324 Pulled By: bhatvinay
…ecovery. (facebook#1061) (facebook#1061) Summary: This diff adds a new option to trim binlog during recovery. The following happens if this option is set: 1. All prepared trasnactions in the engine are rolled back during engine recovery 2. The binlog file (which was marked 'IN USE') will be truncated to the position as reported by engine as the last commited gtid position in the binlog Reference Patch: facebook@96308865f3c Reference Patch: facebook@6288eda9d6e Reference Patch: facebook@12937e8de06 Reference Patch: facebook@fe3826a6743 Originally Reviewed By: abhinav04sharma Pull Request resolved: facebook#1061 Reviewed By: luqun Differential Revision: D18812324 Pulled By: bhatvinay
…ecovery. (facebook#1061) (facebook#1061) Summary: This diff adds a new option to trim binlog during recovery. The following happens if this option is set: 1. All prepared trasnactions in the engine are rolled back during engine recovery 2. The binlog file (which was marked 'IN USE') will be truncated to the position as reported by engine as the last commited gtid position in the binlog Reference Patch: facebook@96308865f3c Reference Patch: facebook@6288eda9d6e Reference Patch: facebook@12937e8de06 Reference Patch: facebook@fe3826a6743 Originally Reviewed By: abhinav04sharma Pull Request resolved: facebook#1061 Reviewed By: luqun Differential Revision: D18812324 Pulled By: bhatvinay
…ecovery. (facebook#1061) (facebook#1061) Summary: This diff adds a new option to trim binlog during recovery. The following happens if this option is set: 1. All prepared trasnactions in the engine are rolled back during engine recovery 2. The binlog file (which was marked 'IN USE') will be truncated to the position as reported by engine as the last commited gtid position in the binlog Reference Patch: facebook@96308865f3c Reference Patch: facebook@6288eda9d6e Reference Patch: facebook@12937e8de06 Reference Patch: facebook@fe3826a6743 Originally Reviewed By: abhinav04sharma Pull Request resolved: facebook#1061 Reviewed By: luqun Differential Revision: D18812324 Pulled By: bhatvinay
…ecovery. (facebook#1061) (facebook#1061) Summary: This diff adds a new option to trim binlog during recovery. The following happens if this option is set: 1. All prepared trasnactions in the engine are rolled back during engine recovery 2. The binlog file (which was marked 'IN USE') will be truncated to the position as reported by engine as the last commited gtid position in the binlog Reference Patch: facebook@96308865f3c Reference Patch: facebook@6288eda9d6e Reference Patch: facebook@12937e8de06 Reference Patch: facebook@fe3826a6743 Originally Reviewed By: abhinav04sharma Pull Request resolved: facebook#1061 Reviewed By: luqun Differential Revision: D18812324 Pulled By: bhatvinay
…ecovery. (facebook#1061) (facebook#1061) Summary: This diff adds a new option to trim binlog during recovery. The following happens if this option is set: 1. All prepared trasnactions in the engine are rolled back during engine recovery 2. The binlog file (which was marked 'IN USE') will be truncated to the position as reported by engine as the last commited gtid position in the binlog Reference Patch: facebook@96308865f3c Reference Patch: facebook@6288eda9d6e Reference Patch: facebook@12937e8de06 Reference Patch: facebook@fe3826a6743 Originally Reviewed By: abhinav04sharma Pull Request resolved: facebook#1061 Reviewed By: luqun Differential Revision: D18812324 Pulled By: bhatvinay
…ecovery. (facebook#1061) (facebook#1061) Summary: This diff adds a new option to trim binlog during recovery. The following happens if this option is set: 1. All prepared trasnactions in the engine are rolled back during engine recovery 2. The binlog file (which was marked 'IN USE') will be truncated to the position as reported by engine as the last commited gtid position in the binlog Reference Patch: facebook@96308865f3c Reference Patch: facebook@6288eda9d6e Reference Patch: facebook@12937e8de06 Reference Patch: facebook@fe3826a6743 Originally Reviewed By: abhinav04sharma Pull Request resolved: facebook#1061 Reviewed By: luqun Differential Revision: D18812324 Pulled By: bhatvinay
…ecovery. (facebook#1061) (facebook#1061) Summary: This diff adds a new option to trim binlog during recovery. The following happens if this option is set: 1. All prepared trasnactions in the engine are rolled back during engine recovery 2. The binlog file (which was marked 'IN USE') will be truncated to the position as reported by engine as the last commited gtid position in the binlog Reference Patch: facebook@96308865f3c Reference Patch: facebook@6288eda9d6e Reference Patch: facebook@12937e8de06 Reference Patch: facebook@fe3826a6743 Originally Reviewed By: abhinav04sharma Pull Request resolved: facebook#1061 Reviewed By: luqun Differential Revision: D18812324 Pulled By: bhatvinay
…ecovery. (facebook#1061) (facebook#1061) Summary: This diff adds a new option to trim binlog during recovery. The following happens if this option is set: 1. All prepared trasnactions in the engine are rolled back during engine recovery 2. The binlog file (which was marked 'IN USE') will be truncated to the position as reported by engine as the last commited gtid position in the binlog Reference Patch: facebook@96308865f3c Reference Patch: facebook@6288eda9d6e Reference Patch: facebook@12937e8de06 Reference Patch: facebook@fe3826a6743 Originally Reviewed By: abhinav04sharma Pull Request resolved: facebook#1061 Reviewed By: luqun Differential Revision: D18812324 Pulled By: bhatvinay
…ecovery. (facebook#1061) (facebook#1061) Summary: This diff adds a new option to trim binlog during recovery. The following happens if this option is set: 1. All prepared trasnactions in the engine are rolled back during engine recovery 2. The binlog file (which was marked 'IN USE') will be truncated to the position as reported by engine as the last commited gtid position in the binlog Reference Patch: facebook@96308865f3c Reference Patch: facebook@6288eda9d6e Reference Patch: facebook@12937e8de06 Reference Patch: facebook@fe3826a6743 Originally Reviewed By: abhinav04sharma Pull Request resolved: facebook#1061 Reviewed By: luqun Differential Revision: D18812324 Pulled By: bhatvinay
…ecovery. (facebook#1061) (facebook#1061) Summary: This diff adds a new option to trim binlog during recovery. The following happens if this option is set: 1. All prepared trasnactions in the engine are rolled back during engine recovery 2. The binlog file (which was marked 'IN USE') will be truncated to the position as reported by engine as the last commited gtid position in the binlog Reference Patch: facebook@96308865f3c Reference Patch: facebook@6288eda9d6e Reference Patch: facebook@12937e8de06 Reference Patch: facebook@fe3826a6743 Originally Reviewed By: abhinav04sharma Pull Request resolved: facebook#1061 Reviewed By: luqun Differential Revision: D18812324 Pulled By: bhatvinay
…ecovery. (facebook#1061) (facebook#1061) Summary: This diff adds a new option to trim binlog during recovery. The following happens if this option is set: 1. All prepared trasnactions in the engine are rolled back during engine recovery 2. The binlog file (which was marked 'IN USE') will be truncated to the position as reported by engine as the last commited gtid position in the binlog Reference Patch: facebook@96308865f3c Reference Patch: facebook@6288eda9d6e Reference Patch: facebook@12937e8de06 Reference Patch: facebook@fe3826a6743 Originally Reviewed By: abhinav04sharma Pull Request resolved: facebook#1061 Reviewed By: luqun Differential Revision: D18812324 Pulled By: bhatvinay
…ecovery. (facebook#1061) (facebook#1061) Summary: This diff adds a new option to trim binlog during recovery. The following happens if this option is set: 1. All prepared trasnactions in the engine are rolled back during engine recovery 2. The binlog file (which was marked 'IN USE') will be truncated to the position as reported by engine as the last commited gtid position in the binlog Reference Patch: facebook@96308865f3c Reference Patch: facebook@6288eda9d6e Reference Patch: facebook@12937e8de06 Reference Patch: facebook@fe3826a6743 Originally Reviewed By: abhinav04sharma Pull Request resolved: facebook#1061 Reviewed By: luqun Differential Revision: D18812324 Pulled By: bhatvinay
…ecovery. (facebook#1061) (facebook#1061) Summary: This diff adds a new option to trim binlog during recovery. The following happens if this option is set: 1. All prepared trasnactions in the engine are rolled back during engine recovery 2. The binlog file (which was marked 'IN USE') will be truncated to the position as reported by engine as the last commited gtid position in the binlog Reference Patch: facebook@96308865f3c Reference Patch: facebook@6288eda9d6e Reference Patch: facebook@12937e8de06 Reference Patch: facebook@fe3826a6743 Originally Reviewed By: abhinav04sharma Pull Request resolved: facebook#1061 Reviewed By: luqun Differential Revision: D18812324 Pulled By: bhatvinay
…ecovery. (facebook#1061) (facebook#1061) Summary: This diff adds a new option to trim binlog during recovery. The following happens if this option is set: 1. All prepared trasnactions in the engine are rolled back during engine recovery 2. The binlog file (which was marked 'IN USE') will be truncated to the position as reported by engine as the last commited gtid position in the binlog Reference Patch: facebook@96308865f3c Reference Patch: facebook@6288eda9d6e Reference Patch: facebook@12937e8de06 Reference Patch: facebook@fe3826a6743 Originally Reviewed By: abhinav04sharma Pull Request resolved: facebook#1061 Reviewed By: luqun Differential Revision: D18812324 Pulled By: bhatvinay
…ecovery. (facebook#1061) (facebook#1061) Summary: This diff adds a new option to trim binlog during recovery. The following happens if this option is set: 1. All prepared trasnactions in the engine are rolled back during engine recovery 2. The binlog file (which was marked 'IN USE') will be truncated to the position as reported by engine as the last commited gtid position in the binlog Reference Patch: facebook@96308865f3c Reference Patch: facebook@6288eda9d6e Reference Patch: facebook@12937e8de06 Reference Patch: facebook@fe3826a6743 Originally Reviewed By: abhinav04sharma Pull Request resolved: facebook#1061 Reviewed By: luqun Differential Revision: D18812324 Pulled By: bhatvinay
…ecovery. (facebook#1061) (facebook#1061) Summary: This diff adds a new option to trim binlog during recovery. The following happens if this option is set: 1. All prepared trasnactions in the engine are rolled back during engine recovery 2. The binlog file (which was marked 'IN USE') will be truncated to the position as reported by engine as the last commited gtid position in the binlog Reference Patch: facebook@96308865f3c Reference Patch: facebook@6288eda9d6e Reference Patch: facebook@12937e8de06 Reference Patch: facebook@fe3826a6743 Originally Reviewed By: abhinav04sharma Pull Request resolved: facebook#1061 Reviewed By: luqun Differential Revision: D18812324 Pulled By: bhatvinay
…ecovery. (facebook#1061) (facebook#1061) Summary: This diff adds a new option to trim binlog during recovery. The following happens if this option is set: 1. All prepared trasnactions in the engine are rolled back during engine recovery 2. The binlog file (which was marked 'IN USE') will be truncated to the position as reported by engine as the last commited gtid position in the binlog Reference Patch: facebook@96308865f3c Reference Patch: facebook@6288eda9d6e Reference Patch: facebook@12937e8de06 Reference Patch: facebook@fe3826a6743 Originally Reviewed By: abhinav04sharma Pull Request resolved: facebook#1061 Reviewed By: luqun Differential Revision: D18812324 Pulled By: bhatvinay
…ecovery. (facebook#1061) (facebook#1061) Summary: This diff adds a new option to trim binlog during recovery. The following happens if this option is set: 1. All prepared trasnactions in the engine are rolled back during engine recovery 2. The binlog file (which was marked 'IN USE') will be truncated to the position as reported by engine as the last commited gtid position in the binlog Reference Patch: facebook@96308865f3c Reference Patch: facebook@6288eda9d6e Reference Patch: facebook@12937e8de06 Reference Patch: facebook@fe3826a6743 Originally Reviewed By: abhinav04sharma Pull Request resolved: facebook#1061 Reviewed By: luqun Differential Revision: D18812324 Pulled By: bhatvinay
…ecovery. (facebook#1061) (facebook#1061) Summary: This diff adds a new option to trim binlog during recovery. The following happens if this option is set: 1. All prepared trasnactions in the engine are rolled back during engine recovery 2. The binlog file (which was marked 'IN USE') will be truncated to the position as reported by engine as the last commited gtid position in the binlog Reference Patch: facebook@96308865f3c Reference Patch: facebook@6288eda9d6e Reference Patch: facebook@12937e8de06 Reference Patch: facebook@fe3826a6743 Originally Reviewed By: abhinav04sharma Pull Request resolved: facebook#1061 Reviewed By: luqun Differential Revision: D18812324 Pulled By: bhatvinay
Summary:
This diff adds a new option to trim binlog during recovery. The following happens if this option is set:
Originally Reviewed By: abhinav04sharma
fbshipit-source-id: 6573e88