refactor(telemetry): avoid backtrace in TrackingId::from_meta_store
error
#9042
Labels
component/meta
Meta related issue.
difficulty/simple
Issues that relatively easy and friendly to newcomers.
type/enhancement
Improvements to existing implementation.
Milestone
Capturing a backtrace may segfault on Apple silicon #6205. We are still not able to find the root cause and fix it. In most cases, the issue would disappear after some random code change, usually in the next commit.
However, as another layer of safeguard, we should try to avoid capturing unnecessary backtrace, especially when the error is recoverable. This is the case for
TrackingId::from_meta_store
. The function can return anOption
or a custom error type rather thananyhow::Error
.risingwave/src/meta/src/telemetry.rs
Lines 61 to 68 in 36dd239
This has caused #9038, although it is not blocking the latest commit, as explained above.
The text was updated successfully, but these errors were encountered: