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

« back to all changes in this revision

Viewing changes to storage/ndb/src/kernel/blocks/NodeRestart.new.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
Master DIH                      Starting DIH              Starting DICT
 
3
----------------------          ----------------------    ---------------------
 
4
 
 
5
                                Check for sysfile
 
6
                                DIH_RESTARTCONF ->
 
7
 
 
8
******************************************************************************
 
9
* NDB_STTOR interal startphase = 1
 
10
******************************************************************************
 
11
 
 
12
                                                          Read schema file
 
13
 
 
14
******************************************************************************
 
15
* NDB_STTOR interal startphase = 2
 
16
******************************************************************************
 
17
 
 
18
                                <- START_PERMREQ
 
19
 
 
20
XXX
 
21
 
 
22
START_PERMCONF ->
 
23
 
 
24
******************************************************************************
 
25
* NDB_STTOR interal startphase = 3
 
26
******************************************************************************
 
27
 
 
28
                                <- START_MEREQ
 
29
 
 
30
START_RECREQ -> starting LQH
 
31
             <- START_RECCONF
 
32
 
 
33
For each table
 
34
  COPY_TABREQ -> starting DIH
 
35
 
 
36
DICTSTARTREQ -> starting DICT
 
37
                                                          GET_SCHEMA_INFOREQ
 
38
                                                          (to master DICT)
 
39
 
 
40
                                                          ->SCHEMA_INFO
 
41
                                                            (schema file)
 
42
 
 
43
                                                          1) For each table
 
44
                                                             If TableStatus OK
 
45
                                                                ReadTableFile
 
46
                                                              else
 
47
                                                                GET_TABINFOREQ
 
48
                                                          2) DIADDTABREQ->DIH
 
49
                                                        
 
50
                                For each local frag
 
51
                                  ADD_FRAG_REQ -> local DICT
 
52
                                DI_ADD_TAB_CONF
 
53
                                                          <- DICTSTARTCONF
 
54
 
 
55
INCL_NODEREQ -> all DIH
 
56
 
 
57
START_MECONF -> starting DIH
 
58
 (including sysfile)
 
59
 
 
60
******************************************************************************
 
61
* NDB_STTOR interal startphase = 5
 
62
******************************************************************************
 
63
 
 
64
                                <- START_COPYREQ
 
65
 
 
66
START_TOREQ -> all DIH
 
67
 
 
68
For each fragment
 
69
  CREATE_FRAGREQ -> all DIH
 
70
  
 
71
  COPY-DATA (LQHKEYREQ++)
 
72
 
 
73
  UPDATE_TOREQ -> all DIH
 
74
  
 
75
  COPY_ACTIVEREQ -> starting LQH
 
76
 
 
77
  CREATE_FRAGREQ -> all DIH
 
78
 
 
79
START_COPYCONF -> 
 
80
 
 
81
LOCAL CHECKPOINT
 
82