You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
I hit this race once as far as I'm aware during some integration tests, where we have a reconcile thread that reads VM properties, and the test thread that does a vm.Reconfigure operation (at least that is my theory since all I have in backtraces from the simulator side).
To Reproduce
Steps to reproduce the behavior:
I don't have clear steps at the moment. It appears that part of the code is for an ethernet card that doesn't have its properties filled out (macAddress/unitNumber).
I suspect some sort of lock is missing that would prevent writing to that config while property collector is reading it.
Expected behavior
Expect no data race in this part of the code.
The collect() method needs to continue holding the object lock while processing selectSet.
Fixesvmware#3697
Signed-off-by: Doug MacEachern <[email protected]>
Describe the bug
I hit this race once as far as I'm aware during some integration tests, where we have a reconcile thread that reads VM properties, and the test thread that does a vm.Reconfigure operation (at least that is my theory since all I have in backtraces from the simulator side).
To Reproduce
Steps to reproduce the behavior:
I don't have clear steps at the moment. It appears that part of the code is for an ethernet card that doesn't have its properties filled out (macAddress/unitNumber).
I suspect some sort of lock is missing that would prevent writing to that config while property collector is reading it.
Expected behavior
Expect no data race in this part of the code.
Affected version
[email protected]
Screenshots/Debug Output
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: