20 #include <signaldata/DihContinueB.hpp>
23 printCONTINUEB_DBDIH(FILE * output,
const Uint32 * theData,
24 Uint32 len, Uint16 not_used){
29 case DihContinueB::ZPACK_TABLE_INTO_PAGES:
30 fprintf(output,
" Pack Table Into Pages: %d\n", theData[1]);
33 case DihContinueB::ZPACK_FRAG_INTO_PAGES:
34 fprintf(output,
" Pack Frag Into Pages: Table: %d Fragment: %d PageIndex: %d WordIndex: %d\n",
35 theData[1], theData[2], theData[3], theData[4]);
38 case DihContinueB::ZREAD_PAGES_INTO_TABLE:
39 fprintf(output,
" Read Pages Into Table: %d\n", theData[1]);
42 case DihContinueB::ZREAD_PAGES_INTO_FRAG:
43 fprintf(output,
" Read Pages Into Frag: Table: %d Fragment: %d PageIndex: %d WordIndex: %d\n",
44 theData[1], theData[2], theData[3], theData[4]);
48 case DihContinueB::ZREAD_TAB_DESCRIPTION:
49 fprintf(output,
" Read Table description: %d\n", theData[1]);
53 case DihContinueB::ZCOPY_TABLE:
54 fprintf(output,
" Copy Table: %d\n", theData[1]);
57 case DihContinueB::ZCOPY_TABLE_NODE:
58 fprintf(output,
" Copy table node: TableId: %d NodeId: %d\n",
59 theData[1], theData[2]);
60 fprintf(output,
"PageIndex: %d WordIndex: %d NoOfWords: %d\n",
61 theData[3], theData[4], theData[5]);
64 case DihContinueB::ZSTART_FRAGMENT:
65 fprintf(output,
" Start fragment: Table: %d Fragment: %d\n",
66 theData[1], theData[2]);
69 case DihContinueB::ZCOMPLETE_RESTART:
70 fprintf(output,
"Complete Restart\n");
73 case DihContinueB::ZREAD_TABLE_FROM_PAGES:
74 fprintf(output,
" Read Table From Pages: Table: %d\n", theData[1]);
77 case DihContinueB::ZSR_PHASE2_READ_TABLE:
78 fprintf(output,
" Phase 2 Read Table: Table: %d\n", theData[1]);
81 case DihContinueB::ZCHECK_TC_COUNTER:
82 fprintf(output,
" Check Tc Counter from place %d\n", theData[1]);
85 case DihContinueB::ZCALCULATE_KEEP_GCI:
86 fprintf(output,
" Calc Keep GCI: Table: %d Fragment: %d\n",
87 theData[1], theData[2]);
90 case DihContinueB::ZSTORE_NEW_LCP_ID:
91 fprintf(output,
" Store New LCP Id\n");
94 case DihContinueB::ZTABLE_UPDATE:
95 fprintf(output,
" Table Update: Table: %d\n", theData[1]);
98 case DihContinueB::ZCHECK_LCP_COMPLETED:
99 fprintf(output,
" Check LCP Completed: TableId %d\n", theData[1]);
102 case DihContinueB::ZINIT_LCP:
103 fprintf(output,
" Init LCP: Table: %d\n", theData[1]);
106 case DihContinueB::ZADD_TABLE_MASTER_PAGES:
107 fprintf(output,
" Add Table Master Pages: Table: %d\n", theData[1]);
110 case DihContinueB::ZDIH_ADD_TABLE_MASTER:
111 fprintf(output,
" Dih Add Table Master: Table: %d\n", theData[1]);
114 case DihContinueB::ZADD_TABLE_SLAVE_PAGES:
115 fprintf(output,
" Add Table Slave Pages: Table: %d\n", theData[1]);
118 case DihContinueB::ZDIH_ADD_TABLE_SLAVE:
119 fprintf(output,
" Add Table Slave: Table: %d\n", theData[1]);
122 case DihContinueB::ZSTART_GCP:
123 fprintf(output,
" Start GCP\n");
126 case DihContinueB::ZCOPY_GCI:
127 fprintf(output,
" Copy GCI\n");
130 case DihContinueB::ZEMPTY_VERIFY_QUEUE:
131 fprintf(output,
" Empty Verify Queue\n");
134 case DihContinueB::ZCHECK_GCP_STOP:
135 fprintf(output,
" Check GCP Stop\n");
137 fprintf(output,
"coldGcpStatus = %d\n", theData[1]);
138 fprintf(output,
"cgcpStatus = %d\n", theData[2]);
139 fprintf(output,
"coldGcpId = %d\n", theData[3]);
140 fprintf(output,
"cnewgcp = %d\n", theData[4]);
141 fprintf(output,
"cgcpSameCounter = %d\n", theData[5]);
145 case DihContinueB::ZREMOVE_NODE_FROM_TABLE:
146 fprintf(output,
" Remove Node From Table: Node: %d Table: %d\n",
147 theData[1], theData[2]);
150 case DihContinueB::ZCOPY_NODE:
151 fprintf(output,
" Copy Node: Table: %d\n", theData[1]);
154 case DihContinueB::ZTO_START_COPY_FRAG:
155 fprintf(output,
" To Start Copy Frag: TakeOverPtr: %d\n", theData[1]);
158 case DihContinueB::ZINVALIDATE_NODE_LCP:
159 fprintf(output,
" Invalide LCP: NodeId: %d TableId %d\n",
160 theData[1], theData[2]);
163 case DihContinueB::ZINITIALISE_RECORDS:
164 fprintf(output,
" Initialise Records: tdata0: %d\n", theData[1]);
167 case DihContinueB::ZSTART_PERMREQ_AGAIN:
168 fprintf(output,
" START_PERMREQ again for node: %d\n", theData[1]);
171 case DihContinueB::SwitchReplica:
172 fprintf(output,
" NodeId = %d TableId = %d FragNo = %d\n",
173 theData[1], theData[2], theData[3]);
176 case DihContinueB::ZSEND_START_TO:
177 fprintf(output,
" Send Start Take Over: TakeOverPtr: %d, startNode: %d, toNode: %d\n",
178 theData[1], theData[2], theData[3]);
181 case DihContinueB::ZSEND_UPDATE_TO:
182 fprintf(output,
" Send Update Take Over: TakeOverPtr: %d, startNode: %d, toNode: %d\n",
183 theData[1], theData[2], theData[3]);
186 case DihContinueB::ZSEND_ADD_FRAG:
187 fprintf(output,
" Send Add Fragment: TakeOverPtr: %d, startNode: %d, toNode: %d\n",
188 theData[1], theData[2], theData[3]);
191 case DihContinueB::WAIT_DROP_TAB_WRITING_TO_FILE:
192 fprintf(output,
" Wait drop tab writing to file TableId: %d\n", theData[1]);
194 case DihContinueB::ZLCP_TRY_LOCK:
195 fprintf(output,
" Lcp trylock: attempt %u\n",
198 case DihContinueB::ZDELAY_RELEASE_FRAGMENT_INFO_MUTEX:
199 fprintf(output,
" Delay release fragment-info mutex (handle: 0x%x)",
203 fprintf(output,
" Default system error lab...\n");