Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improve the scan comparison logic (#6168)
For the scan retry, previously we were comparing the entire vdi data structure from the database using the (<>) operator. This is a bit wasteful and not very stable. Instead let us just compare the vdi refs, since the race here comes from `VDI.db_{introduce,forget}`, which would only add/remove vdis from the db, but not change its actual data structure. Also add a bit more logging when retrying, since this should not happen very often.
- Loading branch information