Re: Thunderbird question

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, 2015-07-05 at 13:38 -0700, Gordon Messmer wrote:
> On 07/05/2015 01:23 PM, Joe Zeff wrote:
> > Not so.  The message is still there, but it's marked in the index 
> > as
> > deleted.  The file isn't re-written until it's compacted.
> 
> I know.  And that reduced the frequency of the re-write somewhat, but 
> it 
> doesn't change it fundamentally.  Removing a message from a folder 
> eventually requires that the entire folder data file be re-written, 
> and 
> that is usually when mbox files become corrupt.  If the index is 
> damaged, it'll become corrupt.  If the operation is interrupted, it 
> may 
> become corrupt.  mbox is a fairly fragile format, and one the scales 
> very poorly.

In every case I've seen, rewriting is done by concatenating all non
-deleted messages to a new mbox file, then replacing the original. The
last step is normally close to atomic, in fact it's safe to assume it
will be atomic if both files are on the same filesystem. YMMV if you
have more than one MUA writing to the same mbox concurrently.

poc
-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org



[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux