Fix core that dtl free dtl buffer from rpc wrongly

This commit is contained in:
lz0
2022-03-23 14:00:45 +08:00
committed by LINxiansheng
parent 346a6fb777
commit edb1623a7c
6 changed files with 43 additions and 28 deletions

View File

@ -96,7 +96,6 @@ int ObDtlLocalChannel::send_shared_message(ObDtlLinkedBuffer*& buf)
KP(buf));
bool is_eof = buf->is_eof();
if (OB_FAIL(DTL.get_dfc_server().cache(/*buf->tenant_id(), */ peer_id_, buf, true))) {
ret = tmp_ret;
LOG_WARN("get DTL channel fail", KP(peer_id_), "peer", get_peer(), K(ret), K(tmp_ret));
} else {
// return block after cache first msg