Skip to content

chore(x-goog-spanner-request-id): more updates for feature completion: WIP #3915

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

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

odeke-em
Copy link
Contributor

Plumbs more updates so as to get to feature completion.

@odeke-em odeke-em requested review from a team as code owners June 12, 2025 08:09
@product-auto-label product-auto-label bot added size: l Pull request size is large. api: spanner Issues related to the googleapis/java-spanner API. labels Jun 12, 2025
@odeke-em odeke-em force-pushed the plumbing2+enforcemenet branch from c6c2c74 to 214ad86 Compare June 12, 2025 08:10
@odeke-em odeke-em force-pushed the plumbing2+enforcemenet branch from 214ad86 to b8d897d Compare June 22, 2025 21:31
odeke-em added a commit to odeke-em/java-spanner that referenced this pull request Jun 22, 2025
…s prior code review suggestions

This change propagates the associated request-id into encountered
exceptions and also addresses some code review questions from PR googleapis#3900.
While here added some updates for AbstractReadContext.java and
ResumableStreamIterator.java to set grounds for much smaller PRs
in which we shall wholesomely test the changes.

Curved out of PR googleapis#3898 and PR googleapis#3915
odeke-em added a commit to odeke-em/java-spanner that referenced this pull request Jun 22, 2025
…s prior code review suggestions

This change propagates the associated request-id into encountered
exceptions and also addresses some code review questions from PR googleapis#3900.
While here added some updates for AbstractReadContext.java and
ResumableStreamIterator.java to set grounds for much smaller PRs
in which we shall wholesomely test the changes.

Curved out of PR googleapis#3898 and PR googleapis#3915
odeke-em added a commit to odeke-em/java-spanner that referenced this pull request Jun 23, 2025
…s prior code review suggestions

This change propagates the associated request-id into encountered
exceptions and also addresses some code review questions from PR googleapis#3900.
While here added some updates for AbstractReadContext.java and
ResumableStreamIterator.java to set grounds for much smaller PRs
in which we shall wholesomely test the changes.

Curved out of PR googleapis#3898 and PR googleapis#3915
odeke-em added a commit to odeke-em/java-spanner that referenced this pull request Jun 23, 2025
…s prior code review suggestions

This change propagates the associated request-id into encountered
exceptions and also addresses some code review questions from PR googleapis#3900.
While here added some updates for AbstractReadContext.java and
ResumableStreamIterator.java to set grounds for much smaller PRs
in which we shall wholesomely test the changes.

Curved out of PR googleapis#3898 and PR googleapis#3915
odeke-em added a commit to odeke-em/java-spanner that referenced this pull request Jun 26, 2025
…s prior code review suggestions

This change propagates the associated request-id into encountered
exceptions and also addresses some code review questions from PR googleapis#3900.
While here added some updates for AbstractReadContext.java and
ResumableStreamIterator.java to set grounds for much smaller PRs
in which we shall wholesomely test the changes.

Curved out of PR googleapis#3898 and PR googleapis#3915
olavloite pushed a commit that referenced this pull request Jun 27, 2025
…s prior code review suggestions (#3922)

* chore(x-goog-spanner-request-id): propagate reqId into exceptions plus prior code review suggestions

This change propagates the associated request-id into encountered
exceptions and also addresses some code review questions from PR #3900.
While here added some updates for AbstractReadContext.java and
ResumableStreamIterator.java to set grounds for much smaller PRs
in which we shall wholesomely test the changes.

Curved out of PR #3898 and PR #3915

* Update tests with session.getRequestIdCreator

* More plumbing

* Update tests

* Deal with the multiplex-session .getOptions null returns in getChannel

* Correct array copy
@odeke-em odeke-em force-pushed the plumbing2+enforcemenet branch 2 times, most recently from b1b5b3e to 35882d8 Compare June 27, 2025 22:52
odeke-em added 2 commits June 28, 2025 19:56
…tries + aborts

Updates googleapis#3537

chore(x-goog-spanner-request-id): add BeginTransaction+ResumableStreamIterator

Plumbs x-goog-spanner-request-id into BeginTransaction and
ResumableStreamIterator and for PartitionedDmlTransaction.

Updates googleapis#3537

Get more tests reveal needs for plumbing

Add requestId to PartitionQuery + PartitionRead

Propagate requestId into some more SpannerException values

Use session.getChannel() and assert for results

More debugging + fix up sorting comparator

Fix more channelId TODOs

Fix up withNthRequest for deterministic checks for BatchCreateSessions

More retrofits

More updates for tests

More validity checks

Add debugs to assert behavior of outgoing headers
@odeke-em odeke-em force-pushed the plumbing2+enforcemenet branch from cffb030 to 32ff677 Compare June 29, 2025 02:56
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: l Pull request size is large.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant