Drop schema cascade returns error 20123 complaining about user-defined transaction
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Trafodion |
Fix Released
|
High
|
Cliff Gray |
Bug Description
The QA regression tests have run into this problem several times. Drop schema cascade would returns error 20123 complaining that a user-defined transaction has been started. When this occurred, any statements run after that would continue to see this error until a new trafci session is started.
There is no certain way to reproduce this problem, but it does occur every now and then to cause test failures. This bug report is created to document this problem. Some analysis needs to do be done from the implementation of drop schema cascade to see what could have caused this problem to happen.
Here are two occurrences seen on the v1125_0830 build:
fullouterjoins/
SQL>drop schema trafodion.
*** ERROR[20123] A user-defined transaction has been started. This DDL operation cannot be performed. [2014-11-26 09:24:53]
dmls_rollback/
SQL>drop schema trafodion.
*** ERROR[20123] A user-defined transaction has been started. This DDL operation cannot be performed. [2014-11-26 08:24:50]
Changed in trafodion: | |
assignee: | nobody → Cliff Gray (cliff-gray) |
Changed in trafodion: | |
milestone: | none → r1.0 |
Changed in trafodion: | |
status: | Fix Committed → New |
status: | New → Fix Committed |
Changed in trafodion: | |
status: | Fix Committed → Fix Released |
It's believed that the following 3 bug reports have the same root cause:
https:/ /bugs.launchpad .net/trafodion/ +bug/1396801 'Drop schema cascade returns error 20123 complaining about user-defined transaction' /bugs.launchpad .net/trafodion/ +bug/1401683 'DDL operations see error 8841 about transaction started by SQL' /bugs.launchpad .net/trafodion/ +bug/1404442 'Random create schema failures due to inaccessible _MD_ tables'
https:/
https:/
The fix for 1404442 was put in on 1/16. Ran through both the v0116 (v1.0.0rc1) and the v0117 build. Did not see any of the aforementioned problems. This bug report will now be closed.