Ticket #1484074 (closed Bugs: fixed)
Large cache miss ratio due to duplicate UIDs
| Reported by: | patrys | Owned by: | |
|---|---|---|---|
| Priority: | 5 | Milestone: | 0.1-rc1 |
| Component: | Database | Version: | 0.1-beta2 |
| Severity: | critical | Keywords: | |
| Cc: |
Description
Roundcube uses a pair of (uid, cache_key) as the uniqueness enforcer in the messages table. Some systems (exim + courier-imap here) do not guarantee global UID uniqueness, UIDs are only unique per mailbox.
Since RC checks for the user_id match anyway, I was able to temporarily fix it (large numbers of DB Error: Already exists) by adding user_id as the third column to the UNIQUE key.
Change History
Note: See
TracTickets for help on using
tickets.
