-
-
Notifications
You must be signed in to change notification settings - Fork 259
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
Attachment store optimisations #3
Comments
Something that needs be solved first are too large indexed arrays. If there's a lot of messages that include the same attachment then the |
Removed extra fields from attachment metadata that are not needed with 8c7cedc |
Instead of messages array store referenced message count as the attachment id is stored in mail document anyway |
Attachments are deduplicated from v1.0.33. Deduplication key is a sha256 hash field. Existing md5 is not used. |
Currently attachments stored in GridStore can not be shared between different messages because these contain message specific metadata. The only metadata that should remain should be:
When storing new attachments the server should try to find an existing attachment first
This would assume a compound index on md5+length
The text was updated successfully, but these errors were encountered: