Skip to content

fix: remove unused DmlBatch span#3147

Merged
rahul2393 merged 1 commit intomainfrom
do-not-create-dml-batch-span
Jun 21, 2024
Merged

fix: remove unused DmlBatch span#3147
rahul2393 merged 1 commit intomainfrom
do-not-create-dml-batch-span

Conversation

@olavloite
Copy link
Collaborator

The DmlBatch span that was created for DML batches was never used, as all traces were registered on the underlying transaction of the batch. The DmlBatch span was therefore always just an empty sibling span of the Transaction span, which did contain the traces of the statements that were executed.

The DmlBatch span that was created for DML batches was never used,
as all traces were registered on the underlying transaction of the
batch. The DmlBatch span was therefore always just an empty
sibling span of the Transaction span, which did contain the traces
of the statements that were executed.
@olavloite olavloite requested a review from a team June 7, 2024 10:21
@product-auto-label product-auto-label bot added size: s Pull request size is small. api: spanner Issues related to the googleapis/java-spanner API. labels Jun 7, 2024
@olavloite olavloite requested a review from rahul2393 June 7, 2024 10:22
@rahul2393 rahul2393 merged commit f7891c1 into main Jun 21, 2024
@rahul2393 rahul2393 deleted the do-not-create-dml-batch-span branch June 21, 2024 03:38
surbhigarg92 pushed a commit to surbhigarg92/java-spanner that referenced this pull request Jul 3, 2024
The DmlBatch span that was created for DML batches was never used,
as all traces were registered on the underlying transaction of the
batch. The DmlBatch span was therefore always just an empty
sibling span of the Transaction span, which did contain the traces
of the statements that were executed.
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: s Pull request size is small.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants