Count non-localized versions when deleting a bucket - #6313
Conversation
Hello sylvainsenechal,My role is to assist you with the merge of this Available options
Available commands
Status report is not available. |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files
... and 5 files with indirect coverage changes @@ Coverage Diff @@
## development/9.5 #6313 +/- ##
===================================================
+ Coverage 86.50% 86.60% +0.10%
===================================================
Files 213 213
Lines 14610 14610
===================================================
+ Hits 12638 12653 +15
+ Misses 1972 1957 -15
Flags with carried forward coverage won't be shown. Click here to find out more. 🚀 New features to boost your workflow:
|
Waiting for approvalThe following approvals are needed before I can proceed with the merge:
|
|
|
||
| it('should count the non-localized versions when checking the bucket is empty', done => { | ||
| const listObject = sinon.spy(metadata, 'listObject'); | ||
| bucketPut(authInfo, testRequest, log, () => { |
There was a problem hiding this comment.
Could you promisify bucketPut ?
8d8cdf2 to
a73039b
Compare
|
/approve |
|
I have successfully merged the changeset of this pull request
The following branches have NOT changed:
This pull request did not target the following hotfix branch(es) so they
Please check the status of the associated issue CLDSRV-1014. Goodbye sylvainsenechal. The following options are set: approve |
Issue: CLDSRV-1014
With recent changes regarding clean view, there was a risk that we could delete a non empty bucket if it only had non localized version.
Uunlikely to be super useful since I doubt clients would delete bucket on their disaster recovery site, and it could be weird to get an error "can't delete bucket, still have objects" while not being able to see these objects on the frontend, but still probably should do this pr or do something about it