Ignore errors on pgb-notify failure
Merge request reports
Activity
added Pick into Stable label
assigned to @twk3
I'm not 100% sure this is the right way.
In a non-HA setup, this shouldn't error.
In an HA setup, if consul or the database isn't ready yet, this will error. I could move the call to
consul::enable
ingitlab-ee::default
earlier, but there still isn't a guarantee really that everything will be ok.I'm not keen on conditionally ignoring the error, but I haven't ruled it out.
@ibaum Did you forget to push the branch? This MR is empty.
assigned to @ibaum
added 1 commit
- 47a74da1 - Update pgbouncer notification to not stop on failure
@marin Sigh, yes I did.
assigned to @twk3
@ibaum instead of ignoring the failure, could we instead use an only_if call that checks that the database is ready?
@twk3 Yes we could, thanks. I like that approach better.
@ibaum I notice, unlike some of our other services, we aren't explicitly calling start on pgbouncer after we setup the runit service. Is this intentional? Would starting it first have helped to solve this problem as well?
added 1 commit
- 0d24e417 - Add call to start pgboucner on configuration
- Resolved by Ian Baum
assigned to @ibaum
assigned to @twk3
assigned to @marin
Wow, this MR is in a very weird state. MR is merged so I don't know why this is showing an empty state. /cc @smcgivern