pulumi/pkg/backend/diy
Thomas Gummerer c38c1fcd4e
retry deletes in a bucket if they fail (#18059)
Cloud infrastructure can occasionally hiccup. This can be noticable when
we try to delete a lock file from a bucket, and the delete fails. In
that case we currently just error out, making the user to a `pulumi
cancel` later.

We can do better here and actually retry the delete a few times with
backoff. This should work around temporary hiccups. Deletes are an
operation that should always be safe to retry, as even if an earlier
request goes through, the object can't be deleted twice.

Fixes https://github.com/pulumi/pulumi/issues/17876
2024-12-18 09:38:13 +00:00
..
backend.go try to keep machine awake during pulumi operations (DIY edition) (#17699) 2024-11-06 14:03:26 +00:00
backend_legacy_test.go Introduce snapshot metadata (#17430) 2024-09-30 16:45:40 +00:00
backend_test.go Introduce snapshot metadata (#17430) 2024-09-30 16:45:40 +00:00
bucket.go retry deletes in a bucket if they fail (#18059) 2024-12-18 09:38:13 +00:00
bucket_test.go retry deletes in a bucket if they fail (#18059) 2024-12-18 09:38:13 +00:00
doc.go Rename filestate to DIY (#15314) 2024-01-30 15:53:10 +00:00
lock.go [backend/diy] Show a more correct URL for lock files (#17961) 2024-12-09 08:21:51 +00:00
lock_test.go [backend/diy] Show a more correct URL for lock files (#17961) 2024-12-09 08:21:51 +00:00
meta.go Rename filestate to DIY (#15314) 2024-01-30 15:53:10 +00:00
meta_test.go Rename filestate to DIY (#15314) 2024-01-30 15:53:10 +00:00
pool.go Rename filestate to DIY (#15314) 2024-01-30 15:53:10 +00:00
pool_test.go Rename filestate to DIY (#15314) 2024-01-30 15:53:10 +00:00
snapshot.go Persist initial states in DIY backend (#17372) 2024-09-26 14:45:09 +00:00
stack.go Replace `result.Result` with native errors (#17044) 2024-08-22 14:39:59 +00:00
state.go don't make backups if the object doesn't exist (#18060) 2024-12-17 17:05:25 +00:00
store.go Rename filestate to DIY (#15314) 2024-01-30 15:53:10 +00:00
store_test.go Rename filestate to DIY (#15314) 2024-01-30 15:53:10 +00:00