Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
mariadb
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
mariadb
Commits
6ee8eb44
Commit
6ee8eb44
authored
Sep 08, 2011
by
Luis Soares
Browse files
Options
Browse Files
Download
Plain Diff
BUG#12818224
Merged cset against latest mysql-5.5.
parents
3006e193
c77928b4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
9 deletions
+9
-9
plugin/semisync/semisync_master.cc
plugin/semisync/semisync_master.cc
+9
-9
No files found.
plugin/semisync/semisync_master.cc
View file @
6ee8eb44
...
...
@@ -312,18 +312,18 @@ int ActiveTranx::clear_active_tranx_nodes(const char *log_file_name,
* The most important functions during semi-syn replication listed:
*
* Master:
* . reportReplyBinlog(): called by the binlog dump thread when it receives
* the slave's status information.
* . updateSyncHeader(): based on transaction waiting information, decide
* whether to request the slave to reply.
* . writeTraxInBinlog(): called by the transaction thread when it finishes
* writing all transaction events in binlog.
* . commitTrx(): transaction thread wait for the slave reply.
* . reportReplyBinlog():
called by the binlog dump thread when it receives
*
the slave's status information.
* . updateSyncHeader():
based on transaction waiting information, decide
*
whether to request the slave to reply.
* . writeTra
n
xInBinlog(): called by the transaction thread when it finishes
*
writing all transaction events in binlog.
* . commitTrx():
transaction thread wait for the slave reply.
*
* Slave:
* . slaveReadSyncHeader(): read the semi-sync header from the master, get the
* sync status and get the payload for events.
* . slaveReply(): reply to the master about the replication progress.
*
sync status and get the payload for events.
* . slaveReply():
reply to the master about the replication progress.
*
******************************************************************************/
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment