Skip to content
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

only give counter resource to tablets that never had normal metrics #4763

Merged
merged 2 commits into from
May 23, 2024

Conversation

vporyadke
Copy link
Collaborator

Changelog entry

only give counter resource to tablets that never had normal metrics

Changelog category

  • Improvement

Additional information

Counter-balancing was introduced with columnshards in mind and may be undesirable for other tablets.

Copy link

github-actions bot commented May 22, 2024

2024-05-22 19:03:27 UTC Pre-commit check for 64447f6 has started.
2024-05-22 19:03:29 UTC Build linux-x86_64-release-asan is running...
🟢 2024-05-22 19:32:50 UTC Build successful.
2024-05-22 19:34:43 UTC Tests are running...
🔴 2024-05-22 21:37:32 UTC Some tests failed, follow the links below.

Test history

TESTS PASSED ERRORS FAILED SKIPPED MUTED?
10683 10612 0 35 27 9

Copy link

github-actions bot commented May 22, 2024

2024-05-22 19:04:20 UTC Pre-commit check for 64447f6 has started.
2024-05-22 19:04:22 UTC Build linux-x86_64-relwithdebinfo is running...
🟢 2024-05-22 19:33:23 UTC Build successful.
2024-05-22 19:35:10 UTC Tests are running...
🔴 2024-05-22 21:10:21 UTC Some tests failed, follow the links below.

Test history

TESTS PASSED ERRORS FAILED SKIPPED MUTED?
38153 33350 0 8 4786 9

Copy link

github-actions bot commented May 22, 2024

2024-05-22 19:04:33 UTC Pre-commit check for 64447f6 has started.
2024-05-22 19:04:35 UTC Build linux-x86_64-release-clang14 is running...
🟢 2024-05-22 19:31:39 UTC Build successful.

@@ -395,6 +395,9 @@ class TMaximumValueVariableWindowUI64 : public NKikimrMetricsProto::TMaximumValu
using TProto = NKikimrMetricsProto::TMaximumValueUI64;

void SetValue(TType value, TInstant now = TInstant::Now()) {
if (TProto::GetAllTimeMaximum() > 0 || MaximumValue > 0) { // ignoring initial value
Copy link
Member

@adameat adameat May 23, 2024

Choose a reason for hiding this comment

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

why don't you put it into the end of the function?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

it's easier to make this check before we update MaximumValue
i want to ignore the initial value because it is set by hive, not actually reported by the tablet

adameat
adameat previously approved these changes May 23, 2024
Copy link

github-actions bot commented May 23, 2024

2024-05-23 10:03:17 UTC Pre-commit check for ec8226d has started.
2024-05-23 10:05:57 UTC Build linux-x86_64-release-asan is running...
🟢 2024-05-23 10:34:30 UTC Build successful.
2024-05-23 10:34:42 UTC Tests are running...
🔴 2024-05-23 12:30:47 UTC Some tests failed, follow the links below.

Test history

TESTS PASSED ERRORS FAILED SKIPPED MUTED?
10803 10740 0 25 28 10

Copy link

github-actions bot commented May 23, 2024

2024-05-23 10:03:24 UTC Pre-commit check for ec8226d has started.
2024-05-23 10:06:03 UTC Build linux-x86_64-release-clang14 is running...
🟢 2024-05-23 10:36:58 UTC Build successful.

Copy link

github-actions bot commented May 23, 2024

2024-05-23 10:03:52 UTC Pre-commit check for ec8226d has started.
2024-05-23 10:06:31 UTC Build linux-x86_64-relwithdebinfo is running...
🟢 2024-05-23 10:33:53 UTC Build successful.
2024-05-23 10:34:07 UTC Tests are running...
🔴 2024-05-23 12:06:04 UTC Some tests failed, follow the links below.

Test history

TESTS PASSED ERRORS FAILED SKIPPED MUTED?
38276 33476 0 5 4789 6

This was referenced Jun 10, 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.

2 participants