Bug 反馈
清晰准确地描述您发现的问题,提供任何可能复现问题的步骤有助于研发同学及时处理问题
【 Bug 的影响】
分区表更新 异常 ,去掉tiflash 副本之后 才能更新正常。
update warning_message force index(PRIMARY) set group_status = 1,ding_task_id=‘522660803969’ where id in(4890064,4890065)
【可能的问题复现步骤】
【看到的非预期行为】
2022.02.17 14:56:29.592282 [ 19450443 ] task 3: task running meets error DB::Exception: Exchange receiver meet error : Receive cancel request from TiDB St
ack Trace : 0. /tiflash/tiflash(StackTrace::StackTrace()+0x16) [0x3921fd6]
- /tiflash/tiflash(DB::Exception::Exception(std::__cxx11::basic_string<char, std::char_traits, std::allocator > const&, int)+0x26) [0x3915e56]
- /tiflash/tiflash(DB::TiRemoteBlockInputStreamDB::ExchangeReceiver::fetchRemoteResult()+0x2f1) [0x76b43d1]
- /tiflash/tiflash(DB::TiRemoteBlockInputStreamDB::ExchangeReceiver::readImpl()+0x3a3) [0x76b5363]
- /tiflash/tiflash(DB::IProfilingBlockInputStream::read(DB::PODArray<unsigned char, 4096ul, Allocator, 15ul, 16ul>*&, bool)+0x3bd) [0x6ffd3bd]
- /tiflash/tiflash(DB::IProfilingBlockInputStream::read()+0x17) [0x6ffd5a7]
- /tiflash/tiflash(DB::SquashingBlockInputStream::readImpl()+0x74) [0x7c16954]
- /tiflash/tiflash(DB::IProfilingBlockInputStream::read(DB::PODArray<unsigned char, 4096ul, Allocator, 15ul, 16ul>*&, bool)+0x3bd) [0x6ffd3bd]
- /tiflash/tiflash(DB::IProfilingBlockInputStream::read()+0x17) [0x6ffd5a7]
- /tiflash/tiflash(DB::ExpressionBlockInputStream::readImpl()+0x1b) [0x7bc1adb]
- /tiflash/tiflash(DB::IProfilingBlockInputStream::read(DB::PODArray<unsigned char, 4096ul, Allocator, 15ul, 16ul>*&, bool)+0x3bd) [0x6ffd3bd]
- /tiflash/tiflash(DB::IProfilingBlockInputStream::read()+0x17) [0x6ffd5a7]
- /tiflash/tiflash(DB::ExpressionBlockInputStream::readImpl()+0x1b) [0x7bc1adb]
- /tiflash/tiflash(DB::IProfilingBlockInputStream::read(DB::PODArray<unsigned char, 4096ul, Allocator, 15ul, 16ul>*&, bool)+0x3bd) [0x6ffd3bd]
- /tiflash/tiflash(DB::IProfilingBlockInputStream::read()+0x17) [0x6ffd5a7]
- /tiflash/tiflash(DB::HashJoinBuildBlockInputStream::readImpl()+0x1b) [0x80a282b]
- /tiflash/tiflash(DB::IProfilingBlockInputStream::read(DB::PODArray<unsigned char, 4096ul, Allocator, 15ul, 16ul>*&, bool)+0x3bd) [0x6ffd3bd]
- /tiflash/tiflash(DB::IProfilingBlockInputStream::read()+0x17) [0x6ffd5a7]
- /tiflash/tiflash(DB::ParallelInputsProcessor<DB::UnionBlockInputStream<(DB::StreamUnionMode)0>::Handler, (DB::StreamUnionMode)0>::loop(unsigned long)+0x156) [
0x773ef76] - /tiflash/tiflash(DB::ParallelInputsProcessor<DB::UnionBlockInputStream<(DB::StreamUnionMode)0>::Handler, (DB::StreamUnionMode)0>::thread(unsigned long)+0x20c)
[0x773f92c] - /tiflash/tiflash() [0x8e571bf]
- /lib64/libpthread.so.0(+0x7dd5) [0x7fb5195e4dd5]
- /lib64/libc.so.6(clone+0x6d) [0x7fb51900bead]
2022.02.17 14:56:29.618009 [ 19450443 ] task 3: Failed to write error DB::Exception: Exchange receiver meet error : Receive cancel request from TiDB to tu
nnel: tunnel3±1: Code: 0, e.displayText() = DB::Exception: MPPTunnel can not be connected because MPPTask is cancelled, e.what() = DB::Exception, Stack trace:
- /tiflash/tiflash(StackTrace::StackTrace()+0x16) [0x3921fd6]
- /tiflash/tiflash(DB::Exception::Exception(std::__cxx11::basic_string<char, std::char_traits, std::allocator > const&, int)+0x26) [0x3915e56]
- /tiflash/tiflash(DB::MPPTunnel::waitUntilConnectedOrCancelled(std::unique_lockstd::mutex&)+0x12d) [0x805763d]
- /tiflash/tiflash(DB::MPPTunnel::write(mpp::MPPDataPacket const&, bool)+0x5f6) [0x8058766]
- /tiflash/tiflash(DB::MPPTask::writeErrToAllTunnel(std::__cxx11::basic_string<char, std::char_traits, std::allocator > const&)+0x92) [0x8052092]
- /tiflash/tiflash(DB::MPPTask::runImpl()+0x11db) [0x805347b]
- /tiflash/tiflash() [0x8e571bf]
- /lib64/libpthread.so.0(+0x7dd5) [0x7fb5195e4dd5]
- /lib64/libc.so.6(clone+0x6d) [0x7fb51900bead]
2022.02.17 14:56:29.618213 [ 19450443 ] TaskManager: The task [431248110620508476,3] cannot be found and fail to unregister
2022.02.17 14:56:29.681897 [ 19450443 ] DB::UnionBlockInputStream::~UnionBlockInputStream() [with DB::StreamUnionMode mode = (DB::StreamUnionMode)0]
: Code: 0, e.displayText() = DB::Exception: Exchange receiver meet error : Receive cancel request from TiDB:
Code: 0, e.displayText() = DB::Exception: Exchange receiver meet error : Receive cancel request from TiDB, e.what() = DB::Exception, e.what() = DB::Exception, Sta
ck trace:
- /tiflash/tiflash(StackTrace::StackTrace()+0x16) [0x3921fd6]
- /tiflash/tiflash(DB::Exception::Exception(std::__cxx11::basic_string<char, std::char_traits, std::allocator > const&, int)+0x26) [0x3915e56]
- /tiflash/tiflash(DB::TiRemoteBlockInputStreamDB::ExchangeReceiver::fetchRemoteResult()+0x2f1) [0x76b43d1]
- /tiflash/tiflash(DB::TiRemoteBlockInputStreamDB::ExchangeReceiver::readImpl()+0x3a3) [0x76b5363]
- /tiflash/tiflash(DB::IProfilingBlockInputStream::read(DB::PODArray<unsigned char, 4096ul, Allocator, 15ul, 16ul>*&, bool)+0x3bd) [0x6ffd3bd]
- /tiflash/tiflash(DB::IProfilingBlockInputStream::read()+0x17) [0x6ffd5a7]
- /tiflash/tiflash(DB::SquashingBlockInputStream::readImpl()+0x74) [0x7c16954]
- /tiflash/tiflash(DB::IProfilingBlockInputStream::read(DB::PODArray<unsigned char, 4096ul, Allocator, 15ul, 16ul>*&, bool)+0x3bd) [0x6ffd3bd]
- /tiflash/tiflash(DB::IProfilingBlockInputStream::read()+0x17) [0x6ffd5a7]
- /tiflash/tiflash(DB::ExpressionBlockInputStream::readImpl()+0x1b) [0x7bc1adb]
- /tiflash/tiflash(DB::IProfilingBlockInputStream::read(DB::PODArray<unsigned char, 4096ul, Allocator, 15ul, 16ul>*&, bool)+0x3bd) [0x6ffd3bd]
- /tiflash/tiflash(DB::IProfilingBlockInputStream::read()+0x17) [0x6ffd5a7]
- /tiflash/tiflash(DB::ExpressionBlockInputStream::readImpl()+0x1b) [0x7bc1adb]
- /tiflash/tiflash(DB::IProfilingBlockInputStream::read(DB::PODArray<unsigned char, 4096ul, Allocator, 15ul, 16ul>*&, bool)+0x3bd) [0x6ffd3bd]
- /tiflash/tiflash(DB::IProfilingBlockInputStream::read()+0x17) [0x6ffd5a7]
- /tiflash/tiflash(DB::HashJoinBuildBlockInputStream::readImpl()+0x1b) [0x80a282b]
- /tiflash/tiflash(DB::IProfilingBlockInputStream::read(DB::PODArray<unsigned char, 4096ul, Allocator, 15ul, 16ul>*&, bool)+0x3bd) [0x6ffd3bd]
- /tiflash/tiflash(DB::IProfilingBlockInputStream::read()+0x17) [0x6ffd5a7]
- /tiflash/tiflash(DB::ParallelInputsProcessor<DB::UnionBlockInputStream<(DB::StreamUnionMode)0>::Handler, (DB::StreamUnionMode)0>::loop(unsigned long)+0x156) [
0x773ef76] - /tiflash/tiflash(DB::ParallelInputsProcessor<DB::UnionBlockInputStream<(DB::StreamUnionMode)0>::Handler, (DB::StreamUnionMode)0>::thread(unsigned long)+0x20c)
[0x773f92c] - /tiflash/tiflash() [0x8e571bf]
- /lib64/libpthread.so.0(+0x7dd5) [0x7fb5195e4dd5]
- /lib64/libc.so.6(clone+0x6d) [0x7fb51900bead]
【期望看到的行为】
【相关组件及具体版本】
tidb 5.2.2 tiflash 5.2.2
【其他背景信息或者截图】
如集群拓扑,系统和内核版本,应用 app 信息等;如果问题跟 SQL 有关,请提供 SQL 语句和相关表的 Schema 信息;如果节点日志存在关键报错,请提供相关节点的日志内容或文件;如果一些业务敏感信息不便提供,请留下联系方式,我们与您私下沟通。