-
Notifications
You must be signed in to change notification settings - Fork 132
feat: long running transaction clean up background task. Adding configuration options for closing inactive transactions. #2419
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
Merged
Merged
Changes from all commits
Commits
Show all changes
57 commits
Select commit
Hold shift + click to select a range
edc5bbf
fix: prevent illegal negative timeout values into thread sleep() meth…
arpan14 49a85df
Merge pull request #1 from arpan14/retryerror
arpan14 4cd497b
Fixing lint issues.
arpan14 4a6aa8e
Merge branch 'googleapis:main' into main
arpan14 b2aa09d
Merge branch 'googleapis:main' into main
arpan14 8d6d71e
Merge branch 'googleapis:main' into main
arpan14 34502d1
feat: long running transaction clean up background task. Adding confi…
arpan14 660cbcf
fix: linting issues and tests.
arpan14 82f9a09
fix: avoid refactoring existing tests.
arpan14 65a42f7
fix:lint issues and unit tests.
arpan14 d76b0b1
docs:adding documentation.
arpan14 fcf1565
fix:linting issues.
arpan14 7858d7c
Update google-cloud-spanner/src/main/java/com/google/cloud/spanner/Se…
arpan14 342eed8
Update google-cloud-spanner/src/main/java/com/google/cloud/spanner/Se…
arpan14 227dd27
Update google-cloud-spanner/src/main/java/com/google/cloud/spanner/Se…
arpan14 ab05e08
Update google-cloud-spanner/src/main/java/com/google/cloud/spanner/Se…
arpan14 3f07bf6
Update google-cloud-spanner/src/main/java/com/google/cloud/spanner/Se…
arpan14 cbc93e6
Update google-cloud-spanner/src/main/java/com/google/cloud/spanner/Se…
arpan14 5f36519
Update google-cloud-spanner/src/main/java/com/google/cloud/spanner/Se…
arpan14 cf5f8a3
Apply suggestions from code review
arpan14 3469bed
fix:comments on PR.
arpan14 c27eaa9
fix:rename variables.
arpan14 ded6d75
fix:variable name rename.
arpan14 b4b4033
Update google-cloud-spanner/src/main/java/com/google/cloud/spanner/Se…
arpan14 4423664
Revert "Update google-cloud-spanner/src/main/java/com/google/cloud/sp…
arpan14 a9da9dd
fix:variable name
arpan14 6239429
fix:removed lock.
arpan14 acdc9ac
fix:add handling to prevent duplicate session leak logs.
arpan14 480c719
fix:avoid long delays in integration tests.
arpan14 019e100
fix:lint issues.
arpan14 ff144ae
fix:pr comments around pool options, mock spanner.
arpan14 efe888f
fix: cleaned up session being returned back to the pool.
arpan14 d0d2c91
fix:mock timers to avoid flaky tests.
arpan14 9f0a100
fix:flaky tests.
arpan14 b96e940
fix:flaky tests.
arpan14 ecd2f4b
feat: support a new option to silently close inactive transactions wi…
arpan14 6b72583
fix:variable names.
arpan14 8ca552b
Update google-cloud-spanner/src/main/java/com/google/cloud/spanner/Se…
arpan14 ed84ad1
Update google-cloud-spanner/src/main/java/com/google/cloud/spanner/Se…
arpan14 a1b4b5f
Update google-cloud-spanner/src/main/java/com/google/cloud/spanner/Se…
arpan14 c011d4c
Update google-cloud-spanner/src/main/java/com/google/cloud/spanner/Se…
arpan14 6c76a05
Update google-cloud-spanner/src/main/java/com/google/cloud/spanner/Se…
arpan14 dee86d0
fix:review comments.
arpan14 b3b45e2
Merge branch 'googleapis:main' into session-leak-pr
arpan14 e82c54f
Merge branch 'googleapis:main' into session-leak-pr
arpan14 c3e39ff
fix:add more unit tests for session pool options.
arpan14 db37f9d
Update google-cloud-spanner/src/main/java/com/google/cloud/spanner/Se…
arpan14 4edaa52
docs:update as per PR comment.
arpan14 416ca61
Merge branch 'googleapis:main' into session-leak-pr
arpan14 ee3ec84
🦉 Updates from OwlBot post-processor
gcf-owl-bot[bot] 943c2c5
Merge branch 'googleapis:main' into session-leak-pr
arpan14 a4faf05
fix: solve race conditions for PDML transactions.
arpan14 3f1e752
fix: make method scope to be package-private.
arpan14 d1f599e
test: add benchmark for long-running sessions clean up task.
arpan14 c41fbd7
fix: disable the feature by default.
arpan14 ea39b03
Merge branch 'googleapis:main' into session-leak-pr
arpan14 d9ce080
fix: remove benchmark code.
arpan14 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.