ydb icon indicating copy to clipboard operation
ydb copied to clipboard

Support SnapshotRW transactions for oltp tables

Open snaury opened this issue 1 month ago • 8 comments

Changelog entry

...

Changelog category

  • Not for changelog (changelog entry is not required)

Description for reviewers

Enable SnapshotRW transactions for oltp tables and related kqp changes. Fixes #12971.

snaury avatar Dec 11 '25 09:12 snaury

:white_circle: 2025-12-11 09:32:40 UTC Pre-commit check linux-x86_64-release-asan for d05480f295b3193563a3d879674f1732b2e584bb has started. :white_circle: 2025-12-11 09:32:56 UTC Artifacts will be uploaded here :white_circle: 2025-12-11 09:35:05 UTC ya make is running... :black_circle: 2025-12-11 10:21:42 UTC Check cancelled

github-actions[bot] avatar Dec 11 '25 09:12 github-actions[bot]

:green_circle: 2025-12-12 15:50:42 UTC The validation of the Pull Request description is successful.

github-actions[bot] avatar Dec 11 '25 09:12 github-actions[bot]

Run Extra Tests

Run additional tests for this PR. You can customize:

  • Test Size: small, medium, large (default: all)
  • Test Targets: any directory path (default: ydb/)
  • Sanitizers: ASAN, MSAN, TSAN
  • Coredumps: enable for debugging (default: off)
  • Additional args: custom ya make arguments

▶  Run tests

ydbot avatar Dec 11 '25 09:12 ydbot

:white_circle: 2025-12-11 09:35:06 UTC Pre-commit check linux-x86_64-relwithdebinfo for d05480f295b3193563a3d879674f1732b2e584bb has started. :white_circle: 2025-12-11 09:35:24 UTC Artifacts will be uploaded here :white_circle: 2025-12-11 09:37:33 UTC ya make is running... :black_circle: 2025-12-11 10:21:51 UTC Check cancelled

github-actions[bot] avatar Dec 11 '25 09:12 github-actions[bot]

:white_circle: 2025-12-11 10:23:48 UTC Pre-commit check linux-x86_64-relwithdebinfo for 2d67f27a068488218779cfd6fb1723b08191340c has started. :white_circle: 2025-12-11 10:23:54 UTC Artifacts will be uploaded here :white_circle: 2025-12-11 10:25:15 UTC ya make is running... :yellow_circle: 2025-12-11 12:47:03 UTC Some tests failed, follow the links below. Going to retry failed tests...

Ya make output | Test bloat

TESTS PASSED ERRORS FAILED SKIPPED MUTED?
41372 38429 0 8 2904 31

:white_circle: 2025-12-11 12:47:18 UTC ya make is running... (failed tests rerun, try 2) :yellow_circle: 2025-12-11 13:00:36 UTC Some tests failed, follow the links below. Going to retry failed tests...

Ya make output | Test bloat | Test bloat

TESTS PASSED ERRORS FAILED SKIPPED MUTED?
66 (only retried tests) 46 0 5 0 15

:white_circle: 2025-12-11 13:00:44 UTC ya make is running... (failed tests rerun, try 3) :red_circle: 2025-12-11 13:12:42 UTC Some tests failed, follow the links below.

Ya make output | Test bloat | Test bloat | Test bloat

TESTS PASSED ERRORS FAILED SKIPPED MUTED?
38 (only retried tests) 20 0 5 0 13

:green_circle: 2025-12-11 13:12:49 UTC Build successful. :green_circle: 2025-12-11 13:13:17 UTC ydbd size 2.3 GiB changed* by +8.9 KiB, which is < 100.0 KiB vs main: OK

ydbd size dash main: c49a49a7f1cd2e04a5a92ac08482c4a31e3749f5 merge: 2d67f27a068488218779cfd6fb1723b08191340c diff diff %
ydbd size 2 468 435 944 Bytes 2 468 445 024 Bytes +8.9 KiB +0.000%
ydbd stripped size 525 275 200 Bytes 525 278 432 Bytes +3.2 KiB +0.001%

*please be aware that the difference is based on comparing your commit and the last completed build from the post-commit, check comparation

github-actions[bot] avatar Dec 11 '25 10:12 github-actions[bot]

