Skip to content

Conversation

@olavloite
Copy link
Collaborator

Add a wait for the BatchCreateSessions span, as that operation is executed asynchronously, and is not guaranteed to have finished when the transaction finishes. The reason for this is that the transaction only needs 1 session, while the operation creates 4 sessions, and the operation only finishes once all 4 sessions have been created.

Fixes #3152

Add a wait for the BatchCreateSessions span, as that operation
is executed asynchronously, and is not guaranteed to have finished
when the transaction finishes. The reason for this is that the
transaction only needs 1 session, while the operation creates 4
sessions, and the operation only finishes once all 4 sessions
have been created.

Fixes #3152
@olavloite olavloite requested a review from rahul2393 June 10, 2024 09:00
@olavloite olavloite requested a review from a team as a code owner June 10, 2024 09:00
@product-auto-label product-auto-label bot added size: xs Pull request size is extra small. api: spanner Issues related to the googleapis/java-spanner API. labels Jun 10, 2024
@rahul2393 rahul2393 merged commit 9763974 into main Jun 18, 2024
@rahul2393 rahul2393 deleted the issue-3152 branch June 18, 2024 05:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

api: spanner Issues related to the googleapis/java-spanner API. size: xs Pull request size is extra small.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

OpenTelemetrySpanTest.transactionRunner is flaky with multiplexed sessions

2 participants