Skip to content

Upgrade oban - #6650

Merged
zoldar merged 2 commits into
masterfrom
upgrade-oban
Sep 7, 2026
Merged

zoldar merged 2 commits into
masterfrom
upgrade-oban

Conversation

@aerosol

@aerosol aerosol commented Sep 7, 2026

Copy link
Copy Markdown
Member

https://oban.hexdocs.pm/2.23.1/changelog.html#bug-fixes

[Peer] Scope lease renewal to the owning node

Leadership renewal matched the peers row by name alone, so a node that lost its lease renewed whichever row it found and concluded it was still the leader. The belief never corrected, letting a second node run Cron and insert duplicate jobs until restart.

Renewal is now scoped to the row's owner, so a peer that lost the lease demotes at the next election. Failed elections concede leadership rather than retaining it, and no longer crash the peer.

@aerosol
aerosol requested a review from a team September 7, 2026 10:33
@zoldar zoldar added the preview label Sep 7, 2026
@github-actions

github-actions Bot commented Sep 7, 2026

Copy link
Copy Markdown
Preview environment👷🏼‍♀️🏗️
PR-6650

@zoldar

zoldar commented Sep 7, 2026

Copy link
Copy Markdown
Contributor

Removed migration because CI won't allow it. The migration will be released after the bump. Given the migration contents (the only enum addition in the schema applies to Oban Pro feature), it's safe to do.

@zoldar
zoldar enabled auto-merge September 7, 2026 11:23
@zoldar
zoldar added this pull request to the merge queue Sep 7, 2026
Merged via the queue into master with commit c451ef6 Sep 7, 2026
23 checks passed
@zoldar
zoldar deleted the upgrade-oban branch September 7, 2026 11:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants