Skip to content
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

Only create commit span on modifying transaction #23

Merged
merged 7 commits into from
Jun 17, 2024
Merged

Conversation

bonnefoa
Copy link
Collaborator

Commit on read only transaction is mostly a no-op and create more noise with possible 0ms duration spans. We're mostly interested in commit span that are possibly doing works like writing wal, fsync or waiting for a synchronous replicas.

@bonnefoa bonnefoa merged commit a5d40ae into main Jun 17, 2024
3 checks passed
@bonnefoa bonnefoa deleted the commit-readonly branch June 17, 2024 06:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant