12671268126912701271127212731274127512761277
*/ child.beforeLog(logManager, item, context); } else { /* Do not process if not dirty. Unlatch now. */ itemList.remove(itemList.size() - 1); child.releaseLatch(); /* Log parent if child has already been flushed. */ mustLogParent = true; } }
13241325132613271328132913301331133213331334
} return mustLogParent; } finally { for (INLogItem item : itemList) { IN child = (IN) parent.getTarget(item.parentIndex); child.releaseLatch(); } } } /*
13831384138513861387138813891390139113921393
root.setLsn(newLsn); flushed = true; } } } finally { rootIN.releaseLatch(); } return null; } boolean getFlushed() {
756757758759760761762763764765766
/* Stats */ nRootNodesEvicted.increment(); } } finally { rootIN.releaseLatch(); } return null; } }
10241025102610271028102910301031103210331034
/* Stats */ nNodesEvicted.increment(); renewedChild.incEvictStats(source); } } finally { renewedChild.releaseLatch(); } } finally { parent.releaseLatch(); }
20372038203920402041204220432044204520462047
} if (n != null && n.containsDuplicates()) { DIN dupRoot = (DIN) n; dupRoot.latch(cacheMode); in.releaseLatch(); in = null; found = positionFirstOrLast(first, dupRoot); } else { /*
20942095209620972098209921002101210221032104
status = CURSOR_INITIALIZED; return found; } catch (DatabaseException e) { /* Release latch on error. */ if (in != null) { in.releaseLatch(); } throw e; } }
359360361362363364365366367368369
IN nodeAsIN = (IN) node; try { nodeAsIN.latch(CacheMode.UNCHANGED); accumulateLSNs(nodeAsIN); } finally { nodeAsIN.releaseLatch(); } } } } }
416417418419420421422423424425426
accumulateLSNs(in); } } } finally { if (isIN) { in.releaseLatch(); } } } private Node fetchLSNHandleExceptions(long lsn, DatabaseEntry lnKeyEntry) {