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

add fs and tablets counters #2756

Closed
wants to merge 8 commits into from
Closed

Conversation

yegorskii
Copy link
Collaborator

@yegorskii yegorskii commented Dec 23, 2024

@@ -80,6 +80,8 @@ class TIndexTabletActor final
{
bool Initialized{false};

std::atomic<i64> FsCount{0};
Copy link
Collaborator

Choose a reason for hiding this comment

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

э, что еще за FsCount у конкретной таблетки? он же должен быть равен единице
не надо его тут

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Он не будет репортиться в метрики соответствующей фс. Так же как и следующий. будет только в аггрегированном виде в component=storage

Copy link
Collaborator

Choose a reason for hiding this comment

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

нет, выглядит странно

void TStorageServiceActor::HandleUpdateStats(
- почему ты не можешь вот в этой ф-ции посчитать TabletCount и FileSystemCount (название FsCount тоже ну, блин, режет глаз - у нас везде FileSystem)?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Я не понимаю, зачем считать руками то что за меня могут посчитать автоматически в storage (придется пробрасывать в сервис информацию о том является ли таблетка шардом или нет и еще пересчитывать с учетом media kind). Зачем тащить в сервис то что ему совершенно не нужно?

Copy link
Collaborator

@qkrorlqr qkrorlqr left a comment

Choose a reason for hiding this comment

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

ut

Copy link
Contributor

Note

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

🟢 linux-x86_64-relwithdebinfo: all tests PASSED for commit ba9362f.

TESTS PASSED ERRORS FAILED SKIPPED MUTED?
6297 6297 0 0 0 0

@yegorskii yegorskii added the filestore Add this label to run only cloud/filestore build and tests on PR label Dec 24, 2024
@yegorskii yegorskii changed the title add fs and fs shard counters add fs and tablets counters Dec 24, 2024
Copy link
Contributor

Note

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

🟢 linux-x86_64-relwithdebinfo: all tests PASSED for commit 960aa75.

TESTS PASSED ERRORS FAILED SKIPPED MUTED?
2069 2069 0 0 0 0

Copy link
Contributor

Note

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

🟢 linux-x86_64-relwithdebinfo: all tests PASSED for commit 316e3ea.

TESTS PASSED ERRORS FAILED SKIPPED MUTED?
2069 2069 0 0 0 0

Copy link
Collaborator

@qkrorlqr qkrorlqr left a comment

Choose a reason for hiding this comment

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

#issue

@yegorskii yegorskii added the recheck Add this label to relaunch checks, it will be automatically removed label Jan 16, 2025
@github-actions github-actions bot removed the recheck Add this label to relaunch checks, it will be automatically removed label Jan 16, 2025
@yegorskii yegorskii closed this Jan 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
filestore Add this label to run only cloud/filestore build and tests on PR
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants