Skip to content

feat(TableService): Support SNAPSHOT_RW (SNAPSHOT READ-WRITE isolation mode) in TableClient#606

Merged
alex268 merged 1 commit intoydb-platform:masterfrom
nvamelichev:support-snapshot-rw-in-tableclient
Mar 11, 2026
Merged

feat(TableService): Support SNAPSHOT_RW (SNAPSHOT READ-WRITE isolation mode) in TableClient#606
alex268 merged 1 commit intoydb-platform:masterfrom
nvamelichev:support-snapshot-rw-in-tableclient

Conversation

@nvamelichev
Copy link
Copy Markdown
Contributor

I don't know if YDB TableService supports SNAPSHOT_RW (the proto API says it should...)

But at least those using YDB QueryService via a TableClient wrapper tech.ydb.query.impl.TableClientImpl, e.g. YOJ, should be able to access SNAPSHOT_RW mode. This PR adds support for just that.

@codecov-commenter
Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 0% with 19 lines in your changes missing coverage. Please review.
✅ Project coverage is 68.56%. Comparing base (597ebc0) to head (ea79b83).

Files with missing lines Patch % Lines
...ain/java/tech/ydb/table/transaction/TxControl.java 0.00% 11 Missing ⚠️
...c/main/java/tech/ydb/table/impl/TxControlToPb.java 0.00% 6 Missing ⚠️
...main/java/tech/ydb/query/impl/TableClientImpl.java 0.00% 2 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff              @@
##             master     #606      +/-   ##
============================================
- Coverage     68.65%   68.56%   -0.09%     
+ Complexity     3096     3095       -1     
============================================
  Files           355      355              
  Lines         15305    15322      +17     
  Branches       1624     1627       +3     
============================================
- Hits          10508    10506       -2     
- Misses         4131     4149      +18     
- Partials        666      667       +1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@alex268 alex268 self-requested a review March 11, 2026 11:10
@alex268 alex268 merged commit aa379e5 into ydb-platform:master Mar 11, 2026
10 checks passed
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.

3 participants