Skip to content
This repository has been archived by the owner on Mar 16, 2024. It is now read-only.

fix: avoid concurrent map operations for valid owner changes #113

Merged
merged 1 commit into from
Feb 5, 2024

Conversation

thedadams
Copy link
Contributor

For controllers that themselves start other controllers, concurrent maps operations can happen when using the "valid owner change" feature. This change will get rid of these concurrent map operations by using a sync.Map instead.

For controllers that themselves start other controllers, concurrent maps
operations can happen when using the "valid owner change" feature. This
change will get rid of these concurrent map operations by using a
sync.Map instead.

Signed-off-by: Donnie Adams <donnie@acorn.io>
@thedadams thedadams merged commit 9cd5fb2 into acorn-io:main Feb 5, 2024
2 checks passed
@thedadams thedadams deleted the fix-concurrent-map-ops branch February 5, 2024 17:47
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants