-
Notifications
You must be signed in to change notification settings - Fork 272
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
remove catch_unwind around the rust query planner
Since we are now confident in rust query planner's implementation, we no longer need to catch_unwind when planning an operation in Rust.
- Loading branch information
Showing
3 changed files
with
33 additions
and
53 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
|
||
### Remove catch_unwind wrapper around the native query planner ([PR #6396](https://github.com/apollographql/router/pull/6396)) | ||
|
||
As part of internal maintenance of the query planner, we are removing the | ||
catch_unwind wrapper around the native query planner. This wrapper was used as | ||
an extra safeguard for potential panics the native planner could produce. The | ||
native query planner no longer has any code paths that could panic. We have also | ||
not witnessed a panic in the last four months, having processed 560 million real | ||
user operations through the native planner. | ||
|
||
This maintenance work also removes backtrace capture for federation errors which | ||
was used for debugging and is no longer necessary as we have the confidence in | ||
the native planner's implementation. | ||
|
||
By [@lrlna](https://github.com/lrlna) in https://github.com/apollographql/router/pull/6396 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters