summaryrefslogtreecommitdiff
path: root/storage/ndb/src/kernel/blocks/NodeRestart.new.txt
blob: 00ab8f0c2089e0d0539923bd04d3bf5fdad3e055 (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
81
82
				
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

For each table
  COPY_TABREQ -> starting DIH

DICTSTARTREQ -> starting DICT
			 				  GET_SCHEMA_INFOREQ
							  (to master DICT)

							  ->SCHEMA_INFO
							    (schema file)

							  1) For each table
				                             If TableStatus OK
				                                ReadTableFile
							      else
			                                        GET_TABINFOREQ
                                                          2) DIADDTABREQ->DIH
							
				For each local frag
				  ADD_FRAG_REQ -> local DICT
				DI_ADD_TAB_CONF
						          <- DICTSTARTCONF

INCL_NODEREQ -> all DIH

START_MECONF -> starting DIH
 (including sysfile)

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

				<- START_COPYREQ

START_TOREQ -> all DIH

For each fragment
  CREATE_FRAGREQ -> all DIH
  
  COPY-DATA (LQHKEYREQ++)

  UPDATE_TOREQ -> all DIH
  
  COPY_ACTIVEREQ -> starting LQH

  CREATE_FRAGREQ -> all DIH

START_COPYCONF -> 

LOCAL CHECKPOINT