VM

vm-imap-retrieved-messages for IMAP folders

Bug #904618 reported by Uday Reddy
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
VM
Triaged
Medium
Uday Reddy

Bug Description

Are vm-imap-retrieved-messages used only for IMAP spool files, or are they also used for IMAP folders? This needs to be clarified.

They seem to be currently being used for IMAP folders as well, and they may be growing needlessly.

See Bug 671940 for the corresponding bug report for IMAP spool files.

Tags: imap
Revision history for this message
Uday Reddy (reddyuday) wrote :

Running vm-prune-imap-retrieved (at work) pruned 13661 entries. Now, only 4 entries left, even though there 859 messages in the folder.

Let us watch if this grows.

Revision history for this message
Uday Reddy (reddyuday) wrote :

Entries were added to `vm-imap-retrieved-messages' recently (14 Dec). So, it is very much being used in IMAP folder code.

A search shows it being used in `vm-imap-get-synchronization-data' and `vm-imap-expunge-remote-messages'.

Revision history for this message
Uday Reddy (reddyuday) wrote :

According to the Internals section of the manual, only the messages that are expunged in cache, but not known to be expunged on the server, are listed in this list.

How does the list get updated?

Revision history for this message
Uday Reddy (reddyuday) wrote :

Full synchronization is not clearing the redundant entries in vm-imap-retrieved-list. This is a bug.

Uday Reddy (reddyuday)
Changed in vm:
milestone: 8.2.0 → 8.2.1
Revision history for this message
Uday Reddy (reddyuday) wrote :

After noticing that saving folders was taking an unduly long time, I narrowed down the problem to vm-stuff-imap-retrieved-list in an IMAP folder with about 2000 messages. Running `vm-prune-imap-retrieved-list' reported that 5389 messages were pruned. But the folder only had 2800 messages. So, a lot of old junk is being retained, slowing down the folder saving.

Changed in vm:
milestone: 8.2.90a → 8.2.0b1
importance: Low → Medium
Uday Reddy (reddyuday)
Changed in vm:
milestone: 8.2.0b1 → 8.2.0
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.