50 lines
2.1 KiB
Plaintext
50 lines
2.1 KiB
Plaintext
MBOX-Line: From jkt at flaska.net Mon Jan 5 08:48:28 2015
|
|
To: imap-protocol@u.washington.edu
|
|
From: =?iso-8859-1?Q?Jan_Kundr=E1t?= <jkt@flaska.net>
|
|
Date: Fri Jun 8 12:34:53 2018
|
|
Subject: [Imap-protocol]
|
|
=?iso-8859-1?q?Condstore=2C_Gmail_and_mod=5Fseq?=
|
|
In-Reply-To: <CAKtzAO6h+wgdvWAT1-56R06zxQr9+vEJB0VFWTS29u9t39CKrA@mail.gmail.com>
|
|
References: <CAKtzAO6+j26Z_uhfbQhisbqyzdO-hd=dgTWsQqK0YCJKhR+2GQ@mail.gmail.com>
|
|
<ab55b321-8cf0-46d5-9b7c-3747d77c6250@flaska.net>
|
|
<CAKtzAO6h+wgdvWAT1-56R06zxQr9+vEJB0VFWTS29u9t39CKrA@mail.gmail.com>
|
|
Message-ID: <c8f8021a-fd03-4691-9fb8-2cf24a403ad2@flaska.net>
|
|
|
|
(Replying back to list so that others can benefit from this discussion.)
|
|
|
|
On Monday, 5 January 2015 17:23:25 CEST, Daniel Pich? wrote:
|
|
> Thanks for the response.
|
|
> I'm asking if the mod_seq can become invalid at some point. For example, if
|
|
> UIDVALIDITY changes.
|
|
|
|
Yes, when UIDVALIDITY changes, all information which you have for that
|
|
mailbox is now invalid. That includes MODSEQs of individual messages, as
|
|
well as the HIGHESTMODSEQ of the mailbox, and many other things, including
|
|
message UIDs and (by extension of that) everything you might remember about
|
|
that mailbox.
|
|
|
|
> I.e. If we try to do a "CONDSTORE CHANGEDSINCE 123456" one year from now,
|
|
> will it still work? Or if something can make old mod_seq invalid.
|
|
|
|
If UIDVALIDITY is the same, then that call is guaranteed to never skip a
|
|
thing. It is however not required to only report back items which actually
|
|
changed for obvious reasons (the server-side storage is limited). You might
|
|
get back data about extra messages which actually have not changed since
|
|
then. The more often you sync, the lesser amount of false positives you're
|
|
going to get.
|
|
|
|
> We're using condstore to add collaboration and share messages between
|
|
> different accounts ( keeping.com ). Doing resyncs ("CONDSTORE CHANGEDSINCE
|
|
> 1") has become too costly since some accounts have hundred of thousands of
|
|
> messages.
|
|
|
|
What exactly are you syncing? Do you use QRESYNC? What operations (exactly)
|
|
are costly for you?
|
|
|
|
Cheers,
|
|
Jan
|
|
|
|
--
|
|
Trojit?, a fast Qt IMAP e-mail client -- http://trojita.flaska.net/
|
|
|