* duplicate tree, we also have to update the duplicate tree count.
*/
ChildReference dupCountRef = dupRoot.getDupCountLNRef();
DupCountLN dcl = (DupCountLN)
dupCountRef.fetchTarget(database, dupRoot);
dupRoot.releaseLatch();
LockResult dclGrantAndInfo = locker.lock
(dcl.getNodeId(), LockType.WRITE, database);
/*
* The write lock request might have blocked while waiting for a