Skip to content
This repository was archived by the owner on Mar 31, 2026. It is now read-only.

feat: Add support for multiplexed sessions#1332

Closed
rahul2393 wants to merge 6 commits intomainfrom
multiplexed-sessions
Closed

feat: Add support for multiplexed sessions#1332
rahul2393 wants to merge 6 commits intomainfrom
multiplexed-sessions

Conversation

@rahul2393
Copy link
Copy Markdown
Contributor

@rahul2393 rahul2393 commented Apr 4, 2025

  • Adds SessionOptions and DatabaseSessionManager class support multiplexed session in future work.
  • Update Client, Instance, Database, Session and associated Checkout classes accordingly.
  • Add unit tests for new classes and update those for existing classes.

Thank you for opening a Pull Request! Before submitting your PR, there are a few things you can do to make sure it goes smoothly:

  • Make sure to open an issue as a bug/issue before writing your code! That way we can discuss the change, evaluate designs, and agree on the general idea
  • Ensure the tests and linter pass
  • Code coverage does not decrease (if any source code was changed)
  • Appropriate docs were updated (if necessary)

Fixes #<issue_number_goes_here> 🦕

…es and refactoring) (#1329)

- Adds SessionOptions and DatabaseSessionManager class support multiplexed session in future work.
- Update Client, Instance, Database, Session and associated Checkout classes accordingly.
- Add unit tests for new classes and update those for existing classes.

Signed-off-by: currantw <taylor.curran@improving.com>
@rahul2393 rahul2393 requested review from a team April 4, 2025 06:52
@rahul2393 rahul2393 changed the title feat: Add support for multiplexed sessions - part 1 (supporting class… feat: Add support for multiplexed sessions Apr 4, 2025
@product-auto-label product-auto-label bot added size: xl Pull request size is extra large. api: spanner Issues related to the googleapis/python-spanner API. labels Apr 4, 2025
@rahul2393 rahul2393 added the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Apr 4, 2025
@yoshi-kokoro yoshi-kokoro removed the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Apr 4, 2025
currantw and others added 2 commits April 14, 2025 09:55
…ctions) (#1334)

- Enabled use of multiplexed sessions for read-only transactions
- Add maintenance threads for refreshing multiplexed sessions

Signed-off-by: currantw <taylor.curran@improving.com>
@rahul2393 rahul2393 added the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Apr 14, 2025
@yoshi-kokoro yoshi-kokoro removed the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Apr 14, 2025
@rahul2393 rahul2393 assigned rahul2393 and unassigned surbhigarg92 Apr 14, 2025
currantw and others added 3 commits April 29, 2025 00:16
…sactions) (#1342)

- Enable use of multiplexed sessions for partitioned transactions.
- Add handling for partitioned transaction exceptions.
- Add transaction type enumeration.

Signed-off-by: currantw <taylor.curran@improving.com>
@rahul2393 rahul2393 closed this Jul 2, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

api: spanner Issues related to the googleapis/python-spanner API. size: xl Pull request size is extra large.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants