Intermittent failures with duplicate suppression?

Rob Siemborski rjs3 at andrew.cmu.edu
Wed Apr 7 11:51:22 EDT 2004


On Tue, 6 Apr 2004, Michael Sims wrote:

> Sorry to followup to my own post, but I have an additional question to
> whoever may have the answer.  Does Cyrus exclusively lock the deliver
> database on each delivery (when using skiplist)?  In other words, if two
> messages with the same Message-ID come in nearly simultaneously (as close to
> simultaneous as possible), is it possible for them to slip through the
> duplicate check, or will the second message be forced to wait until the
> first one has updated the delivery database before it can query it?\

Yes, there is a race here.  I think otherwise we'd be holding locks on the
duplicate delivery database for some amount of time (in order to assure
that no mail is lost because it is marked, but not delivered -- in the
event of a crash).

-Rob

-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Rob Siemborski * Andrew Systems Group * Cyert Hall 207 * 412-268-7456
Research Systems Programmer * /usr/contributed Gatekeeper

---
Home Page: http://asg.web.cmu.edu/cyrus
Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html




More information about the Info-cyrus mailing list