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, 4:02 PM
mollekopfPushed on Jan 19 2021, 1:41 PM
Differential Revision
D2062: Compress pendingdata
Parents
rS5463154459b9: Bump collectionChanges even if we failed to retrieve the entry.
Branches
Unknown
Tags
Unknown
Build Status
Buildable 32782