less noisy logs

This commit is contained in:
Sema Checherinda 2024-07-10 13:48:52 +02:00
parent bd62fecd31
commit bde1d2fe92
2 changed files with 0 additions and 7 deletions

View File

@ -838,7 +838,6 @@ DatabaseCatalog::DatabaseCatalog(ContextMutablePtr global_context_)
, loading_dependencies{"LoadingDeps"}
, view_dependencies{"ViewDeps"}
, log(getLogger("DatabaseCatalog"))
, limitedLog(std::make_shared<LogSeriesLimiter>(log, 1, 20))
, first_async_drop_in_queue(tables_marked_dropped.end())
{
}
@ -1274,10 +1273,6 @@ void DatabaseCatalog::rescheduleDropTableTask()
if (first_async_drop_in_queue != tables_marked_dropped.begin())
{
LOG_TRACE(
limitedLog,
"Have {} tables in queue to drop. Some of them are being dropped in sync mode. Schedule background task ASAP",
tables_marked_dropped.size());
(*drop_task)->scheduleAfter(0);
return;
}

View File

@ -7,7 +7,6 @@
#include <Parsers/IAST_fwd.h>
#include <Storages/IStorage_fwd.h>
#include <Common/SharedMutex.h>
#include <Common/logger_useful.h>
#include <boost/noncopyable.hpp>
#include <Poco/Logger.h>
@ -326,7 +325,6 @@ private:
TablesDependencyGraph view_dependencies TSA_GUARDED_BY(databases_mutex);
LoggerPtr log;
LogSeriesLimiterPtr limitedLog;
std::atomic_bool is_shutting_down = false;