trafodion-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Selva Govindarajan <selva.govindara...@esgyn.com>
Subject RE: Nifty trick
Date Fri, 04 Dec 2015 19:39:00 GMT
There is yet another way:

Issue show remoteprocess in the trafci command.

But debugging mxosrvr would a bit tricky, because zookeeper would timeout
the connection between the client and server. You need to increase the
timeout using a property in dcs-site.xml

Selva

-----Original Message-----
From: Dave Birdsall [mailto:dave.birdsall@esgyn.com]
Sent: Friday, December 4, 2015 11:34 AM
To: dev@trafodion.incubator.apache.org
Subject: Nifty trick

Hi,



While debugging a Trafodion issue through Trafci, I came across an
interesting problem and a nifty trick to solve it.



Trafci connects to Trafodion through an mxosrvr process on platform. The
question is, how to figure out which mxosrvr process one has connected to in
order to set breakpoints. Here’s a way to figure that out:



1.       Start a dtmci, and do a “status trans” command.

2.       In your Trafci session, do a “begin work;”

3.       In dtmci, do another “status trans”. It should show an ACTIVE
transaction. In the Owner column, you’ll see the node number and Linux pid
of the mxosrvr process.



Happy debugging!



Dave

Mime
View raw message