MB-19359: [1] Address lock inversion with vb's state lock and snapshot lock