ydb icon indicating copy to clipboard operation
ydb copied to clipboard

Add external canceller for TEvPut requests

Open serbel324 opened this issue 1 month ago • 4 comments

Changelog entry

Add new parameter to TEvPut requests which allows to pass RAII-object to track request relevance and cancel it on owner destruction.

Changelog category

  • Improvement

serbel324 avatar Dec 11 '25 15:12 serbel324

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 15:12 ydbot

:white_circle: 2025-12-11 15:05:23 UTC Pre-commit check linux-x86_64-relwithdebinfo for 7443e0f5e43d2a4728022b5bc700f81226773ab3 has started. :white_circle: 2025-12-11 15:05:41 UTC Artifacts will be uploaded here :white_circle: 2025-12-11 15:07:56 UTC ya make is running... :yellow_circle: 2025-12-11 17:23:43 UTC Some tests failed, follow the links below. Going to retry failed tests...

Ya make output | Test bloat

TESTS PASSED ERRORS FAILED SKIPPED MUTED?
41880 38951 0 2 2902 25

:white_circle: 2025-12-11 17:23:59 UTC ya make is running... (failed tests rerun, try 2) :green_circle: 2025-12-11 17:36:21 UTC Tests successful.

Ya make output | Test bloat | Test bloat

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

:green_circle: 2025-12-11 17:36:29 UTC Build successful. :yellow_circle: 2025-12-11 17:36:53 UTC ydbd size 2.3 GiB changed* by +100.5 KiB, which is >= 100.0 KiB vs main: Warning

ydbd size dash main: fbe5541e63905ac791d36e2074c017745c0946eb merge: 7443e0f5e43d2a4728022b5bc700f81226773ab3 diff diff %
ydbd size 2 468 528 944 Bytes 2 468 631 816 Bytes +100.5 KiB +0.004%
ydbd stripped size 525 305 344 Bytes 525 315 136 Bytes +9.6 KiB +0.002%

*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 15:12 github-actions[bot]

:white_circle: 2025-12-11 15:05:40 UTC Pre-commit check linux-x86_64-release-asan for 7443e0f5e43d2a4728022b5bc700f81226773ab3 has started. :white_circle: 2025-12-11 15:06:20 UTC Artifacts will be uploaded here :white_circle: 2025-12-11 15:08:12 UTC ya make is running... :yellow_circle: 2025-12-11 16:47:23 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?
13464 13382 0 67 7 8

:green_circle: 2025-12-11 16:47:32 UTC Build successful. :yellow_circle: 2025-12-11 16:48:02 UTC ydbd size 3.9 GiB changed* by +156.5 KiB, which is >= 100.0 KiB vs main: Warning

ydbd size dash main: fbe5541e63905ac791d36e2074c017745c0946eb merge: 7443e0f5e43d2a4728022b5bc700f81226773ab3 diff diff %
ydbd size 4 133 750 496 Bytes 4 133 910 784 Bytes +156.5 KiB +0.004%
ydbd stripped size 1 534 373 688 Bytes 1 534 411 704 Bytes +37.1 KiB +0.002%

*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 15:12 github-actions[bot]

:green_circle: 2025-12-11 15:17:10 UTC The validation of the Pull Request description is successful.

github-actions[bot] avatar Dec 11 '25 15: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 13:12 ydbot