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

JAMES-3544 Distributed implementation of upload repository #574

Merged
merged 5 commits into from Aug 6, 2021

Conversation

chibenwa
Copy link
Contributor

@chibenwa chibenwa commented Aug 4, 2021

No description provided.

@chibenwa chibenwa self-assigned this Aug 4, 2021
@Arsnael Arsnael merged commit a772474 into apache:master Aug 6, 2021
return Flux.from(blobStore.listBuckets())
.<UploadBucketName>handle((bucketName, sink) -> UploadBucketName.ofBucket(bucketName).ifPresentOrElse(sink::next, sink::complete))
.filter(bucketNameGenerator.evictionPredicate())
.concatMap(bucket -> blobStore.deleteBucket(bucket.asBucketName()))
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

When I run this method, I got the exception when deleteBucket.
(Start the second element of the collection. It throws java.util.ConcurrentModificationException,
No exception with the head element).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants