Skip to content

Commit 3a914af

Browse files
authored
Reset traversal for tables with TraversalStarted status (#8441)
1 parent 02dbcf2 commit 3a914af

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

ydb/core/statistics/aggregator/tx_init.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -236,6 +236,9 @@ struct TStatisticsAggregator::TTxInit : public TTxBase {
236236
if (status == TForceTraversalTable::EStatus::AnalyzeStarted) {
237237
// Resent TEvAnalyzeTable to shards
238238
status = TForceTraversalTable::EStatus::None;
239+
} else if (status == TForceTraversalTable::EStatus::TraversalStarted) {
240+
// Reset traversal
241+
status = TForceTraversalTable::EStatus::AnalyzeFinished;
239242
}
240243

241244
auto pathId = TPathId(ownerId, localPathId);

0 commit comments

Comments
 (0)