From: James Leifer <James.Leifer@inria.fr>
Subject: Re: concurrent synchronization of nnmaildir directories
Date: Tue, 09 Dec 2003 22:10:02 +0100 [thread overview]
Message-ID: <r77fzftg0k5.fsf@muscadet.inria.fr> (raw)
In-Reply-To: <m3smjt3g6u.fsf@multivac.cwru.edu> (Paul Jarc's message of "Tue, 09 Dec 2003 15:10:27 -0500")
prj@po.cwru.edu (Paul Jarc) writes:
(snipping liberally)
>> * Modify the marks of an existing message, i.e. add and delete entries
>> in foo/.nnmaildir/marks/{read,reply,...}
>
> Safe.
Paul, thanks for your reply.
Let me clarify this last point...
Suppose a message uniq has the set of flags F when the group is
opened.
Suppose in gnus I add the set of the flags X0 and remove the set Y0.
Now, when nnmaildir flushes its state, it will change the on-disc flag
set to
F \ Y0 U X0
(using \ for set difference and U for set union). Suppose instead
that before it flushes its state, an external program adds the set of
flags X1 and removes the set Y1, leaving the state on disc
F \ Y1 U X1
Now what will nnmaildir do when it flushes its changes? The reason I
ask is as follows: some of the flags it would normally delete (in Y0)
are no longer there on disc; others it would add (in X0) are already
there.
Warm regards,
-James
P.S. If you get a chance, could you have a look at my
performance/design question concerning constant messages
(http://article.gmane.org/gmane.emacs.gnus.general/55114/)?
next prev parent reply other threads:[~2003-12-09 21:10 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-12-06 13:10 James Leifer
2003-12-09 20:10 ` Paul Jarc
2003-12-09 21:10 ` James Leifer [this message]
2003-12-09 21:14 ` Paul Jarc
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=r77fzftg0k5.fsf@muscadet.inria.fr \
--to=james.leifer@inria.fr \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).