Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mise à jour Oban à 2.18.3 #4407

Merged
merged 1 commit into from
Dec 27, 2024
Merged

Mise à jour Oban à 2.18.3 #4407

merged 1 commit into from
Dec 27, 2024

Conversation

AntoineAugusti
Copy link
Member

@AntoineAugusti AntoineAugusti commented Dec 27, 2024

Upgraded:
  decimal 2.2.0 => 2.3.0
  oban 2.18.0 => 2.18.3
* Updating decimal (Hex package)
* Updating oban (Hex package)
You have added/upgraded packages you could sponsor, run `mix hex.sponsor` to learn more

2.18.3

[Queue] Link the dynamic queue supervisor and Midwife for automatic restarts.

When a producer crashes it brings the queue's supervisor down with it. With enough database errors, the producer may crash repeatedly enough to exhaust restarts and bring down the DynamicSupervisor in charge of all queues.

Now the supervisor is linked to the midwife to ensure that the midwife restarts as well, and it restarts all of the queues.

2.18.1

[Repo] Automatically retry all transactions with backoff.

Avoid both expected and unexpected database errors by automatically retrying transactions. Some operations, such as serialization and lock not available errors, are likely to occur during standard use depending on how a database is configured. Other errors happen infrequently due to pool contention or flickering connections, and those should also be retried for increased safety.

Changelogs

(initially generated with elixir generate_deps_changelogs.exs)

@AntoineAugusti AntoineAugusti requested a review from a team as a code owner December 27, 2024 11:18
Copy link
Contributor

@thbar thbar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ça semble bien bien intéressant.

J'ai noté aussi dans le changelog des updates intéressantes dans 2.18.2:

Bump the base transaction retry from 100ms to 500ms, and increase linearly between each
successive attempt to provide deeper backoff. This alleviates pressure on smaller connection
pools and gives more time to recover from contentions failures.

@AntoineAugusti ça se tente je pense, bien vu.

@thbar thbar changed the title Bump Oban to 2.18.3 Mise à jour Oban à 2.18.3 Dec 27, 2024
@thbar thbar added this pull request to the merge queue Dec 27, 2024
Merged via the queue into master with commit 0e5c479 Dec 27, 2024
4 checks passed
@thbar thbar deleted the oban_v2.18.3 branch December 27, 2024 14:07
@AntoineAugusti
Copy link
Member Author

En lien avec #4406 #4384

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants