summaryrefslogtreecommitdiff
path: root/storage/ndb/src/kernel/blocks/NodeRestart.txt
blob: e9f277bb39ed06896e0d4b25e436dc54a893bddc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
				
Master DIH			Starting DIH		  Starting DICT
----------------------		----------------------	  ---------------------

                                Check for sysfile
				DIH_RESTARTCONF ->

******************************************************************************
* NDB_STTOR interal startphase = 1
******************************************************************************

							  Read schema file

******************************************************************************
* NDB_STTOR interal startphase = 2
******************************************************************************

				<- START_PERMREQ

XXX

START_PERMCONF ->

******************************************************************************
* NDB_STTOR interal startphase = 3
******************************************************************************

				<- START_MEREQ

START_RECREQ -> starting LQH
             <- START_RECCONF

DICTSTARTREQ -> starting DICT
			 				  GET_SCHEMA_INFOREQ
							  (to master DICT)

							  ->SCHEMA_INFO
							    (schema file)

							  1) For each table
				                             1) If TableStatus match
				                                  ReadTableFile
							        else
			                                          GET_TABINFOREQ

						          <- DICTSTARTCONF

For each table
  COPY_TABREQ -> starting DIH

INCL_NODEREQ -> all DIH

START_MECONF -> starting DIH
 (including sysfile)

******************************************************************************
* NDB_STTOR interal startphase = 5
******************************************************************************

				<- START_COPYREQ

START_TOREQ -> all DIH

For each fragment
  ADD_FRAG_REQ -> local DICT -> LQHFRAGREQ -> starting LQH

  CREATE_FRAGREQ -> all DIH
  
  COPY-DATA (LQHKEYREQ++)

  UPDATE_TOREQ -> all DIH
  
  COPY_ACTIVEREQ -> starting LQH

  CREATE_FRAGREQ -> all DIH

START_COPYCONF -> 

LOCAL CHECKPOINT