-
Notifications
You must be signed in to change notification settings - Fork 132
fix(l1): remove duplicate span.entered() call in apply_updates #4970
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR removes a duplicate tracing span entry in the apply_updates function. The removed span.entered() call was redundant, causing the same tracing span to be entered twice unnecessarily.
- Removed duplicate
tracing::trace_span!("Block DB update").entered()call
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
| ], | ||
| )?; | ||
|
|
||
| let _span = tracing::trace_span!("Block DB update").entered(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Note that before calling open_cfs there's another line like this.
Lines of code reportTotal lines added: Detailed view |
Motivation
Some of the numbers we get from grafana seem to be weird. This might have been caused by a duplicate span that was created in
apply_updates. I suspect it was from a git conflict that was solved erroneously.Description
This PR removes a duplicate span
entered()call.