From: Rich Lane <rlane@club.cc.cmu.edu>
To: Mark Alexander <marka@pobox.com>
Cc: sup-devel <sup-devel@rubyforge.org>
Subject: Re: [sup-devel] [PATCH 2/2] Use nanosecond resolution of mtime for generating the unique id for each message
Date: Fri, 19 Mar 2010 17:17:50 -0400 [thread overview]
Message-ID: <1269032592-sup-2403@zyrg.net> (raw)
In-Reply-To: <1269030873-sup-4844@r61>
Excerpts from Mark Alexander's message of 2010-03-19 16:35:38 -0400:
> Excerpts from Michael Stapelberg's message of Fri Mar 19 15:47:53 -0400 2010:
> > Excerpts from Ben Walton's message of 2010-03-19 20:35:31 +0100:
> > > Isn't there a more portable solution?
> > There is: Rich mentioned that proper move/delete handling for maildirs also
> > solves the problem.
>
> I must have missed that message. What is the proposed solution?
> How does it solve the problem of out-of-order maildir IDs?
Notmuch implements this correctly. They essentially keep a sorted list
of mail filenames in the index and then iterate over that and the sorted
list of the filenames that are currently in the maildir to detect
inserts, deletes, and renames.
I just rebased and pushed a multiple-locations branch I've had sitting
around to mainline. It's probably buggy. It's been a while since I
thought about this problem, but I think keeping track of multiple
locations (source/source info) for a single message (identified by
message-id) should make the maildir logic simpler.
_______________________________________________
Sup-devel mailing list
Sup-devel@rubyforge.org
http://rubyforge.org/mailman/listinfo/sup-devel
next prev parent reply other threads:[~2010-03-19 21:22 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-03-19 15:36 Michael Stapelberg
2010-03-19 19:17 ` Mark Alexander
2010-03-19 19:27 ` Michael Stapelberg
2010-03-19 19:35 ` Ben Walton
2010-03-19 19:47 ` Michael Stapelberg
2010-03-19 20:05 ` Ben Walton
2010-03-19 21:02 ` Rich Lane
2010-03-19 20:35 ` Mark Alexander
2010-03-19 21:17 ` Rich Lane [this message]
2010-03-19 19:34 ` Eric Sherman
2010-03-19 19:46 ` Michael Stapelberg
2010-03-19 20:40 ` Eric Sherman
2010-03-19 21:04 ` Mark Alexander
2010-03-20 2:23 ` Mark Alexander
2010-03-22 11:30 ` Michael Stapelberg
2010-03-22 16:25 ` Ben Walton
2010-03-25 6:25 ` Tero Tilus
2010-03-22 17:00 ` Rich Lane
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=1269032592-sup-2403@zyrg.net \
--to=rlane@club.cc.cmu.edu \
--cc=marka@pobox.com \
--cc=sup-devel@rubyforge.org \
/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