HomePhorge

Compress pendingdata

Description

Compress pendingdata

Summary:
pendingdata can potentially be rather large. Because all entries are of
the form $collectionId:$uid, we also have a lot of duplication in the
string.

Large entries are problematic beause with ~50k messages we already reach
the mysql max_allowed_packet size of 1MB. Simply compressing that string
imrpoves the situatin drastically.

We allow decompression to fail for backwards comaptiblity (works because
of decompression checks for the relevant headers).

Differential Revision: https://git.kolab.org/D2062

Details

Provenance
mollekopfAuthored on Jan 7 2021, 3:02 PM
mollekopfPushed on Aug 21 2023, 6:45 PM
Parents
R4:5463154459b9: Bump collectionChanges even if we failed to retrieve the entry.
Branches
Unknown
Tags
Unknown

Event Timeline