Add tx snapshot for 4377 check in index lookup.
This commit is contained in:
@ -1130,6 +1130,7 @@ int ObLocalIndexLookupOp::check_lookup_row_cnt()
|
||||
"lookup_group_cnt", get_lookup_group_cnt(),
|
||||
"index_table_id", index_ctdef_->ref_table_id_ ,
|
||||
"data_table_tablet_id", tablet_id_ ,
|
||||
KPC_(snapshot),
|
||||
KPC_(tx_desc));
|
||||
if (trans_info_array_.count() == scan_param_.key_ranges_.count()) {
|
||||
for (int64_t i = 0; i < trans_info_array_.count(); i++) {
|
||||
|
||||
@ -3354,6 +3354,7 @@ int ObGlobalIndexLookupOpImpl::check_lookup_row_cnt()
|
||||
"index_group_cnt", get_index_group_cnt(),
|
||||
"lookup_group_cnt", get_lookup_group_cnt(),
|
||||
"index_table_id", table_scan_op_->get_tsc_spec().get_ref_table_id(),
|
||||
K(DAS_CTX(table_scan_op_->get_exec_ctx()).get_snapshot()),
|
||||
KPC(my_session->get_tx_desc()));
|
||||
//now to dump lookup das task info
|
||||
int64_t rownum = 0;
|
||||
|
||||
Reference in New Issue
Block a user