It seems that if a primary takes a lock and then fails over in the middle of a migration, the lock isn't relinquished.