mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-22 07:31:57 +00:00
less noisy logs
This commit is contained in:
parent
bd62fecd31
commit
bde1d2fe92
@ -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;
|
||||
}
|
||||
|
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user