Skip to content

Simplify bucket emptying mechanism#469

Draft
0x2b3bfa0 wants to merge 5 commits into
mainfrom
revert-revert-420
Draft

Simplify bucket emptying mechanism#469
0x2b3bfa0 wants to merge 5 commits into
mainfrom
revert-revert-420

Conversation

@0x2b3bfa0
Copy link
Copy Markdown
Member

@0x2b3bfa0 0x2b3bfa0 commented Mar 30, 2022

Follow-up of #420 and #453, closes #459

It turns out that #459 happened because when some resources are already missing, t.Read() fails and the emptying logic never runs. Still, needs extensive testing before merging.

@0x2b3bfa0 0x2b3bfa0 added technical-debt Refactoring, linting & tidying flaky Heisenbugs labels Mar 30, 2022
@0x2b3bfa0 0x2b3bfa0 requested a review from a team March 30, 2022 22:44
@0x2b3bfa0 0x2b3bfa0 self-assigned this Mar 30, 2022
@0x2b3bfa0 0x2b3bfa0 temporarily deployed to automatic March 30, 2022 22:44 Inactive
@0x2b3bfa0 0x2b3bfa0 added the p2-nice-to-have Low priority label Mar 30, 2022
@0x2b3bfa0 0x2b3bfa0 temporarily deployed to automatic March 30, 2022 22:49 Inactive
@0x2b3bfa0 0x2b3bfa0 temporarily deployed to automatic March 30, 2022 22:50 Inactive
@0x2b3bfa0 0x2b3bfa0 temporarily deployed to automatic March 30, 2022 22:50 Inactive
@0x2b3bfa0 0x2b3bfa0 temporarily deployed to automatic March 30, 2022 22:50 Inactive
Comment thread task/aws/resources/resource_bucket.go
@0x2b3bfa0 0x2b3bfa0 temporarily deployed to automatic March 31, 2022 11:21 Inactive
@0x2b3bfa0 0x2b3bfa0 temporarily deployed to automatic March 31, 2022 11:21 Inactive
@0x2b3bfa0 0x2b3bfa0 temporarily deployed to automatic March 31, 2022 11:21 Inactive
@0x2b3bfa0 0x2b3bfa0 temporarily deployed to automatic March 31, 2022 11:21 Inactive
@DavidGOrtega
Copy link
Copy Markdown
Contributor

DavidGOrtega commented Mar 31, 2022

@0x2b3bfa0 seems to be failing in GCP

The bucket you tried to delete is not empty.", Details:[]interface (nil), Body:""error":"code":409,"message":"The bucket you tried to delete is not empty.","errors":["message":"The bucket you tried to delete is not empty.","domain":"global","reason":"conflict"]", Header:http.Header(nil), Errors:[]googleapi.ErrorItemgoogleapi.ErrorItemReason:"conflict", Message:"The bucket you tried to delete is not empty."***

@0x2b3bfa0
Copy link
Copy Markdown
Member Author

Ditto: #471 (comment)

@DavidGOrtega
Copy link
Copy Markdown
Contributor

DavidGOrtega commented Mar 31, 2022

Ditto: #471 (comment)

Ok! but not should be working rclone here also?

@0x2b3bfa0 0x2b3bfa0 temporarily deployed to automatic March 31, 2022 20:07 Inactive
@0x2b3bfa0 0x2b3bfa0 temporarily deployed to automatic March 31, 2022 20:07 Inactive
@0x2b3bfa0 0x2b3bfa0 temporarily deployed to automatic March 31, 2022 20:07 Inactive
@0x2b3bfa0 0x2b3bfa0 temporarily deployed to automatic March 31, 2022 20:07 Inactive
@0x2b3bfa0 0x2b3bfa0 temporarily deployed to automatic March 31, 2022 20:15 Inactive
@0x2b3bfa0 0x2b3bfa0 temporarily deployed to automatic March 31, 2022 20:15 Inactive
@0x2b3bfa0 0x2b3bfa0 temporarily deployed to automatic March 31, 2022 20:15 Inactive
@0x2b3bfa0 0x2b3bfa0 temporarily deployed to automatic March 31, 2022 20:15 Inactive
@0x2b3bfa0 0x2b3bfa0 temporarily deployed to automatic April 1, 2022 15:35 Inactive
@0x2b3bfa0 0x2b3bfa0 temporarily deployed to automatic April 1, 2022 15:35 Inactive
@0x2b3bfa0 0x2b3bfa0 temporarily deployed to automatic April 1, 2022 15:35 Inactive
@0x2b3bfa0 0x2b3bfa0 temporarily deployed to automatic April 2, 2022 14:53 Inactive
@0x2b3bfa0 0x2b3bfa0 temporarily deployed to automatic April 2, 2022 14:53 Inactive
@0x2b3bfa0 0x2b3bfa0 temporarily deployed to automatic April 2, 2022 14:53 Inactive
@0x2b3bfa0 0x2b3bfa0 added the blocked Dependent on something else label Oct 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

blocked Dependent on something else flaky Heisenbugs p2-nice-to-have Low priority technical-debt Refactoring, linting & tidying

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Investigate rclone bucket emptying delay

3 participants