Skip to content

Commit 0f85e9b

Browse files
obdevfootka
authored andcommitted
fix rpc error
Co-authored-by: footka <672528926@qq.com>
1 parent 45d7e4c commit 0f85e9b

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

deps/oblib/src/rpc/obrpc/ob_local_procedure_call.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -244,6 +244,7 @@ int post(ObRpcProxy& proxy, ObRpcPacketCode pcode, const Input& args, UCB* ucb,
244244
} else {
245245
if (OB_NOT_NULL(new_cb)) {
246246
auto *newcb = reinterpret_cast<UCB*>(new_cb);
247+
set_ucb_args(newcb, args);
247248
init_ucb(proxy, newcb, start_ts, payload_sz);
248249
}
249250
int64_t receive_ts = ObTimeUtility::current_time();

src/storage/tx/ob_trans_service_v4.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,7 @@ int ObTransService::do_commit_tx_(ObTxDesc &tx,
210210
return ret;
211211
}
212212

213-
#define DELETED_UNRETRYABLE_ERROR(ret) (OB_LS_IS_DELETED == ret || OB_TENANT_HAS_BEEN_DROPPED)
213+
#define DELETED_UNRETRYABLE_ERROR(ret) (OB_LS_IS_DELETED == ret || OB_TENANT_HAS_BEEN_DROPPED == ret)
214214
/*
215215
* try send commit msg to coordinator, and register retry task
216216
* if msg send fail, the retry task will retry later

0 commit comments

Comments
 (0)