Skip to content

Commit 6ac0c64

Browse files
authored
Merge pull request #119 from Ladicek/smallrye-fault-tolerance-6.9.1
SmallRye Fault Tolerance 6.9.1 release announcement
2 parents a787a19 + 82f89c1 commit 6ac0c64

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
:page-layout: post
2+
:page-title: Fault Tolerance 6.9.1
3+
:page-synopsis: SmallRye Fault Tolerance 6.9.1 released!
4+
:page-tags: [announcement, microprofile]
5+
:page-date: 2025-04-23 08:00:00.000 +0100
6+
:page-author: lthon
7+
:smallrye-ft: SmallRye Fault Tolerance
8+
:microprofile-ft: MicroProfile Fault Tolerance
9+
10+
= Fault Tolerance 6.9.1
11+
12+
Today, we announce the https://github.com/smallrye/smallrye-fault-tolerance/releases/tag/6.9.1[release] of {smallrye-ft} 6.9.1.
13+
This release contains an important bugfix.
14+
15+
After the link:/blog/fault-tolerance-6-7-0[big async rewrite], the retry strategy used recursion to implement a loop even in the synchronous case.
16+
That is wrong, because it may easily lead to a stack overflow error in case of a high number of retry attempts.
17+
This bug is now fixed.
18+
The internal `Future` type has gained a dedicated `loop()` method to implement `while` loops.
19+
The implementation is structured so that recursion is used for asynchronous iterations, while classic loop is used for synchronous iterations.
20+
In other words, it is a "just enough" implementation of trampolines.
21+
Thanks Maxuel Macavilca Montjoy for the issue report!
22+
23+
Also, with this release, the portable extension in {smallrye-ft} ignores synthetic methods.
24+
This means they are not intercepted anymore by the fault tolerance interceptor.
25+
The Quarkus extension for {smallrye-ft} has already been ignoring synthetic methods for a long time; now all the other CDI Full based implementations work similarly.
26+
27+
As usual, if you have any ideas for improvements, please https://github.com/smallrye/smallrye-fault-tolerance/issues[file an issue]!

0 commit comments

Comments
 (0)