Skip to content

Wait for all CAs inside Executer before shutdown #7829

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 12 commits into from
Aug 23, 2024

Conversation

abyss7
Copy link
Collaborator

@abyss7 abyss7 commented Aug 15, 2024

Changelog entry

Implement additional state for TKqpDataExecuter in which it will wait for all children Compute Actors for graceful shutdown.

Also Executer will respect node disconnects and timeouts - to not hang on waiting forever.

Changelog category

  • New feature

Copy link

github-actions bot commented Aug 15, 2024

2024-08-15 09:39:30 UTC Pre-commit check for f6d4234 has started.
2024-08-15 09:42:09 UTC Check linux-x86_64-release-clang14 is running...
🟢 2024-08-15 09:47:49 UTC Build successful.

Copy link

github-actions bot commented Aug 15, 2024

2024-08-15 09:40:32 UTC Pre-commit check for f6d4234 has started.
2024-08-15 09:43:30 UTC Check linux-x86_64-relwithdebinfo is running...
2024-08-15 10:58:30 UTC Check cancelled

Copy link

github-actions bot commented Aug 15, 2024

2024-08-15 09:41:54 UTC Pre-commit check for f6d4234 has started.
2024-08-15 09:44:42 UTC Check linux-x86_64-release-asan is running...
2024-08-15 10:58:31 UTC Check cancelled

Copy link

github-actions bot commented Aug 15, 2024

2024-08-15 11:02:02 UTC Pre-commit check for 110c71c has started.
2024-08-15 11:05:45 UTC Check linux-x86_64-relwithdebinfo is running...
🟡 2024-08-15 12:21:59 UTC Some tests failed, follow the links below. Going to retry failed tests...

Test history | Ya make output

TESTS PASSED ERRORS FAILED SKIPPED MUTED?
13929 12549 0 9 1337 34

2024-08-15 12:23:14 UTC Failed tests rerun (try 2) linux-x86_64-relwithdebinfo is running...
🟡 2024-08-15 12:34:04 UTC Some tests failed, follow the links below. Going to retry failed tests...

Test history | Ya make output

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

2024-08-15 12:34:13 UTC Failed tests rerun (try 3) linux-x86_64-relwithdebinfo is running...
🔴 2024-08-15 12:45:01 UTC Some tests failed, follow the links below.

Test history | Ya make output

TESTS PASSED ERRORS FAILED SKIPPED MUTED?
51 (only retried tests) 16 0 6 0 29

🟢 2024-08-15 12:45:08 UTC Build successful.
🟡 2024-08-15 12:45:57 UTC ydbd size 8.1 GiB changed* by +140.0 KiB, which is >= 100.0 KiB vs main: Warning

ydbd size dash main: c26bd91 merge: 110c71c diff diff %
ydbd size 8 731 669 432 Bytes 8 731 812 816 Bytes +140.0 KiB +0.002%
ydbd stripped size 475 248 904 Bytes 475 255 016 Bytes +6.0 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

Copy link

github-actions bot commented Aug 15, 2024

2024-08-15 11:02:13 UTC Pre-commit check for 110c71c has started.
2024-08-15 11:04:59 UTC Check linux-x86_64-release-clang14 is running...
🟢 2024-08-15 11:26:23 UTC Build successful.

Copy link

github-actions bot commented Aug 15, 2024

2024-08-15 11:02:17 UTC Pre-commit check for 110c71c has started.
2024-08-15 11:04:53 UTC Check linux-x86_64-release-asan is running...
🔴 2024-08-15 13:23:54 UTC Some tests failed, follow the links below.

Test history | Ya make output

TESTS PASSED ERRORS FAILED SKIPPED MUTED?
9734 9647 0 28 22 37

🟢 2024-08-15 13:24:45 UTC Build successful.
🟢 2024-08-15 13:25:16 UTC ydbd size 5.5 GiB changed* by +71.2 KiB, which is < 100.0 KiB vs main: OK

ydbd size dash main: c26bd91 merge: 110c71c diff diff %
ydbd size 5 877 755 344 Bytes 5 877 828 208 Bytes +71.2 KiB +0.001%
ydbd stripped size 1 476 699 760 Bytes 1 476 729 776 Bytes +29.3 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

Copy link

