You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by "xinyiZzz (via GitHub)" <gi...@apache.org> on 2024/04/11 03:14:33 UTC

[PR] [branch-2.1](memory) Fix rowid storage reader memory tracker [doris]

xinyiZzz opened a new pull request, #33521:
URL: https://github.com/apache/doris/pull/33521

   ## Proposed changes
   
   fix
   ```
   F20240411 10:26:06.693233 1368925 thread_context.h:293] __builtin_unreachable, If you crash here, it means that SCOPED_ATTACH_TASK and SCOPED_SWITCH_THREAD_MEM_TRACKER_LIMITER are not used correctly. starting position of each thread is expected to use SCOPED_ATTACH_TASK to bind a MemTrackerLimiter belonging to Query/Load/Compaction/Other Tasks, otherwise memory alloc using Doris Allocator in the thread will crash. If you want to switch MemTrackerLimiter during thread execution, please use SCOPED_SWITCH_THREAD_MEM_TRACKER_LIMITER, do not repeat Attach. Of course, you can modify enable_memory_orphan_check=false in be.conf to avoid this crash.
   *** Check failure stack trace: ***
       @     0x562d9b5aa6a6  google::LogMessage::SendToLog()
       @     0x562d9b5a70f0  google::LogMessage::Flush()
       @     0x562d9b5aaee9  google::LogMessageFatal::~LogMessageFatal()
       @     0x562d7ebd1b7e  doris::thread_context()
       @     0x562d7ec203b8  Allocator<>::sys_memory_check()
       @     0x562d7ec255a3  Allocator<>::memory_check()
       @     0x562d7ec274a1  Allocator<>::alloc_impl()
       @     0x562d7ec27227  Allocator<>::alloc()
       @     0x562d67a12207  doris::vectorized::PODArrayBase<>::alloc<>()
       @     0x562d67a11fde  doris::vectorized::PODArrayBase<>::realloc<>()
       @     0x562d67a11e26  doris::vectorized::PODArrayBase<>::reserve<>()
       @     0x562d77331ee3  doris::vectorized::ColumnVector<>::reserve()
       @     0x562d7e64328e  doris::vectorized::ColumnNullable::reserve()
       @     0x562d7ec79a84  doris::vectorized::Block::Block()
       @     0x562d6b86b81b  doris::PInternalServiceImpl::_multi_get()
       @     0x562d6b8a4a07  doris::PInternalServiceImpl::multiget_data()::$_0::operator()()
   
   ```
   
   ## Further comments
   
   If this is a relatively large or complex change, kick off the discussion at [dev@doris.apache.org](mailto:dev@doris.apache.org) by explaining why you chose the solution you did and what alternatives you considered, etc...
   
   


-- 
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.

To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


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


Re: [PR] [branch-2.1](memory) Fix rowid storage reader memory tracker [doris]

Posted by "xinyiZzz (via GitHub)" <gi...@apache.org>.
xinyiZzz merged PR #33521:
URL: https://github.com/apache/doris/pull/33521


-- 
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.

To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


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


Re: [PR] [branch-2.1](memory) Fix rowid storage reader memory tracker [doris]

Posted by "doris-robot (via GitHub)" <gi...@apache.org>.
doris-robot commented on PR #33521:
URL: https://github.com/apache/doris/pull/33521#issuecomment-2048858333

   Thank you for your contribution to Apache Doris.
   Don't know what should be done next? See [How to process your PR](https://cwiki.apache.org/confluence/display/DORIS/How+to+process+your+PR)
   
   Since 2024-03-18, the Document has been moved to [doris-website](https://github.com/apache/doris-website).
   See [Doris Document](https://cwiki.apache.org/confluence/display/DORIS/Doris+Document).


-- 
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.

To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


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


Re: [PR] [branch-2.1](memory) Fix rowid storage reader memory tracker [doris]

Posted by "xinyiZzz (via GitHub)" <gi...@apache.org>.
xinyiZzz commented on PR #33521:
URL: https://github.com/apache/doris/pull/33521#issuecomment-2048858346

   run buildall


-- 
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.

To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


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


Re: [PR] [branch-2.1](memory) Fix rowid storage reader memory tracker [doris]

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on PR #33521:
URL: https://github.com/apache/doris/pull/33521#issuecomment-2048862931

   clang-tidy review says "All clean, LGTM! :+1:"


-- 
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.

To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


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