Skip to content

Fix the concurrency issue with box un-register in multi-vm environment#370

Merged
legal90 merged 1 commit intoParallels:masterfrom
legal90:fix-parallel-unregister
Nov 22, 2020
Merged

Fix the concurrency issue with box un-register in multi-vm environment#370
legal90 merged 1 commit intoParallels:masterfrom
legal90:fix-parallel-unregister

Conversation

@legal90
Copy link
Collaborator

@legal90 legal90 commented Nov 20, 2020

Fixes #357

This PR fixes the concurrency issue of box un-register when running in multi-vm environment.

There was a sad mistake in this file. If we start the lease counter with 0, we should obviously expect to get back to 0 when the last VM cloning the the box is ready to release it.

It was a sad mistake there. If we start the lease counter with 0, we should obviously expect to get back to 0 when the last VM cloning the the box is ready to release it.
@legal90 legal90 merged commit a73b7ea into Parallels:master Nov 22, 2020
@legal90 legal90 deleted the fix-parallel-unregister branch November 22, 2020 08:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Non-deterministic failure with Multi-Machine provisioning

1 participant