-
Couldn't load subscription status.
- Fork 287
Closed
Milestone
Description
We currently have a few optimizations and changes that are potentially problematic to apply on a production instance because adding columns and indices to large tables is slow and web updates could therefore run into a timeout. This is a meta ticket to track all of those changes so we can do them in one go, to avoid resetting the cache too often.
- New indices Possible indexes #4466
- Primary keys to big int Change column types for mail_messages and mail_recipients primary keys to BIGINT #4664
- Message parse error flag Truncate email addresses that are more than 244 characters long #4708
A prerequisite for the cache reset is that we lose as little data as important.
- Store new flag_important always on IMAP if the server supports it
- Possibly use new tagging feature/table Add tagging to messages #4665 to restore importance and other flags for servers that don't allow arbitrary tags/flags