Skip to content

Conversation

@cbarbian-sap
Copy link
Contributor

So far, reconciler.Apply() (which is what happens if a component is reconciled, not deleted) first deleted all redundant objects, that is objects which appear in the component's inventory, but are no longer part of the current manifest list. Only after all redundant objects were gone, the reconciliation of the current dependents was started. This potentially caused some deadlock situations, e.g. in component-operator. To overcome, the deletion part was shifted to the end of reconciler.Apply(), after the application of the manifest list. This should not be a noticeable change. However, the completion handling still happens early (before the reconciliation of the dependents), and was slightly changed.

@cbarbian-sap cbarbian-sap merged commit b663b0b into main Nov 28, 2024
8 checks passed
@cbarbian-sap cbarbian-sap deleted the apply-before-delete branch November 28, 2024 19:27
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.

2 participants