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

Lazily generate UUIDs for AR transactions #51949

Merged
merged 1 commit into from
May 30, 2024
Merged

Lazily generate UUIDs for AR transactions #51949

merged 1 commit into from
May 30, 2024

Conversation

fxn
Copy link
Member

@fxn fxn commented May 30, 2024

This patch introduces UUIDs for transaction objects.

These are computed lazily because the only use cases I can think of are related to tracing database activity, which is rare.

As an edge case, null transactions have a nil UUID.

@fxn fxn merged commit 95eaf4b into 7-2-stable May 30, 2024
4 of 5 checks passed
@fxn fxn deleted the fxn/trx-uuid branch May 30, 2024 11:23
@rafaelfranca
Copy link
Member

Did you apply this to the main branch?

@fxn
Copy link
Member Author

fxn commented May 30, 2024

Yes!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants