Skip to content

return up-to-date node stats KIKIMR-20697 #910

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 2 commits into from
Jan 11, 2024

Conversation

vporyadke
Copy link
Collaborator

No description provided.

Copy link

github-actions bot commented Jan 10, 2024

Note

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

🔴 linux-x86_64-relwithdebinfo: some tests FAILED for commit 5ea5e84.

Test history

TESTS PASSED ERRORS FAILED SKIPPED MUTED?
59841 50631 0 9 9195 6

🔴 linux-x86_64-release-asan: some tests FAILED for commit 5ea5e84.

Test history

TESTS PASSED ERRORS FAILED SKIPPED MUTED?
15862 15717 0 35 105 5

@@ -1780,7 +1780,7 @@ bool THive::IsTabletMoveExpedient(const TTabletInfo& tablet, const TNodeInfo& no
return result;
}

void THive::FillTabletInfo(NKikimrHive::TEvResponseHiveInfo& response, ui64 tabletId, const TLeaderTabletInfo *info, const NKikimrHive::TEvRequestHiveInfo &req) {
void THive::FillTabletInfo(NKikimrHive::TEvResponseHiveInfo& response, ui64 tabletId, const TLeaderTabletInfo *info, const NKikimrHive::TEvRequestHiveInfo &req, TInstant restartsBarrierTime) {
Copy link
Member

Choose a reason for hiding this comment

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

is it possible to put the barrier argument deeper down? TActivationContext::Now() is relatively a cheap call.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

FillTabletInfo is a static member function and as such it does not have access to TabletRestartPeriod from config

Copy link
Member

Choose a reason for hiding this comment

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

it doesn't have to be static forever

@vporyadke vporyadke merged commit d95e3ab into ydb-platform:main Jan 11, 2024
@vporyadke vporyadke deleted the actualize branch January 11, 2024 08:30
@niksaveliev niksaveliev mentioned this pull request Jan 11, 2024
This was referenced Jan 15, 2024
@niksaveliev niksaveliev mentioned this pull request Jan 29, 2024
@vitstn vitstn mentioned this pull request Jan 29, 2024
@niksaveliev niksaveliev mentioned this pull request Feb 5, 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.

2 participants