~ubuntu-branches/ubuntu/trusty/mysql-5.6/trusty

« back to all changes in this revision

Viewing changes to storage/ndb/src/kernel/blocks/dbdict/Event.txt

  • Committer: Package Import Robot
  • Author(s): James Page
  • Date: 2014-02-12 11:54:27 UTC
  • Revision ID: package-import@ubuntu.com-20140212115427-oq6tfsqxl1wuwehi
Tags: upstream-5.6.15
ImportĀ upstreamĀ versionĀ 5.6.15

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
 
 
2
Event creation
 
3
 
 
4
USER                      DICT(Master)            UTIL                   SUMA
 
5
================================================================================
 
6
CREATE_EVENT_REQ::create
 
7
-------------------------->
 
8
                          - Get ID
 
9
                          CREATE_SUBID
 
10
                          ----------------------------------------------->
 
11
                          <-----------------------------------------------
 
12
                          - insert into system table
 
13
                          UTIL_PREPARE::insert
 
14
                          ------------------------>
 
15
                          <------------------------
 
16
                          UTIL_EXECUTE
 
17
                          ------------------------>
 
18
                          <------------------------
 
19
CREATE_EVENT_CONF
 
20
<--------------------------
 
21
 
 
22
 
 
23
Event dropping
 
24
 
 
25
USER                      DICT(Master)     (Slaves)         UTIL         SUMA
 
26
================================================================================
 
27
DROP_EVENT_REQ
 
28
-------------------------->
 
29
                          - read from system table
 
30
                          UTIL_PREPARE::read
 
31
                          ------------------------------------>
 
32
                          <------------------------------------
 
33
                          UTIL_EXECUTE        
 
34
                          ------------------------------------>
 
35
                          <------------------------------------
 
36
                          SUB_REMOVE_REQ
 
37
                          -------------------->
 
38
                                               SUB_REMOVE
 
39
                                               ------------------------------>
 
40
                                               <------------------------------
 
41
                          SUB_REMOVE_CONF
 
42
                          <--------------------
 
43
                          - remove from system table
 
44
                          UTIL_PREPARE::delete
 
45
                          ------------------------------------>
 
46
                          <------------------------------------
 
47
                          UTIL_EXECUTE        
 
48
                          ------------------------------------>
 
49
                          <------------------------------------
 
50
DROP_EVENT_CONF
 
51
<--------------------------
 
52
 
 
53
 
 
54
 
 
55
create NdbEventOperation
 
56
 
 
57
USER                      DICT(Master)         (Slaves)           UTIL
 
58
=======================================================================
 
59
CREATE_EVENT_REQ::get
 
60
-------------------------->
 
61
                          - read from system table
 
62
                          UTIL_PREPARE::read
 
63
                          ---------------------------------------->
 
64
                          <----------------------------------------
 
65
                          UTIL_EXECUTE        
 
66
                          ---------------------------------------->
 
67
                          <----------------------------------------
 
68
                                                                  SUMA
 
69
                          CREATE_EVENT_REQ::after_get            ======
 
70
                          ---------------------->
 
71
                                                SUB_CREATE
 
72
                                                ------------------>
 
73
                                                <------------------
 
74
                                                SUB_SYNC
 
75
                                                ------------------>
 
76
                                                <------------------
 
77
                          CREATE_EVENT_CONF
 
78
                          <----------------------
 
79
CREATE_EVENT_CONF
 
80
<-------------------------
 
81
 
 
82
 
 
83
 
 
84
USER                      DICT(Master)         (Slaves)           SUMA
 
85
=======================================================================
 
86
SUB_START_REQ
 
87
-------------------------->
 
88
                          SUB_START_REQ
 
89
                          ---------------------->
 
90
                                                SUB_START
 
91
                                                ------------------>
 
92
                                                <------------------
 
93
                          SUB_START_CONF
 
94
                          <----------------------
 
95
SUB_START_CONF
 
96
<-------------------------
 
97
 
 
98
 
 
99
SUB_STOP analogous to SUB_STOP
 
100
 
 
101
 
 
102