-
Notifications
You must be signed in to change notification settings - Fork 846
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Performance] Issue #40 Optimize performance of semisync
Description: ------------ This diff includes: 1. Make semisync buidin to completely remove overhead of plugin lock. 2. Remove LOCK_log requirement from dump thread 3. Now user threads can wait for ACK before innodb commit. add rpl_semi_sync_master_wait_point to control this behavior(AFTER_COMMIT/AFTER_SYNC) 4. Add a new ACK thread to handle ACK from slave. 5. The IO thread flushs master info only when ACK is needed add rpl_semi_sync_slave_delay_master to control this behavior 6. Fix bug#70669, if sync_binlog = 1 ,then notify dump thread after fsync of binlog file.
- Loading branch information
AliSQL
authored and
AliSQL
committed
Feb 14, 2017
1 parent
830187b
commit 3487832
Showing
44 changed files
with
2,510 additions
and
1,509 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
Oops, something went wrong.