gaodayue opened a new issue #2869: BE core when load job is cancelled
URL: https://github.com/apache/incubator-doris/issues/2869
 
 
   **Describe the bug**
   BE cores with the following stack trace.
   
   ```
   #0  doris::MemTable::insert (this=0x0, tuple=0x19afbe2000) at 
/home/kangkaisen/palo/be/src/olap/memtable.cpp:67
   #1  0x00000000014fc900 in doris::DeltaWriter::write (this=0x8ada7dd00, 
tuple=<optimized out>) at /home/kangkaisen/palo/be/src/olap/delta_writer.cpp:162
   #2  0x0000000000ff0c1e in doris::TabletsChannel::add_batch 
(this=this@entry=0x14b1ec1e00, params=...) at 
/home/kangkaisen/palo/be/src/runtime/tablets_channel.cpp:94
   #3  0x0000000000fed836 in doris::LoadChannel::add_batch 
(this=this@entry=0x15380d83c0, request=..., 
tablet_vec=tablet_vec@entry=0x84d30dd78) at 
/home/kangkaisen/palo/be/src/runtime/load_channel.cpp:91
   #4  0x0000000000fe8b41 in doris::LoadChannelMgr::add_batch (this=0x5dcf100, 
request=..., tablet_vec=0x84d30dd78, 
wait_lock_time_ns=wait_lock_time_ns@entry=0x7f84ff0a8ee0)
       at /home/kangkaisen/palo/be/src/runtime/load_channel_mgr.cpp:125
   #5  0x0000000001058be5 in 
doris::PInternalServiceImpl<palo::PInternalService>::tablet_writer_add_batch(google::protobuf::RpcController*,
 doris::PTabletWriterAddBatchRequest const*, 
doris::PTabletWriterAddBatchResult*, 
google::protobuf::Closure*)::{lambda()#1}::operator()() const 
(__closure=0x614a1d9c0) at 
/home/kangkaisen/palo/be/src/service/internal_service.cpp:109
   ```
   `_state` of `TabletsChannel` is `kFinished`, log contains message "load 
channel has been cancelled: 1e463d0340df7670-2f2bf1d87f86448b". Therefore it is 
clear that writing an already cancelled channel caused the bug.
   

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

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

Reply via email to