github-actions bot commented Aug 15, 2024

2024-08-15 19:17:51 UTC Pre-commit check for 4971804 has started.
2024-08-15 19:20:46 UTC Check linux-x86_64-release-clang14 is running...
🟢 2024-08-15 19:27:24 UTC Build successful.

Copy link

github-actions bot commented Aug 15, 2024

2024-08-15 19:17:58 UTC Pre-commit check for 4971804 has started.
2024-08-15 19:20:54 UTC Check linux-x86_64-relwithdebinfo is running...
🟡 2024-08-15 20:45:27 UTC Some tests failed, follow the links below. Going to retry failed tests...

Test history | Ya make output

TESTS PASSED ERRORS FAILED SKIPPED MUTED?
71795 58094 0 59 13607 35

2024-08-15 20:52:08 UTC Failed tests rerun (try 2) linux-x86_64-relwithdebinfo is running...
🟡 2024-08-15 21:03:35 UTC Some tests failed, follow the links below. Going to retry failed tests...

Test history | Ya make output

TESTS PASSED ERRORS FAILED SKIPPED MUTED?
121 (only retried tests) 40 0 51 2 28

2024-08-15 21:03:44 UTC Failed tests rerun (try 3) linux-x86_64-relwithdebinfo is running...
🔴 2024-08-15 21:15:01 UTC Some tests failed, follow the links below.

Test history | Ya make output

TESTS PASSED ERRORS FAILED SKIPPED MUTED?
106 (only retried tests) 25 0 51 2 28

🟢 2024-08-15 21:15:09 UTC Build successful.
🟢 2024-08-15 21:15:50 UTC ydbd size 8.1 GiB changed* by +5.2 KiB, which is < 100.0 KiB vs main: OK

ydbd size dash main: 1d4f8fb merge: 4971804 diff diff %
ydbd size 8 732 656 344 Bytes 8 732 661 672 Bytes +5.2 KiB +0.000%
ydbd stripped size 475 289 480 Bytes 475 291 144 Bytes +1.6 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

Copy link

github-actions bot commented Aug 15, 2024

2024-08-15 19:18:10 UTC Pre-commit check for 4971804 has started.
2024-08-15 19:21:03 UTC Check linux-x86_64-release-asan is running...
🔴 2024-08-15 21:41:34 UTC Some tests failed, follow the links below.

Test history | Ya make output

TESTS PASSED ERRORS FAILED SKIPPED MUTED?
10167 10014 0 73 46 34

🟢 2024-08-15 21:42:28 UTC Build successful.
🟢 2024-08-15 21:42:58 UTC ydbd size 5.5 GiB changed* by +28.3 KiB, which is < 100.0 KiB vs main: OK

ydbd size dash main: 1d4f8fb merge: 4971804 diff diff %
ydbd size 5 878 382 704 Bytes 5 878 411 696 Bytes +28.3 KiB +0.000%
ydbd stripped size 1 476 854 896 Bytes 1 476 863 600 Bytes +8.5 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

Copy link

github-actions bot commented Aug 16, 2024

2024-08-16 12:31:03 UTC Pre-commit check for d6c05a9 has started.
2024-08-16 12:34:05 UTC Check linux-x86_64-relwithdebinfo is running...
🟡 2024-08-16 13:55:29 UTC Some tests failed, follow the links below. Going to retry failed tests...

Test history | Ya make output

TESTS PASSED ERRORS FAILED SKIPPED MUTED?
71804 58101 0 53 13614 36

2024-08-16 14:02:36 UTC Failed tests rerun (try 2) linux-x86_64-relwithdebinfo is running...
🟡 2024-08-16 14:14:14 UTC Some tests failed, follow the links below. Going to retry failed tests...

Test history | Ya make output

TESTS PASSED ERRORS FAILED SKIPPED MUTED?
123 (only retried tests) 49 0 45 2 27

2024-08-16 14:14:23 UTC Failed tests rerun (try 3) linux-x86_64-relwithdebinfo is running...
🔴 2024-08-16 14:25:38 UTC Some tests failed, follow the links below.

Test history | Ya make output

TESTS PASSED ERRORS FAILED SKIPPED MUTED?
94 (only retried tests) 21 0 44 2 27

