*/
public static void lockAfterLsnChange(DatabaseImpl dbImpl,
long oldLsn,
long newLsn,
Locker excludeLocker) {
final LockManager lockManager =
dbImpl.getDbEnvironment().getTxnManager().getLockManager();
final Set<LockInfo> owners = lockManager.getOwners(oldLsn);
if (owners == null) {
return;
}
/* Acquire newLsn locks. */
for (LockInfo lockInfo : owners) {