[Dovecot] Maildirs location migration

Timo Sirainen tss at iki.fi
Thu Apr 11 13:09:18 EEST 2013


On 11.4.2013, at 13.07, Thomas Hummel <hummel at pasteur.fr> wrote:

>> It doesn't matter if new connections arrive during the final dsync,
>> because they are using the new format already. dsync merges changes, it
>> doesn't destroy any changes.
> 
> It doesn't destroy changes but the user may see an incorrect state for a small
> amount of time, doesn't he ?

For a small amount of time, yes.

> For instance (using dsync to change Maildir location from file1 to filer2) :
> 
>  . Maildir in source : message tagged as New
>  . initial dsync
>  . user read the message in the source, message is now tagges as Read
>  . switch user to Maildir in destination
>  . kick user
>  . user reconnects and sees, in destination, the message he just read tagged
>    as New as long as the final dsync is not finished
> 
> ?

Which is probably a few seconds, so I don't see this as much of a problem.



More information about the dovecot mailing list