* the BIN or IN parent dirty. Otherwise, when the BIN or IN is
* evicted in the future, it will be written to disk without
* flushing its dirty, migrated LNs. [#18227]
*/
if (isDupCountLN) {
ChildReference dclRef = parentDIN.getDupCountLNRef();
if (dclRef.getTarget() == null) {
lnFromLog.postFetchInit(db, logLsn);
parentDIN.updateDupCountLN(lnFromLog);
}
if (isTemporary) {
((LN) dclRef.getTarget()).setDirty();
dclRef.setLsn(DbLsn.NULL_LSN);
parentDIN.setDirty(true);
} else if (cleaner.lazyMigration) {
dclRef.setMigrate(true);
parentDIN.setDirty(true);
} else {
LN targetLn = (LN) dclRef.getTarget();
assert targetLn != null;
byte[] targetKey = parentDIN.getDupKey();
long newLNLsn = targetLn.log
(env, db, targetKey, logLsn, locker,
true /*backgroundIO*/,