:white_circle: 2025-12-11 10:26:33 UTC Pre-commit check linux-x86_64-release-asan for 2d67f27a068488218779cfd6fb1723b08191340c has started. :white_circle: 2025-12-11 10:27:06 UTC Artifacts will be uploaded here :white_circle: 2025-12-11 10:29:10 UTC ya make is running... :yellow_circle: 2025-12-11 12:14:12 UTC Some tests failed, follow the links below. This fail is not in blocking policy yet

Ya make output | Test bloat

TESTS PASSED ERRORS FAILED SKIPPED MUTED?
12957 12877 0 65 7 8

:green_circle: 2025-12-11 12:14:22 UTC Build successful. :green_circle: 2025-12-11 12:14:54 UTC ydbd size 3.8 GiB changed* by +27.2 KiB, which is < 100.0 KiB vs main: OK

ydbd size dash main: 00bc17a837c60b469f190935a0e10f038f1746f7 merge: 2d67f27a068488218779cfd6fb1723b08191340c diff diff %
ydbd size 4 133 529 896 Bytes 4 133 557 760 Bytes +27.2 KiB +0.001%
ydbd stripped size 1 534 259 224 Bytes 1 534 276 024 Bytes +16.4 KiB +0.001%

*please be aware that the difference is based on comparing your commit and the last completed build from the post-commit, check comparation

github-actions[bot] avatar Dec 11 '25 10:12 github-actions[bot]

:white_circle: 2025-12-11 14:28:18 UTC Pre-commit check linux-x86_64-release-asan for 2a71249d7c3380449ccc9496b7ce3245aa263f9d has started. :white_circle: 2025-12-11 14:28:34 UTC Artifacts will be uploaded here :white_circle: 2025-12-11 14:30:41 UTC ya make is running... :yellow_circle: 2025-12-11 15:52:41 UTC Some tests failed, follow the links below. This fail is not in blocking policy yet

Ya make output | Test bloat

TESTS PASSED ERRORS FAILED SKIPPED MUTED?
12116 11977 0 116 12 11

:green_circle: 2025-12-11 15:52:50 UTC Build successful. :green_circle: 2025-12-11 15:53:23 UTC ydbd size 3.8 GiB changed* by +16.6 KiB, which is < 100.0 KiB vs main: OK

ydbd size dash main: 2cad355f1196c52b5f5ab4cab75dcf13a11ae20e merge: 2a71249d7c3380449ccc9496b7ce3245aa263f9d diff diff %
ydbd size 4 133 741 960 Bytes 4 133 758 912 Bytes +16.6 KiB +0.000%
ydbd stripped size 1 534 371 512 Bytes 1 534 378 968 Bytes +7.3 KiB +0.000%

*please be aware that the difference is based on comparing your commit and the last completed build from the post-commit, check comparation

github-actions[bot] avatar Dec 11 '25 14:12 github-actions[bot]

:white_circle: 2025-12-11 14:29:12 UTC Pre-commit check linux-x86_64-relwithdebinfo for 2a71249d7c3380449ccc9496b7ce3245aa263f9d has started. :white_circle: 2025-12-11 14:29:30 UTC Artifacts will be uploaded here :white_circle: 2025-12-11 14:31:39 UTC ya make is running... :yellow_circle: 2025-12-11 16:20:05 UTC Some tests failed, follow the links below. Going to retry failed tests...

Ya make output | Test bloat

TESTS PASSED ERRORS FAILED SKIPPED MUTED?
40280 37181 0 166 2826 107

:white_circle: 2025-12-11 16:20:19 UTC ya make is running... (failed tests rerun, try 2) :yellow_circle: 2025-12-11 16:32:21 UTC Some tests failed, follow the links below. Going to retry failed tests...

Ya make output | Test bloat | Test bloat

TESTS PASSED ERRORS FAILED SKIPPED MUTED?
301 (only retried tests) 210 0 1 76 14

:white_circle: 2025-12-11 16:32:28 UTC ya make is running... (failed tests rerun, try 3) :green_circle: 2025-12-11 16:39:59 UTC Tests successful.

Ya make output | Test bloat | Test bloat | Test bloat

TESTS PASSED ERRORS FAILED SKIPPED MUTED?
30 (only retried tests) 19 0 0 0 11

:green_circle: 2025-12-11 16:40:06 UTC Build successful. :green_circle: 2025-12-11 16:40:36 UTC ydbd size 2.3 GiB changed* by +8.9 KiB, which is < 100.0 KiB vs main: OK