🟢 2024-08-16 14:25:46 UTC Build successful.
🟢 2024-08-16 14:26:39 UTC ydbd size 8.1 GiB changed* by -861.9 KiB, which is <= 0 Bytes vs main: OK

ydbd size dash main: bce790f merge: d6c05a9 diff diff %
ydbd size 8 733 249 840 Bytes 8 732 367 240 Bytes -861.9 KiB -0.010%
ydbd stripped size 475 312 008 Bytes 475 283 784 Bytes -27.6 KiB -0.006%

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

Copy link

github-actions bot commented Aug 16, 2024

2024-08-16 12:31:14 UTC Pre-commit check for d6c05a9 has started.
2024-08-16 12:35:11 UTC Check linux-x86_64-release-asan is running...
🔴 2024-08-16 15:05:26 UTC Some tests failed, follow the links below.

Test history | Ya make output

TESTS PASSED ERRORS FAILED SKIPPED MUTED?
10184 10032 0 74 41 37

🟢 2024-08-16 15:06:19 UTC Build successful.
🟢 2024-08-16 15:07:01 UTC ydbd size 5.5 GiB changed* by -1.7 MiB, which is <= 0 Bytes vs main: OK

ydbd size dash main: bce790f merge: d6c05a9 diff diff %
ydbd size 5 878 860 080 Bytes 5 877 087 616 Bytes -1.7 MiB -0.030%
ydbd stripped size 1 476 927 504 Bytes 1 476 598 480 Bytes -321.3 KiB -0.022%

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

Copy link

github-actions bot commented Aug 16, 2024

2024-08-16 12:33:39 UTC Pre-commit check for d6c05a9 has started.
2024-08-16 12:37:13 UTC Check linux-x86_64-release-clang14 is running...
🟢 2024-08-16 12:44:09 UTC Build successful.

Copy link

github-actions bot commented Aug 16, 2024

2024-08-16 17:30:24 UTC Pre-commit check for 77f9adc has started.
2024-08-16 17:33:58 UTC Check linux-x86_64-release-asan is running...
🔴 2024-08-16 19:47:45 UTC Some tests failed, follow the links below.

Test history | Ya make output

TESTS PASSED ERRORS FAILED SKIPPED MUTED?
10486 10407 0 13 32 34

🟢 2024-08-16 19:48:40 UTC Build successful.
🔴 2024-08-16 19:49:07 UTC ydbd size 5.5 GiB changed* by +2.0 MiB, which is >= 2.0 MiB vs main: Alert

ydbd size dash main: 030e3a8 merge: 77f9adc diff diff %
ydbd size 5 877 015 504 Bytes 5 879 147 048 Bytes +2.0 MiB +0.036%
ydbd stripped size 1 476 582 000 Bytes 1 476 971 312 Bytes +380.2 KiB +0.026%

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

Copy link

github-actions bot commented Aug 16, 2024

2024-08-16 17:36:43 UTC Pre-commit check for 77f9adc has started.
2024-08-16 17:40:20 UTC Check linux-x86_64-release-clang14 is running...
🟢 2024-08-16 18:14:51 UTC Build successful.

Copy link

github-actions bot commented Aug 16, 2024

2024-08-16 17:38:02 UTC Pre-commit check for 77f9adc has started.
2024-08-16 17:41:32 UTC Check linux-x86_64-relwithdebinfo is running...
🟡 2024-08-16 19:15:14 UTC Some tests failed, follow the links below. Going to retry failed tests...

Test history | Ya make output

TESTS PASSED ERRORS FAILED SKIPPED MUTED?
72125 58468 0 2 13611 44

2024-08-16 19:22:29 UTC Failed tests rerun (try 2) linux-x86_64-relwithdebinfo is running...
🟢 2024-08-16 19:32:29 UTC Tests successful.

Test history | Ya make output

TESTS PASSED ERRORS FAILED SKIPPED MUTED?
65 (only retried tests) 36 0 0 0 29

🟢 2024-08-16 19:32:37 UTC Build successful.
🔴 2024-08-16 19:33:12 UTC ydbd size 8.1 GiB changed* by +2.6 MiB, which is >= 2.0 MiB vs main: Alert

