File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed
ydb/core/statistics/aggregator Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -270,8 +270,13 @@ struct TStatisticsAggregator::TTxInit : public TTxBase {
270
270
Self->SubscribeForConfigChanges (ctx);
271
271
272
272
Self->Schedule (Self->PropagateInterval , new TEvPrivate::TEvPropagate ());
273
- Self->Schedule (Self->TraversalPeriod , new TEvPrivate::TEvScheduleTraversal ());
274
- Self->Schedule (Self->SendAnalyzePeriod , new TEvPrivate::TEvSendAnalyze ());
273
+
274
+ if (Self->EnableColumnStatistics ) {
275
+ Self->Schedule (Self->TraversalPeriod , new TEvPrivate::TEvScheduleTraversal ());
276
+ Self->Schedule (Self->SendAnalyzePeriod , new TEvPrivate::TEvSendAnalyze ());
277
+ } else {
278
+ SA_LOG_W (" [" << Self->TabletID () << " ] TTxInit::Complete. EnableColumnStatistics=false" );
279
+ }
275
280
276
281
Self->InitializeStatisticsTable ();
277
282
You can’t perform that action at this time.
0 commit comments