Skip to content

Commit

Permalink
save work
Browse files Browse the repository at this point in the history
Signed-off-by: xufei <xufeixw@mail.ustc.edu.cn>
  • Loading branch information
windtalker committed Aug 21, 2023
1 parent 3333aba commit 3921c72
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions dbms/src/Core/QueryOperatorSpillContexts.h
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,7 @@ class QueryOperatorSpillContexts
{
public:
QueryOperatorSpillContexts(const MPPQueryId & query_id, UInt64 auto_spill_check_min_interval_ms)
: auto_spill_check_min_interval_ns(
auto_spill_check_min_interval_ms == 0 ? std::numeric_limits<UInt64>::max()
: auto_spill_check_min_interval_ms * 1000000ULL)
: auto_spill_check_min_interval_ns(auto_spill_check_min_interval_ms * 1000000ULL)
, log(Logger::get(query_id.toString()))
{
watch.start();
Expand All @@ -42,7 +40,6 @@ class QueryOperatorSpillContexts
{
first_check = true;
log_level = Poco::Message::PRIO_INFORMATION;
LOG_INFO(log, "Query memory usage exceeded threshold, trigger auto spill check");
}

LOG_IMPL(log, log_level, "Query memory usage exceeded threshold, trigger auto spill check, expected released memory: {}", expected_released_memories);
Expand Down

0 comments on commit 3921c72

Please sign in to comment.