[TABLELOCK] fix several bugs about timeout in tablelock
This commit is contained in:
@ -56,6 +56,7 @@ int MockObAccessService::insert_rows(
|
||||
tablet_id,
|
||||
ObStoreAccessType::MODIFY,
|
||||
dml_param,
|
||||
dml_param.timeout_,
|
||||
tx_desc,
|
||||
tablet_handle,
|
||||
ctx_guard))) {
|
||||
|
||||
@ -526,7 +526,7 @@ int ObTxNode::read(const ObTxReadSnapshot &snapshot,
|
||||
OZ(txs_.get_read_store_ctx(snapshot, false, 5000ll * 1000, read_store_ctx));
|
||||
// HACK, refine: mock LS's each member in some way
|
||||
read_store_ctx.mvcc_acc_ctx_.tx_table_guards_.tx_table_guard_.init(&fake_tx_table_);
|
||||
read_store_ctx.mvcc_acc_ctx_.abs_lock_timeout_ = ObTimeUtility::current_time() + 5000ll * 1000;
|
||||
read_store_ctx.mvcc_acc_ctx_.abs_lock_timeout_ts_ = ObTimeUtility::current_time() + 5000ll * 1000;
|
||||
blocksstable::ObDatumRow row;
|
||||
{
|
||||
ObTableIterParam iter_param;
|
||||
|
||||
Reference in New Issue
Block a user