Skip to content

[8.x] Log stack traces on data nodes before they are cleared for transport (#125732)#126243

Merged
benchaplin merged 4 commits intoelastic:8.xfrom
benchaplin:backport/8.x/pr-125732
Apr 4, 2025
Merged

[8.x] Log stack traces on data nodes before they are cleared for transport (#125732)#126243
benchaplin merged 4 commits intoelastic:8.xfrom
benchaplin:backport/8.x/pr-125732

Conversation

@benchaplin
Copy link
Contributor

Backport

This will backport the following commits from main to 8.x:

Questions ?

Please refer to the Backport tool documentation

…lastic#125732)

We recently cleared stack traces on data nodes before transport back to the coordinating node when error_trace=false to reduce unnecessary data transfer and memory on the coordinating node (elastic#118266). However, all logging of exceptions happens on the coordinating node, so stack traces disappeared from any logs. This change logs stack traces directly on the data node when error_trace=false.
@benchaplin benchaplin merged commit 33fa8c6 into elastic:8.x Apr 4, 2025
15 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

3 participants