This is an automated email from the ASF dual-hosted git repository.

zouxinyi pushed a commit to branch dev-1.1.2
in repository https://gitbox.apache.org/repos/asf/doris.git


The following commit(s) were added to refs/heads/dev-1.1.2 by this push:
     new 0b41811e7a Revert "[fix](memtracker) Fix memtracker did not subtract 
the memory released by load channel cancel (#12405)"
0b41811e7a is described below

commit 0b41811e7afab12eca5709bfe352c26beeb39d97
Author: Xinyi Zou <zouxiny...@gmail.com>
AuthorDate: Thu Sep 8 12:50:41 2022 +0800

    Revert "[fix](memtracker) Fix memtracker did not subtract the memory 
released by load channel cancel (#12405)"
    
    This reverts commit a33ce077bf4a0d375c57226fed6835c429e894ad.
---
 be/src/olap/delta_writer.cpp | 1 -
 1 file changed, 1 deletion(-)

diff --git a/be/src/olap/delta_writer.cpp b/be/src/olap/delta_writer.cpp
index ed59ea1bbd..b33b5b215b 100644
--- a/be/src/olap/delta_writer.cpp
+++ b/be/src/olap/delta_writer.cpp
@@ -325,7 +325,6 @@ OLAPStatus DeltaWriter::cancel() {
     if (!_is_init || _is_cancelled) {
         return OLAP_SUCCESS;
     }
-    SCOPED_ATTACH_TASK(_mem_tracker, ThreadContext::TaskType::LOAD);
     _mem_table.reset();
     if (_flush_token != nullptr) {
         // cancel and wait all memtables in flush queue to be finished


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org
For additional commands, e-mail: commits-h...@doris.apache.org

Reply via email to