From 44b44dd1d73c5da4e3b6ed7935c79ca88b61fdc8 Mon Sep 17 00:00:00 2001 From: Nirbhay Choubey Date: Wed, 22 Apr 2015 18:30:27 -0400 Subject: Comments for wsrep_exec_mode's. --- sql/wsrep_mysqld.h | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) (limited to 'sql/wsrep_mysqld.h') 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 { -- cgit v1.2.1