Closed
Bug 440219
Opened 16 years ago
Closed 16 years ago
deleted imap messages reappear and disappear rapidly
Categories
(MailNews Core :: Backend, defect)
MailNews Core
Backend
Tracking
(Not tracked)
RESOLVED
FIXED
mozilla1.9
People
(Reporter: Bienvenu, Assigned: Bienvenu)
Details
Attachments
(1 file)
6.79 KB,
patch
|
neil
:
review+
neil
:
superreview+
|
Details | Diff | Splinter Review |
David Ascher reported this, Emre was able to reproduce something similar, and I can reproduce it this way: hide the message pane select an imap folder delete a bunch of messages by holding down the delete key let go of the delete key You'll see the deleted messages reappear and then disappear. The issue is that when we connect to the imap server and try to sync the folder, we check for messages that were "offline deleted", i.e., have offline delete ops in the database. But if the offline playback has started for those messages, they're removed from the database, so there's a window where the header is not in the db, but the delete hasn't happened on the server. This is because offline operations are removed/cleared when playback starts. I'm going to submit a patch that postpones the removal of the offline ops until the operation has actually finished on the server. This will allow us to better handle failures playing back offline operations (though we run the risk of getting "stuck" with an offline operation - which is a bit scary)
Attachment #325670 -
Flags: superreview?(neil)
Attachment #325670 -
Flags: review?(neil)
Updated•16 years ago
|
Attachment #325670 -
Flags: superreview?(neil)
Attachment #325670 -
Flags: superreview+
Attachment #325670 -
Flags: review?(neil)
Attachment #325670 -
Flags: review+
Assignee | ||
Comment 1•16 years ago
|
||
fix checked in.
Status: NEW → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
Updated•16 years ago
|
OS: Windows XP → All
Hardware: PC → All
Target Milestone: --- → mozilla1.9
Updated•16 years ago
|
Product: Core → MailNews Core
You need to log in
before you can comment on or make changes to this bug.
Description
•