ydbd size dash main: 8dc96f7 merge: 77f9adc diff diff %
ydbd size 8 732 576 192 Bytes 8 735 267 080 Bytes +2.6 MiB +0.031%
ydbd stripped size 475 287 016 Bytes 475 375 560 Bytes +86.5 KiB +0.019%

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

Copy link

github-actions bot commented Aug 19, 2024

2024-08-19 09:32:24 UTC Pre-commit check for 9c91a91 has started.
2024-08-19 09:36:26 UTC Check linux-x86_64-release-asan is running...
🔴 2024-08-19 12:09:46 UTC Some tests failed, follow the links below.

Test history | Ya make output

TESTS PASSED ERRORS FAILED SKIPPED MUTED?
10512 10394 0 31 42 45

🟢 2024-08-19 12:10:45 UTC Build successful.
🟢 2024-08-19 12:11:19 UTC ydbd size 5.5 GiB changed* by +95.3 KiB, which is < 100.0 KiB vs main: OK

ydbd size dash main: b75b8ca merge: 9c91a91 diff diff %
ydbd size 5 880 247 040 Bytes 5 880 344 608 Bytes +95.3 KiB +0.002%
ydbd stripped size 1 477 395 536 Bytes 1 477 421 776 Bytes +25.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

Copy link

github-actions bot commented Aug 19, 2024

2024-08-19 09:32:30 UTC Pre-commit check for 9c91a91 has started.
2024-08-19 09:35:28 UTC Check linux-x86_64-release-clang14 is running...
🟢 2024-08-19 09:41:48 UTC Build successful.

Copy link

github-actions bot commented Aug 19, 2024

2024-08-19 09:34:55 UTC Pre-commit check for 9c91a91 has started.
2024-08-19 09:37:54 UTC Check linux-x86_64-relwithdebinfo is running...
🟡 2024-08-19 11:14:25 UTC Some tests failed, follow the links below. Going to retry failed tests...

Test history | Ya make output

TESTS PASSED ERRORS FAILED SKIPPED MUTED?
72176 58529 0 4 13604 39

2024-08-19 11:21:35 UTC Failed tests rerun (try 2) linux-x86_64-relwithdebinfo is running...
🟢 2024-08-19 11:28:39 UTC Tests successful.

Test history | Ya make output

TESTS PASSED ERRORS FAILED SKIPPED MUTED?
50 (only retried tests) 23 0 0 0 27

🟢 2024-08-19 11:28:47 UTC Build successful.
🟢 2024-08-19 11:29:30 UTC ydbd size 8.1 GiB changed* by +55.6 KiB, which is < 100.0 KiB vs main: OK

ydbd size dash main: b75b8ca merge: 9c91a91 diff diff %
ydbd size 8 736 888 392 Bytes 8 736 945 304 Bytes +55.6 KiB +0.001%
ydbd stripped size 475 560 008 Bytes 475 566 408 Bytes +6.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

Copy link

github-actions bot commented Aug 22, 2024

2024-08-22 09:29:34 UTC Pre-commit check for dafb31a has started.
2024-08-22 09:32:28 UTC Check linux-x86_64-relwithdebinfo is running...
2024-08-22 10:05:48 UTC Check cancelled

Copy link

github-actions bot commented Aug 22, 2024

2024-08-22 09:29:59 UTC Pre-commit check for dafb31a has started.
2024-08-22 09:32:52 UTC Check linux-x86_64-release-clang14 is running...
🟢 2024-08-22 09:39:49 UTC Build successful.

Copy link

github-actions bot commented Aug 22, 2024

2024-08-22 09:30:00 UTC Pre-commit check for dafb31a has started.
2024-08-22 09:32:52 UTC Check linux-x86_64-release-asan is running...
2024-08-22 10:05:26 UTC Check cancelled

Copy link

github-actions bot commented Aug 22, 2024

2024-08-22 12:37:17 UTC Pre-commit check for 95bed81 has started.
2024-08-22 12:41:27 UTC Check linux-x86_64-release-clang14 is running...
🟢 2024-08-22 12:49:08 UTC Build successful.

Copy link

github-actions bot commented Aug 22, 2024

2024-08-22 12:37:56 UTC Pre-commit check for 95bed81 has started.
2024-08-22 12:41:00 UTC Check linux-x86_64-relwithdebinfo is running...
🟡 2024-08-22 14:07:11 UTC Some tests failed, follow the links below. Going to retry failed tests...

