inLsn);
replaced = true;
}
} else {
/* case 2: no match, insert the new node. */
ChildReference ref =
new ChildReference(inFromLog, idKey, inLsn);
boolean insertOk = result.parent.insertEntry(ref);
assert insertOk:
"Nomatch, couln't insert for LSN " +
DbLsn.toString(logLsn) +
" parent=" + result.parent.getNodeId() +
" index=" + result.index;
inserted = true;
}
}
} else {
/* case 2: no match */
ChildReference newRef =
new ChildReference(inFromLog, idKey, inLsn);
boolean insertOk = result.parent.insertEntry(newRef);
assert insertOk;
inserted = true;
}
success = true;