forked from mysql/mysql-server
-
Notifications
You must be signed in to change notification settings - Fork 43
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Implemented the background thread for periodic syncing
Summary: Starting a new thread which is used to periodically sync writes. Changed sysvars to directly mimic WriteOptions. Introduced a separate global sysvar to control the background sync thread. This diff is for this issue: MariaDB/webscalesql-5.6#15 Test Plan: ran the test. A number of syncs doesn't go up in the background mode. It goes up after a second sleep Checked in gdb that correct write_options are set for truncate table and drop table Reviewers: jonahcohen, sergey.petrunya.9, MarkCallaghan Reviewed By: MarkCallaghan Differential Revision: https://reviews.facebook.net/D31221
- Loading branch information
Showing
1 changed file
with
130 additions
and
65 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