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

Error on delete if cluster is unreachable #1379

Merged
merged 1 commit into from Nov 12, 2020

Conversation

lblackstone
Copy link
Member

Proposed changes

We previously considered a resource to be deleted if the
cluster is unreachable during an update. The intent was to
gracefully handle cases where the underlying cluster was
deleted (perhaps as part of another stack). Unfortunately,
this change led to cases where resources were erroneously
deleted from the state due to network partitions.

This change reverts that behavior so that an error is returned
for resource deletion if the cluster is unreachable.

Related issues (optional)

Fix #1013

We previously considered a resource to be deleted if the
cluster is unreachable during an update. The intent was to
gracefully handle cases where the underlying cluster was
deleted (perhaps as part of another stack). Unfortunately,
this change led to cases where resources were erroneously
deleted from the state due to network partitions.

This change reverts that behavior so that an error is returned
for resource deletion if the cluster is unreachable.
@github-actions
Copy link

PR is now waiting for a maintainer to run the acceptance tests. This PR will only perform build and linting.

Note for the maintainer: To run the acceptance tests, please comment /run-acceptance-tests on the PR

@lblackstone
Copy link
Member Author

/run-acceptance-tests

@github-actions
Copy link

@lblackstone lblackstone merged commit 84e5afe into master Nov 12, 2020
@pulumi-bot pulumi-bot deleted the lblackstone/network-partition branch November 12, 2020 22:38
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.

Network partition caused resources to be deleted from state without warning
2 participants