acelyc111 commented on a change in pull request #5124: URL: https://github.com/apache/incubator-doris/pull/5124#discussion_r551827315
########## File path: be/src/olap/olap_server.cpp ########## @@ -314,6 +314,7 @@ void StorageEngine::_compaction_tasks_producer_callback() { ProfilerRegisterThread(); #endif LOG(INFO) << "try to start compaction producer process!"; + int64_t interval = config::generate_compaction_tasks_min_interval_ms; Review comment: You defined it as a mutable config, you should reassign `interval ` in while loop. ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For additional commands, e-mail: commits-h...@doris.apache.org