fixed an error where both mysql lock and non-lock snapshots were running