Nemesis statistics workload#8919
Nemesis statistics workload#8919andrewstalin merged 6 commits intoydb-platform:mainfrom andrewstalin:statistics-service-nemesis
Conversation
|
⚪
🟢 |
|
⚪ ⚪ Details
⚪
🟢 |
| return | ||
|
|
||
| logger.info("waiting to receive information about the table from scheme shard") | ||
| time.sleep(300) |
There was a problem hiding this comment.
А точно нужны эти слипы? Типа слип на 5 минут выглядит как перебор
There was a problem hiding this comment.
Этот точно нужен. Он ждет пока информация о таблице дотечет до агрегатора статистики. Иначе команда ANALYZE отработает в холостую и статистики не будет. Такая вот особенность имплементации.
There was a problem hiding this comment.
А почему именно 5 минут?
There was a problem hiding this comment.
3 минуты планировщик срабатывания SchemeShard + 1 минута планировщик обхода StatisticsAggregator-а. Так что 5 минут с запасом.
|
⚪
🟢 |
|
⚪
🟢 |
|
⚪
🟢 |
|
⚪
🟢 |
Changelog entry
Test scenario for statistics under nemesis.
Changelog category
Additional information