summaryrefslogtreecommitdiff
path: root/sql/wsrep_mysqld.h
diff options
context:
space:
mode:
authorNirbhay Choubey <nirbhay@mariadb.com>2015-04-22 18:30:27 -0400
committerNirbhay Choubey <nirbhay@mariadb.com>2015-04-22 18:30:27 -0400
commit44b44dd1d73c5da4e3b6ed7935c79ca88b61fdc8 (patch)
treed88c0122f90570f0ca92f2927b50ed8ed384e58f /sql/wsrep_mysqld.h
parent0095697784a12cbb269238b354ac6f31800418fb (diff)
downloadmariadb-git-44b44dd1d73c5da4e3b6ed7935c79ca88b61fdc8.tar.gz
Comments for wsrep_exec_mode's.
Diffstat (limited to 'sql/wsrep_mysqld.h')
-rw-r--r--sql/wsrep_mysqld.h15
1 files changed, 11 insertions, 4 deletions
diff --git a/sql/wsrep_mysqld.h b/sql/wsrep_mysqld.h
index 14edf26c44f..4bd2489210a 100644
--- a/sql/wsrep_mysqld.h
+++ b/sql/wsrep_mysqld.h
@@ -28,10 +28,17 @@ class set_var;
class THD;
enum wsrep_exec_mode {
- LOCAL_STATE,
- REPL_RECV,
- TOTAL_ORDER,
- LOCAL_COMMIT
+ /* Transaction processing before replication. */
+ LOCAL_STATE,
+ /* Slave thread applying write sets from other nodes or replaying thread. */
+ REPL_RECV,
+ /* Total-order-isolation mode */
+ TOTAL_ORDER,
+ /*
+ Transaction procession after it has been replicated in prepare stage and
+ has passed certification
+ */
+ LOCAL_COMMIT
};
enum wsrep_query_state {