Re: Re: query about after commit hook

Jim Fulton <[email protected]>
Newsgroups gmane.comp.web.zope.zodb
Message-ID <CAPDm-FjZv0Eo71Dw8U3YD188bcYgeBu6+5ZxqGXQ73Sm4EOR8g@mail.gmail.com>
On Fri, May 20, 2016 at 3:16 AM, Sanjay Rao <[email protected]> wrote:
> IMO, after commit hooks are largely bug magnets that should be ignored
> by almost all users.
>
> Do you mean that we should not use "after-commit-hook" ???

I'm saying that it's a trap, with subtle opportunities to fail.  You
should fear and avoid it and only use it if you understand the danger.
In particular, your software design needs to consider how failure in
after commit hooks will impact your application and if/how they need
to be handled.

Jim

-- 
Jim Fulton
http://jimfulton.info

-- 
You received this message because you are subscribed to the Google Groups "zodb" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
For more options, visit https://groups.google.com/d/optout.
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.