<BUG>protected int disconnect(final boolean iForceDirty) {if (record.isDirty() && !iForceDirty)return 0;if (pTree.cache.remove(record.getIdentity()) == null)</BUG><CONTEXT>break;}}return this;}<extra_id_0>OLogManager.instance().warn(this, "Can't find current node into the cache. Is the cache invalid?");</CONTEXT>
protected int disconnect(final boolean iForceDirty, final int iLevel) {if (record == null || this == tree.getRoot() || record.isDirty() && !iForceDirty)for (OMVRBTreeEntryPersistent<K, V> entryPoint : pTree.entryPoints) {if (entryPoint == this)if (pTree.cache.remove(record.getIdentity()) == null)