You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafodion.apache.org by "Alice Chen (JIRA)" <ji...@apache.org> on 2015/07/22 20:19:38 UTC
[jira] [Created] (TRAFODION-1073) LP Bug: 1435461 - phandle not
updated on node-down, node-up scenario
Alice Chen created TRAFODION-1073:
-------------------------------------
Summary: LP Bug: 1435461 - phandle not updated on node-down, node-up scenario
Key: TRAFODION-1073
URL: https://issues.apache.org/jira/browse/TRAFODION-1073
Project: Apache Trafodion
Issue Type: Bug
Components: dtm
Reporter: Oliver Bucaojit
Priority: Critical
Ron and Zalo hit a bug while running node down/up testing. The issue is that on the node-up, the phandle that the lead TM has for the down'd node does not get updated with the newer process ID. One of the issues is that it will cause sqstop to hang when the lead tm tries to coordinate shutdown.
gdb commands used to diagnose problem:
(gdb) p &gv_tm_info.iv_open_tms[1].iv_phandle._data
$1 = (SB_Int64_Type (*)[8]) 0x6cd260
(gdb) p gv_tm_info.iv_open_tms[1]
$2 = {iv_phandle = {_data = {3552588194732048672, 0, 0, 0, 4294967296, 12884912361, 0, 4294967296}}, iv_tag = 0, iv_in_use = 1, iv_recov_state = TM_FAIL_RECOV_STATE_INITIAL,
ip_restartTimerEvent = 0x0}
(gdb) p *(SB_Phandle*)0x6cd260
$3 = {iv_flags = 0, iv_type = 2, iv_vers = 1 '\001', iv_len = 64 '@', iv_name_len = 4 '\004', ia_name = "$TM1", '\000' <repeats 27 times>, iv_nid = 1, iv_pid = 10473,
iv_verifier = 3, ia_rsv2 = {0, 0, 0}, iv_oid = 1}
(gdb) c
In sqshell -a, down and up node 1
SB_Phandle will still have the older process ID.
On sqstop, the shutdown will get stuck.
Need to trace through the code to find why this is not being refreshed.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)