* Log the updated LN.
*
* Note that if the LN is not resident, the lastLoggedSize is
* unknown and not counted during utilization tracking.
*/
newLsn = ln.optionalLog
(envImpl, databaseImpl, (key != null) ? key : oldKey, oldKey,
oldLsn, locker, lockStanding.prepareForUpdate(), repContext);
/* Return a copy of resulting data, if requested. [#16932] */
if (returnNewData != null) {