OSBTreeBonsaiBucket<K, V> rootBucket = new OSBTreeBonsaiBucket<K, V>(rootCacheEntry, rootBucketPointer.getPageOffset(),
keySerializer, valueSerializer, getTrackMode());
rootBucket.setTreeSize(size);
logPageChanges(rootBucket, fileId, rootBucketPointer.getPageIndex(), false);
rootCacheEntry.markDirty();
} finally {
rootCacheEntry.releaseExclusiveLock();
diskCache.release(rootCacheEntry);
}
}