-
Notifications
You must be signed in to change notification settings - Fork 487
JAMES-4156 refactoring Blobstore deleted message vault for appending messages into single bucket #2902
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
base: master
Are you sure you want to change the base?
JAMES-4156 refactoring Blobstore deleted message vault for appending messages into single bucket #2902
Conversation
…ingle bucket Keep old code as appendV1 for testing retro-compatibility
quantranhong1999
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
...ssages-vault/src/test/java/org/apache/james/vault/blob/BlobStoreDeletedMessageVaultTest.java
Outdated
Show resolved
Hide resolved
...ssages-vault/src/test/java/org/apache/james/vault/blob/BlobStoreDeletedMessageVaultTest.java
Outdated
Show resolved
Hide resolved
chibenwa
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great as a first step!
I propose to wait to have the purge working on top of the v2 (in addition to the v1) in order not to ship broken code
Thanks @Arsnael for proposing this change.
Alright will add the purge refactoring on this PR then. Thanks for the feedback EDIT: I think technically the purge with old messages works as demonstrated in the adapted test. It's just not doing it for the new single bucket yet. |
Yes I know. But not with the new. Hence my remark. |
…vault single bucket
|
CF remarks on #2894 While there's no objection continuing this work so that it's ready I would actually like to also get the "S3 contained alternative" and potentially bring up a debate on the ML on the two implementations. |
I've seen yes. I've been thinking worth continuing in case, as the remarks were not widely discussed and validated with the community yet and might require more work. |
… deleted blob id from string
…t design into account
|
Might have a few bits left:
In DeletedMessageVaultIntegrationTest , the test vaultDeleteShouldDeleteAllMessagesHavingSameBlobContent . Here it fails, it doesn't work anymore. I guess maybe because same blob content message used to have the same blobId, but maybe here with the different time prefix, it's not the case? Is that case still relevant or not with this new design is what I'm wondering |
Replacing #2899