CLI internal error when running T2 multi threaded program

Bug #1355559 reported by Pavani Puppala
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Trafodion
Fix Committed
High
Pavani Puppala

Bug Description

Intermittent CLI internal error when running T2 multi threaded program.

ppuppala@g4t2966$ java SampleMultiThread 11
Num of Threads 11
*** ERROR[8898] An internal error occurred in CLI .
 Thread 7:SQLState X08OY
 Thread 7:Error Code -8898
*** ERROR[8898] An internal error occurred in CLI .
 Thread 1:SQLState X08OY
 Thread 1:Error Code -8898

Changed in trafodion:
assignee: nobody → Tharak Capirala (capirala-tharaknath)
Revision history for this message
Pavani Puppala (pavani-puppala) wrote :

Changing to critical as this bug is stopping further multi threaded T2 testing.

Changed in trafodion:
importance: High → Critical
Changed in trafodion:
importance: Critical → High
Changed in trafodion:
assignee: Tharak Capirala (capirala-tharaknath) → Kevin Xu (kai-hua-xu)
Changed in trafodion:
assignee: Kevin Xu (kai-hua-xu) → Rajeswari Muddu (rajeswari-j-muddu)
Changed in trafodion:
milestone: r0.9 → r1.0
Revision history for this message
Pavani Puppala (pavani-puppala) wrote :

The problem is due to process global variable srvrGlobal variable in T2 native driver which can contain info different to multiple threads. This struct contains connection specific info like current schema, current catalog etc. So srvrGlobal cannot be made thread global too. It need to be moved to a struct that holds connection specific info.

Since Daniel is working on fixing global variables for T2 driver assigning to him.

Changed in trafodion:
assignee: Rajeswari Muddu (rajeswari-j-muddu) → Daniel Lu (ping-lu)
Jian Jin (jian-jin)
Changed in trafodion:
assignee: Daniel Lu (ping-lu) → RuoYu Zuo (ruo-yu-zuo)
Changed in trafodion:
status: New → In Progress
Revision history for this message
Pavani Puppala (pavani-puppala) wrote :

Checked into T2 side branch and Aruna verified the fix. Will be merged to mainline along with other T2 side thread changes.

Changed in trafodion:
assignee: RuoYu Zuo (ruo-yu-zuo) → Pavani Puppala (pavani-puppala)
Changed in trafodion:
status: In Progress → Fix Committed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.