Test history | Ya make output

TESTS PASSED ERRORS FAILED SKIPPED MUTED?
72277 58629 0 7 13620 21

2024-08-22 14:14:01 UTC Failed tests rerun (try 2) linux-x86_64-relwithdebinfo is running...
🟡 2024-08-22 14:24:07 UTC Some tests failed, follow the links below. Going to retry failed tests...

Test history | Ya make output

TESTS PASSED ERRORS FAILED SKIPPED MUTED?
31 (only retried tests) 18 0 2 0 11

2024-08-22 14:24:15 UTC Failed tests rerun (try 3) linux-x86_64-relwithdebinfo is running...
🔴 2024-08-22 14:31:13 UTC Some tests failed, follow the links below.

Test history | Ya make output

TESTS PASSED ERRORS FAILED SKIPPED MUTED?
18 (only retried tests) 8 0 1 0 9

🟢 2024-08-22 14:31:20 UTC Build successful.
🟢 2024-08-22 14:31:53 UTC ydbd size 8.2 GiB changed* by +31.5 KiB, which is < 100.0 KiB vs main: OK

ydbd size dash main: ba138ae merge: 95bed81 diff diff %
ydbd size 8 752 126 272 Bytes 8 752 158 512 Bytes +31.5 KiB +0.000%
ydbd stripped size 476 005 128 Bytes 476 008 328 Bytes +3.1 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

Copy link

github-actions bot commented Aug 22, 2024

2024-08-22 16:12:16 UTC Pre-commit check for 7c1676c has started.
2024-08-22 16:15:00 UTC Check linux-x86_64-release-clang14 is running...
🟢 2024-08-22 16:21:48 UTC Build successful.

Copy link

github-actions bot commented Aug 22, 2024

2024-08-22 16:13:02 UTC Pre-commit check for 7c1676c has started.
2024-08-22 16:15:50 UTC Check linux-x86_64-relwithdebinfo is running...
🔴 2024-08-22 17:50:44 UTC Some tests failed, follow the links below.

Test history | Ya make output

TESTS PASSED ERRORS FAILED SKIPPED MUTED?
72297 58645 0 8 13625 19

🟢 2024-08-22 17:57:45 UTC Build successful.
🟢 2024-08-22 17:58:22 UTC ydbd size 8.2 GiB changed* by +38.3 KiB, which is < 100.0 KiB vs main: OK

ydbd size dash main: 163ff65 merge: 7c1676c diff diff %
ydbd size 8 753 315 008 Bytes 8 753 354 224 Bytes +38.3 KiB +0.000%
ydbd stripped size 476 021 704 Bytes 476 025 544 Bytes +3.8 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

Copy link

github-actions bot commented Aug 22, 2024

2024-08-22 16:13:07 UTC Pre-commit check for 7c1676c has started.
2024-08-22 16:15:49 UTC Check linux-x86_64-release-asan is running...
🔴 2024-08-22 17:48:06 UTC Some tests failed, follow the links below.

Test history | Ya make output

TESTS PASSED ERRORS FAILED SKIPPED MUTED?
10384 10294 0 38 35 17

🟢 2024-08-22 17:49:04 UTC Build successful.
🟢 2024-08-22 17:49:34 UTC ydbd size 5.5 GiB changed* by +64.5 KiB, which is < 100.0 KiB vs main: OK

ydbd size dash main: 163ff65 merge: 7c1676c diff diff %
ydbd size 5 890 860 648 Bytes 5 890 926 680 Bytes +64.5 KiB +0.001%
ydbd stripped size 1 479 180 720 Bytes 1 479 199 728 Bytes +18.6 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

@abyss7 abyss7 added the rebase-and-check Rebase PR with the current base branch and check label Aug 23, 2024
@github-actions github-actions bot removed the rebase-and-check Rebase PR with the current base branch and check label Aug 23, 2024
Copy link

github-actions bot commented Aug 23, 2024

2024-08-23 08:09:28 UTC Pre-commit check for bc9270d has started.
2024-08-23 08:12:18 UTC Check linux-x86_64-release-clang14 is running...
🟢 2024-08-23 08:19:08 UTC Build successful.

Copy link

github-actions bot commented Aug 23, 2024

