Skip to content

Add tracing to the transaction manager

This commit adds distributed tracing support to the WAL transaction manager. Each transaction spans three stages: preparation, committing (to be logged to wAL), and application. The first two stages could be scoped by RPCs. The last stage is handled by a long-running goroutine. Hence, we ignore the last stage at the moment.

Result

Enabling Jaeger in the local environment, we gather the following results:

Read-only transaction Mutating transaction
Screenshot_2024-03-20_at_16.26.52 Screenshot_2024-03-20_at_16.35.46

Merge request reports