Homekolab.org

Compress pendingdata

Authored by mollekopf on Jan 7 2021, 4:02 PM.

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

Committed
mollekopfJan 19 2021, 1:41 PM
Pushed
mollekopfJan 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