Re: Reactors vs. db.rollback()

Ralf Schlatterbeck <[email protected]>
Newsgroups gmane.comp.bug-tracking.roundup.user
Message-ID <[email protected]>
On Fri, Aug 06, 2021 at 02:03:06AM +0200, Nagy Gabor wrote:
> However, I noticed that the reactor is called from
> db.incoming.create(), so the reactor runs before db.commit() is even
> invoked.

Yes, this is a long-standing behaviour of Roundup. It can also happen
with the nosy reactor: If some other reactor throws an error *after* the
nosy reactor has sent the mail, the issue might still not be
created/modified.

I wouldn't really call this a bug, it's just how the reactor interface
currently works.

Ralf
-- 
Dr. Ralf Schlatterbeck                  Tel:   +43/2243/26465-16
Open Source Consulting                  www:   www.runtux.com
Reichergasse 131, A-3411 Weidling       email: [email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.