Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CLOUDP-244156: Fix the concurrent writes for the ResourceWatcher #1520

Merged
merged 2 commits into from
Apr 18, 2024

Conversation

igor-karpukhin
Copy link
Collaborator

All Submissions:

Fix the concurrent writes for the ResourceWatcher

  • Have you signed our CLA?
  • Put closes #XXXX in your comment to auto-close the issue that your PR fixes (if there is one).
  • Update docs/release-notes/release-notes.md if your changes should be included in the release notes for the next release.

Copy link
Collaborator

@josvazg josvazg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link
Collaborator

@s-urbaniak s-urbaniak left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@igor-karpukhin please let's make sure that the event handlers that also maintain maps are synchronized or guaranteed to be used within the same goroutine only.

@igor-karpukhin
Copy link
Collaborator Author

@igor-karpukhin please let's make sure that the event handlers that also maintain maps are synchronized or guaranteed to be used within the same goroutine only.

I just checked. This map is used to be passed to the Watcher interface. It is used to generate reconciliation requests.

@igor-karpukhin igor-karpukhin merged commit a24887e into main Apr 18, 2024
47 checks passed
@roothorp roothorp deleted the CLOUDP-244156/fix-concurrent-writes branch September 26, 2024 10:02
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.

4 participants