ydbd size dash main: 2cad355f1196c52b5f5ab4cab75dcf13a11ae20e merge: 2a71249d7c3380449ccc9496b7ce3245aa263f9d diff diff %
ydbd size 2 468 526 304 Bytes 2 468 535 416 Bytes +8.9 KiB +0.000%
ydbd stripped size 525 304 512 Bytes 525 307 744 Bytes +3.2 KiB +0.001%

*please be aware that the difference is based on comparing your commit and the last completed build from the post-commit, check comparation

github-actions[bot] avatar Dec 11 '25 14:12 github-actions[bot]

:white_circle: 2025-12-12 15:53:17 UTC Pre-commit check linux-x86_64-relwithdebinfo for 2fe5e2f56e557297373f67a3f41450c250a3db5a has started. :white_circle: 2025-12-12 15:53:39 UTC Artifacts will be uploaded here :white_circle: 2025-12-12 16:09:40 UTC ya make is running... :yellow_circle: 2025-12-12 18:10:01 UTC Some tests failed, follow the links below. Going to retry failed tests...

Ya make output | Test bloat

TESTS PASSED ERRORS FAILED SKIPPED MUTED?
40235 37294 0 2 2903 36

:white_circle: 2025-12-12 18:10:18 UTC ya make is running... (failed tests rerun, try 2) :green_circle: 2025-12-12 18:25:53 UTC Tests successful.

Ya make output | Test bloat | Test bloat

TESTS PASSED ERRORS FAILED SKIPPED MUTED?
168 (only retried tests) 153 0 0 0 15

:green_circle: 2025-12-12 18:26:01 UTC Build successful. :green_circle: 2025-12-12 18:26:24 UTC ydbd size 2.3 GiB changed* by -320 Bytes, which is <= 0 Bytes vs main: OK

ydbd size dash main: de0a3c73d6a750476b5d7e5912d158743d9ed072 merge: 2fe5e2f56e557297373f67a3f41450c250a3db5a diff diff %
ydbd size 2 469 121 864 Bytes 2 469 121 544 Bytes -320 Bytes -0.000%
ydbd stripped size 525 390 720 Bytes 525 390 720 Bytes 0 Bytes 0.000%

*please be aware that the difference is based on comparing your commit and the last completed build from the post-commit, check comparation

github-actions[bot] avatar Dec 12 '25 15:12 github-actions[bot]

:white_circle: 2025-12-12 16:03:26 UTC Pre-commit check linux-x86_64-release-asan for 2fe5e2f56e557297373f67a3f41450c250a3db5a has started. :white_circle: 2025-12-12 16:03:47 UTC Artifacts will be uploaded here :white_circle: 2025-12-12 16:05:56 UTC ya make is running... :yellow_circle: 2025-12-12 17:39:36 UTC Some tests failed, follow the links below. This fail is not in blocking policy yet

Ya make output | Test bloat

TESTS PASSED ERRORS FAILED SKIPPED MUTED?
12060 11959 0 67 16 18

:green_circle: 2025-12-12 17:39:46 UTC Build successful. :green_circle: 2025-12-12 17:40:20 UTC ydbd size 3.9 GiB changed* by +15.6 KiB, which is < 100.0 KiB vs main: OK

ydbd size dash main: 68402562df5c8d512f36f1d0ae35aa9f522309df merge: 2fe5e2f56e557297373f67a3f41450c250a3db5a diff diff %
ydbd size 4 134 707 864 Bytes 4 134 723 840 Bytes +15.6 KiB +0.000%
ydbd stripped size 1 534 658 008 Bytes 1 534 665 016 Bytes +6.8 KiB +0.000%

*please be aware that the difference is based on comparing your commit and the last completed build from the post-commit, check comparation

github-actions[bot] avatar Dec 12 '25 16:12 github-actions[bot]

Backport

To backport this PR, click the button next to the target branch and then click "Run workflow" in the Run Actions UI.

Branch Run
stable-25-2, stable-25-2-1, stable-25-3, stable-25-3-1 ▶  Backport
stable-25-3, stable-25-3-1 ▶  Backport
stable-25-3 ▶  Backport

▶  Backport manual

ydbot avatar Dec 12 '25 18:12 ydbot