Closed
Bug 345883
Opened 18 years ago
Closed 18 years ago
virtual folders with local folder body search keep mailbox files open
Categories
(MailNews Core :: Backend, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: Bienvenu, Assigned: Bienvenu)
Details
(Keywords: fixed1.8.1)
Attachments
(1 file)
3.12 KB,
patch
|
mscott
:
superreview+
mscott
:
approval-thunderbird2+
|
Details | Diff | Splinter Review |
If you set up a virtual folder that has a body search as one of its criteria (in my case, a cross folder virtual folder, but I don't think it matters), the local mail folder that is being searched will have its file held open if a message arrives in that folder and the body search is executed. This causes problems if you try to compact the folder, because the compact fails when it tries to rename the underlying mail folder, because someone has the file open. The underlying cause is that the search scope is holding onto an input stream to the mail folder. The fix is to set up the scope right before doing a search and destroy the scope right after. This will cause us to open and close the mail folder more than before, but we really shouldn't be holding the folder open.
Assignee | ||
Comment 1•18 years ago
|
||
Attachment #230593 -
Flags: superreview?(mscott)
Updated•18 years ago
|
Attachment #230593 -
Flags: superreview?(mscott)
Attachment #230593 -
Flags: superreview+
Attachment #230593 -
Flags: approval-thunderbird2+
Assignee | ||
Updated•18 years ago
|
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
•