Skip to content

chore(spanner): add missing commit ts logging#13036

Open
skuruppu wants to merge 1 commit intogoogleapis:mainfrom
skuruppu:spanner-empty-commit-ts-logging
Open

chore(spanner): add missing commit ts logging#13036
skuruppu wants to merge 1 commit intogoogleapis:mainfrom
skuruppu:spanner-empty-commit-ts-logging

Conversation

@skuruppu
Copy link
Copy Markdown
Contributor

@skuruppu skuruppu commented May 8, 2026

If the commit timestamp is missing from a commit response, we can have more visibility into the state of the commit by looking at whether it's in the commit-retry phase or not.

@skuruppu skuruppu requested review from a team as code owners May 8, 2026 03:52
Copy link
Copy Markdown
Contributor

@gemini-code-assist gemini-code-assist Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request enhances error reporting and logging in TransactionRunnerImpl.java when a commitTimestamp is missing, specifically tracking precommit tokens and retry attempts. However, the current implementation contains several API usage errors where span.addAnnotation and txnLogger.log are called with multiple string arguments instead of a single concatenated string, which will cause compilation or logging failures.

If the commit timestamp is missing from a commit response, it would be
good to have more visibility into the state of the commit by looking at
whether it's in the commit-retry phase or not.
@skuruppu skuruppu force-pushed the spanner-empty-commit-ts-logging branch from 914c3e2 to cb9aceb Compare May 8, 2026 04:03
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