Skip to content

YQL-17087: Enable output channel spilling only if task has two or more outputs #1043

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 9 commits into from
Jan 29, 2024

Conversation

Darych
Copy link
Contributor

@Darych Darych commented Jan 16, 2024

No description provided.

@Darych Darych changed the title Enable output channel spilling only if task has two or more outputs YQL-17087: Enable output channel spilling only if task has two or more outputs Jan 16, 2024
Copy link
Member

@rvu1024 rvu1024 left a comment

Choose a reason for hiding this comment

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

Как будет реагировать сейчас код на ситуацию, когда spilling service выключен, а в запросе ставят прагму dq.SpillingEngine="file"?

Copy link

github-actions bot commented Jan 16, 2024

Note

This is an automated comment that will be appended during run.

🔴 linux-x86_64-release-asan: some tests FAILED for commit 2015d4b.

Test history

TESTS PASSED ERRORS FAILED SKIPPED MUTED?
15870 15694 0 63 110 3

🔴 linux-x86_64-relwithdebinfo: some tests FAILED for commit 2015d4b.

Test history

TESTS PASSED ERRORS FAILED SKIPPED MUTED?
59890 50632 0 47 9206 5

🔴 linux-x86_64-release-asan: some tests FAILED for commit 2015d4b.

Test history

TESTS PASSED ERRORS FAILED SKIPPED MUTED?
15870 15694 0 63 110 3

🔴 linux-x86_64-relwithdebinfo: some tests FAILED for commit 2015d4b.

Test history

TESTS PASSED ERRORS FAILED SKIPPED MUTED?
59890 50632 0 47 9206 5

@Darych
Copy link
Contributor Author

Darych commented Jan 17, 2024

Как будет реагировать сейчас код на ситуацию, когда spilling service выключен, а в запросе ставят прагму dq.SpillingEngine="file"?

Если в запросе реально начнет применяться спиллинг, то запрос зависнет, потому что данные никогда не запишутся, а следовательно не прочитаются.

@Darych Darych force-pushed the YQL-17087-opt-enable-spilling branch from 2015d4b to a78a7d5 Compare January 18, 2024 09:39
Copy link

github-actions bot commented Jan 18, 2024

2024-01-24 07:51:11 UTC Pre-commit check for a107a41 has started.
2024-01-24 07:51:14 UTC Build linux-x86_64-relwithdebinfo is running...
🟢 2024-01-24 08:31:01 UTC Build successful.
2024-01-24 08:31:15 UTC Tests are running...
🟢 2024-01-24 10:11:46 UTC Tests successful.

Test history

TESTS PASSED ERRORS FAILED SKIPPED MUTED?
60025 50782 0 0 9227 16

Copy link

github-actions bot commented Jan 18, 2024

2024-01-24 07:53:55 UTC Pre-commit check for a107a41 has started.
2024-01-24 07:53:57 UTC Build linux-x86_64-release-asan is running...
🟢 2024-01-24 08:38:15 UTC Build successful.
2024-01-24 08:38:28 UTC Tests are running...
🔴 2024-01-24 10:25:59 UTC Some tests failed, follow the links below.

Test history

TESTS PASSED ERRORS FAILED SKIPPED MUTED?
15929 15763 0 36 99 31

@Darych
Copy link
Contributor Author

Darych commented Jan 22, 2024

Как будет реагировать сейчас код на ситуацию, когда spilling service выключен, а в запросе ставят прагму dq.SpillingEngine="file"?

Добавил флажок для отслеживания Undelivered. Spilling actor будет следить за undelivered и в случае недоставки ответит EvError.

TDqLocalFileSpillingActor sends events with flag to traack undelivery.
Add unit tests for this.
Fix LOG macroses in channel_storage_actor.cpp to handle ActorSystem pointer also.
@Darych Darych force-pushed the YQL-17087-opt-enable-spilling branch from 3d67e3c to a2af99e Compare January 22, 2024 12:42
@Darych Darych requested a review from a team as a code owner January 22, 2024 12:42
@lll-phill-lll
Copy link
Member

А теперь получается, что включение спиллинга не всегда включает спиллинг?

@Darych
Copy link
Contributor Author

Darych commented Jan 24, 2024

А теперь получается, что включение спиллинга не всегда включает спиллинг?

Для YDB пока еще всегда. Для обратной совместимости с прошлой версией.
В DQ уже спиллинг в каналах будет происходить только когда из стейджа выходит больше одного канала.

TDqLocalFileSpillingActor sends events with flag to traack undelivery.
Add unit tests for this.
Fix LOG macroses in channel_storage_actor.cpp to handle ActorSystem pointer also.
@Darych Darych force-pushed the YQL-17087-opt-enable-spilling branch from fe4adb7 to a107a41 Compare January 24, 2024 07:48
rvu1024
rvu1024 previously approved these changes Jan 24, 2024
Copy link

github-actions bot commented Jan 25, 2024

2024-01-25 14:58:09 UTC Pre-commit check for ab81780 has started.
2024-01-25 14:58:12 UTC Build linux-x86_64-relwithdebinfo is running...
🟢 2024-01-25 15:38:42 UTC Build successful.
2024-01-25 15:38:58 UTC Tests are running...
🔴 2024-01-25 17:14:46 UTC Some tests failed, follow the links below.

Test history

TESTS PASSED ERRORS FAILED SKIPPED MUTED?
60106 50848 0 1 9235 22

@starlinskiy starlinskiy mentioned this pull request Feb 12, 2024
@vitstn vitstn mentioned this pull request Feb 16, 2024
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.

4 participants