-
Notifications
You must be signed in to change notification settings - Fork 3.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
59370: tracing: guardrail against memory leaks r=knz a=tbg tracing: limit number of direct children In #59347 we saw an OOM due to more and more children being registered with a long-running trace Span (held open by a raft scheduler worker goroutine). This commit adds a simple guardrail: no more than 1000 spans can be registered directly with a single parent; any in excess are simply not registered at all. Fixes #59347. Fixes #59355. Fixes #59344. Release note: None Co-authored-by: Tobias Grieger <[email protected]>
- Loading branch information
Showing
3 changed files
with
28 additions
and
3 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
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