Skip to content

Disable coordinator if no ingress tasks #472

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

Conversation

kardymonds
Copy link
Collaborator

Do nothing if there is no one to send barriers,

before this fix log was: Checkpoint successfully created, going to inject barriers to 0 actor(s)

@alexv-smirnov alexv-smirnov added the ok-to-test Special label used to approve a PR for testing on our infrastructure label Dec 5, 2023
@github-actions github-actions bot removed the ok-to-test Special label used to approve a PR for testing on our infrastructure label Dec 5, 2023
@kardymonds kardymonds added the ok-to-test Special label used to approve a PR for testing on our infrastructure label Dec 6, 2023
@github-actions github-actions bot removed the ok-to-test Special label used to approve a PR for testing on our infrastructure label Dec 6, 2023
Copy link

github-actions bot commented Dec 6, 2023

Note

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

🔴 linux-x86_64-relwithdebinfo: some tests FAILED for commit 9c859c9.

Test history

TESTS PASSED ERRORS FAILED SKIPPED MUTED?
59711 50450 0 24 9198 39

🔴 linux-x86_64-release-asan: some tests FAILED for commit 9c859c9.

Test history

TESTS PASSED ERRORS FAILED SKIPPED MUTED?
15758 15611 0 38 106 3

@@ -103,6 +103,12 @@ void TCheckpointCoordinator::Handle(NYql::NDqs::TEvReadyState::TPtr& ev) {
AllActorsSet.insert(actorId);
}

CC_LOG_I("ActorsToTrigger count: " << ActorsToTrigger.size() << ", ActorsToNotify count: " << ActorsToNotify.size() << ", ActorsToWaitFor count: " << ActorsToWaitFor.size());
Copy link
Collaborator

Choose a reason for hiding this comment

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

  1. Do we need to use info instead of debug in this case? And the same below.
  2. If we have different sources in the same graph ("PgSource", "S3Source") will it work fine?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

  1. Changed to debug
  2. I think yes, S3Source just not added to ActorsToTrigger (not tested)

@kardymonds kardymonds merged commit 7c308ff into ydb-platform:main Jan 16, 2024
@CyberROFL
Copy link
Member

@kardymonds Кажется, эти изменения сломали кучу тестов. Если так, откатите, пожалуйста.

kardymonds added a commit to kardymonds/ydb that referenced this pull request Jan 17, 2024
kardymonds added a commit that referenced this pull request Jan 17, 2024
@niksaveliev niksaveliev mentioned this pull request Jan 29, 2024
@vitstn vitstn mentioned this pull request Jan 29, 2024
@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