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

[pull] master from kubernetes-sigs:master #117

Merged
merged 3 commits into from
Mar 14, 2021

Conversation

pull[bot]
Copy link

@pull pull bot commented Mar 14, 2021

See Commits and Changes for more details.


Created by pull[bot]

Can you help keep this open source service alive? 💖 Please sponsor : )

alvaroaleman and others added 3 commits March 14, 2021 13:06
Currently, the controller will instantly shutdown and return when its
context gets cancelled, leaving active reconciliations be. This change
makes it wait for those before finishing shutdown.
* ✨ Deduplicate events before sending them into the workqueue.

This avoids race conditions where extra reconciles can happen rarely.

* ✨ Switch to map[string]struct{} to reduce memory usage slightly.

Also make sure that enqueue_mapped preserves order.

* 📝 Update function doc for getOwnerReconcileRequest.

* 🎨 Fix up duplication tests and ensure Update for _mapped dedups between both objects.
🐛 Controller: Wait for all reconciliations before shutting down
@pull pull bot added the ⤵️ pull label Mar 14, 2021
@pull pull bot merged commit df2c43d into alexeldeib:master Mar 14, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants