-
Notifications
You must be signed in to change notification settings - Fork 556
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
Nemesis statistics workload #8919
Nemesis statistics workload #8919
Conversation
⚪
🟢 |
⚪ ⚪
⚪
🟢 |
return | ||
|
||
logger.info("waiting to receive information about the table from scheme shard") | ||
time.sleep(300) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
А точно нужны эти слипы? Типа слип на 5 минут выглядит как перебор
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Этот точно нужен. Он ждет пока информация о таблице дотечет до агрегатора статистики. Иначе команда ANALYZE отработает в холостую и статистики не будет. Такая вот особенность имплементации.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
А почему именно 5 минут?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
3 минуты планировщик срабатывания SchemeShard + 1 минута планировщик обхода StatisticsAggregator-а. Так что 5 минут с запасом.
⚪
🟢 |
⚪
🟢 |
⚪
🟢 |
⚪
🟢 |
Changelog entry
Test scenario for statistics under nemesis.
Changelog category
Additional information