> > The update on the index file to clean up the
> zero-share-count expunged
> > message can be deferred until some process gets an
> exclusive lock on it.

Does this not completely nullify any advantage of using message indexes
over UID's.

If I have two processes, one of which has expunged and one of which has
not, they will have different indexes for messages above the expunge
point.

Say I have 50 messages, message 25 is marked as deleted
Process A does a fetch on all of them, while process B does an expunge
Process A can still see all 50 messages
Process B can only see 49 messages (process B message 25 is Process A
message 26)
Thus any attempt to access a message via the index for either A or B
must result in a count into the index file, skipping those that are
expunged. Surly this makes it no better than a UID? In fact its worse as
every Process must keep its own map of message indexes.


Regards

Richard Bang
Floosietek Ltd
[EMAIL PROTECTED]
http://www.floosietek.com



Reply via email to