diff options
Diffstat (limited to 'storage/ndb/src/kernel/blocks/dbdict/Event.txt')
-rw-r--r-- | storage/ndb/src/kernel/blocks/dbdict/Event.txt | 102 |
1 files changed, 102 insertions, 0 deletions
diff --git a/storage/ndb/src/kernel/blocks/dbdict/Event.txt b/storage/ndb/src/kernel/blocks/dbdict/Event.txt new file mode 100644 index 00000000000..553c915d9c5 --- /dev/null +++ b/storage/ndb/src/kernel/blocks/dbdict/Event.txt @@ -0,0 +1,102 @@ + +Event creation + +USER DICT(Master) UTIL SUMA +================================================================================ +CREATE_EVENT_REQ::create +--------------------------> + - Get ID + CREATE_SUBID + -----------------------------------------------> + <----------------------------------------------- + - insert into system table + UTIL_PREPARE::insert + ------------------------> + <------------------------ + UTIL_EXECUTE + ------------------------> + <------------------------ +CREATE_EVENT_CONF +<-------------------------- + + +Event dropping + +USER DICT(Master) (Slaves) UTIL SUMA +================================================================================ +DROP_EVENT_REQ +--------------------------> + - read from system table + UTIL_PREPARE::read + ------------------------------------> + <------------------------------------ + UTIL_EXECUTE + ------------------------------------> + <------------------------------------ + SUB_REMOVE_REQ + --------------------> + SUB_REMOVE + ------------------------------> + <------------------------------ + SUB_REMOVE_CONF + <-------------------- + - remove from system table + UTIL_PREPARE::delete + ------------------------------------> + <------------------------------------ + UTIL_EXECUTE + ------------------------------------> + <------------------------------------ +DROP_EVENT_CONF +<-------------------------- + + + +create NdbEventOperation + +USER DICT(Master) (Slaves) UTIL +======================================================================= +CREATE_EVENT_REQ::get +--------------------------> + - read from system table + UTIL_PREPARE::read + ----------------------------------------> + <---------------------------------------- + UTIL_EXECUTE + ----------------------------------------> + <---------------------------------------- + SUMA + CREATE_EVENT_REQ::after_get ====== + ----------------------> + SUB_CREATE + ------------------> + <------------------ + SUB_SYNC + ------------------> + <------------------ + CREATE_EVENT_CONF + <---------------------- +CREATE_EVENT_CONF +<------------------------- + + + +USER DICT(Master) (Slaves) SUMA +======================================================================= +SUB_START_REQ +--------------------------> + SUB_START_REQ + ----------------------> + SUB_START + ------------------> + <------------------ + SUB_START_CONF + <---------------------- +SUB_START_CONF +<------------------------- + + +SUB_STOP analogous to SUB_STOP + + + |