allow latches to be transferred directly from nested internal transactions to
calling user transaction to improve page allocation performance/complexity
--------------------------------------------------------------------------------------------------------------------------------------------------------
Key: DERBY-2337
URL: https://issues.apache.org/jira/browse/DERBY-2337
Project: Derby
Issue Type: Improvement
Components: Store
Affects Versions: 10.2.2.0
Reporter: Mike Matrigali
Priority: Minor
In the newPage() routine of FileContainer.java a new page is allocated using a
ntt (a nested internal transaction), so that the allocation of the new page can
be committed separate from the user transaction requesting the allocation.
Extra logic and time is needed once the page is allocated to allow the calling
transaction to use it as it must be unlatched and must handle other
transactions getting to it before it gets a chance. If somehow the ntt could
be committed but the latch be transferred to the calling transaction then the
insert would go faster, and there would be no need for retry logic.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.