possible performance improvement in XA transaction creation
-----------------------------------------------------------
Key: DERBY-828
URL: http://issues.apache.org/jira/browse/DERBY-828
Project: Derby
Type: Improvement
Components: Store
Versions: 10.1.2.1
Reporter: Mike Matrigali
Priority: Minor
There is a linear list search in
opensource/java/engine/org/apache/derby/impl/store/raw/xact/TransactionTable.java.
This use to be fine as it used to be only called during offline recovery.
Now it is also used to do online error checking of duplicate XA global
transaction id's, so if there are a large number of active XA transactions
doing a linear scan is probably not appropriate. Found from code inspection,
no problem has been reported by a user.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira