sorentwo/oban

`FunctionClauseError` in `Registry.keys/2`

Closed this issue · 2 comments

Environment

  • PostgreSQL Version: 13.2
  • Elixir: 1.16.1 (compiled with Erlang/OTP 26)
  • Erlang: 26.0.2
  • Oban:

CleanShot 2024-03-26 at 13 09 40@2x

Current Behavior

We got a few FunctionClauseErrors whose stacktrace is completely Oban. We might be doing something wrong, but I thought I'd check in anyway 😉

Here is the stacktrace:

CleanShot 2024-03-26 at 13 11 06@2x

Did this happen during shutdown? The issue is that Oban.Met is linked to the Oban supervisor process, but it doesn't stop quickly enough. You can avoid this by adding Oban.Met to the list of plugins and disabling auto-start with config :oban_met, auto_start: false.

We'll look at a better way to handle linked shutdown.

Fantastic @sorentwo thank you! Lookinng forward to a release.