On Sun, 9 Mar 2003, Andreas Aardal Hanssen wrote:

> On Fri, 7 Mar 2003, Charlie Brady wrote:
> >On Thu, 6 Mar 2003, Caskey L. Dickson wrote:
> >> > In nearly every real-life case, a uidvalidity file will be older than one
> >> > second when the server is asked to delete the associated folder. In the
> >> > very odd case that it is not, the server should wait until the next second
> >> > (i.e. less than one second), so that the uidvalidity file is "old", and
> >> > can be safely deleted.
> >> The idea of checking whether or not the folder's creation time is >= 'now'
> >>   and sleeping otherwise is an interesting one.
> >Andreas, do you have counter-arguments?
> 
> No, I think it's a great idea. As long as there is no race here with
> multiple clients creating and deleting the same mailbox, I will definitely
> go for this. I'm look at race conditions now.

I think this will be a subset of the set of race conditions to do with 
creating and deleting the mailbox.

There's two issues to decide here. One is whether old uidvality files can 
be deleted. The second, contingent on the first, is whether uidvalidty 
files can be contained inside the folders they relate to.

--
Charlie

Reply via email to