2024-08-23 08:12:47 UTC Pre-commit check for bc9270d has started.
2024-08-23 08:15:31 UTC Check linux-x86_64-release-asan is running...
🔴 2024-08-23 09:41:11 UTC Some tests failed, follow the links below.

Test history | Ya make output

TESTS PASSED ERRORS FAILED SKIPPED MUTED?
10381 10297 0 30 37 17

🟢 2024-08-23 09:42:05 UTC Build successful.
🟢 2024-08-23 09:42:37 UTC ydbd size 5.5 GiB changed* by +64.5 KiB, which is < 100.0 KiB vs main: OK

ydbd size dash main: eb1276a merge: bc9270d diff diff %
ydbd size 5 890 857 720 Bytes 5 890 923 744 Bytes +64.5 KiB +0.001%
ydbd stripped size 1 479 182 192 Bytes 1 479 201 200 Bytes +18.6 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

Copy link

github-actions bot commented Aug 23, 2024

2024-08-23 08:13:41 UTC Pre-commit check for bc9270d has started.
2024-08-23 08:16:29 UTC Check linux-x86_64-relwithdebinfo is running...
🟡 2024-08-23 09:26:14 UTC Some tests failed, follow the links below. Going to retry failed tests...

Test history | Ya make output

TESTS PASSED ERRORS FAILED SKIPPED MUTED?
72296 58639 0 20 13623 14

2024-08-23 09:33:08 UTC Failed tests rerun (try 2) linux-x86_64-relwithdebinfo is running...
🟡 2024-08-23 09:41:38 UTC Some tests failed, follow the links below. Going to retry failed tests...

Test history | Ya make output

TESTS PASSED ERRORS FAILED SKIPPED MUTED?
35 (only retried tests) 24 0 1 0 10

2024-08-23 09:41:46 UTC Failed tests rerun (try 3) linux-x86_64-relwithdebinfo is running...
🟢 2024-08-23 09:49:45 UTC Tests successful.

Test history | Ya make output

TESTS PASSED ERRORS FAILED SKIPPED MUTED?
16 (only retried tests) 7 0 0 0 9

🟢 2024-08-23 09:49:53 UTC Build successful.
🟢 2024-08-23 09:50:31 UTC ydbd size 8.2 GiB changed* by +38.3 KiB, which is < 100.0 KiB vs main: OK

ydbd size dash main: eb1276a merge: bc9270d diff diff %
ydbd size 8 753 305 232 Bytes 8 753 344 408 Bytes +38.3 KiB +0.000%
ydbd stripped size 476 022 792 Bytes 476 026 568 Bytes +3.7 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

LOG_I("aborting compute actor execution, message: " << issues.ToOneLineString()
<< ", compute actor: " << task.ComputeActorId << ", task: " << task.Id);

auto ev = MakeHolder<TEvKqp::TEvAbortExecution>(NYql::NDq::YdbStatusToDqStatus(code), issues);
this->Send(task.ComputeActorId, ev.Release());
} else {
LOG_I("task: " << task.Id << ", does not have Compute ActorId yet");
LOG_I("task: " << task.Id << ", does not have the CA id yet or is already complete");
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe we can add checks here also and write more explicit message, is it already completed or CA id is not known.

runtime.SetObserverFunc([&](TAutoPtr<IEventHandle>& ev) {
if (ev->GetTypeRewrite() == NYql::NDq::TEvDqCompute::TEvState::EventType) {
++totalEvState;
if (!firstEvState) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Based on test description I would expect that firstEvState is true and after this event it becomes false.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Probably the variable name is too vague - firstEvState indicates if we already encountered the first event State, so we replace only the first one.

@abyss7 abyss7 merged commit fe50fe3 into ydb-platform:main Aug 23, 2024
13 of 17 checks passed
rekby pushed a commit to rekby-forks/ydb that referenced this pull request Aug 28, 2024
stanislav-shchetinin pushed a commit to stanislav-shchetinin/ydb that referenced this pull request Aug 30, 2024
abyss7 added a commit to abyss7/ydb that referenced this pull request Sep 9, 2024
abyss7 added a commit to abyss7/ydb that referenced this pull request Dec 15, 2024
abyss7 added a commit to abyss7/ydb that referenced this pull request Dec 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants