Fix estimate row count of data inserted by current trx

This commit is contained in:
haitaoyang
2023-05-10 13:28:12 +00:00
committed by ob-robot
parent e23cc9ead4
commit cb1af1dc53
13 changed files with 45 additions and 19 deletions

View File

@ -36,6 +36,7 @@ int ObStorageEstimator::estimate_row_count(const obrpc::ObEstPartArg &arg,
param.scan_flag_ = arg.index_params_.at(i).scan_flag_;
param.tablet_id_ = arg.index_params_.at(i).tablet_id_;
param.ls_id_ = arg.index_params_.at(i).ls_id_;
param.tx_id_ = arg.index_params_.at(i).tx_id_;
if (OB_FAIL(storage_estimate_rowcount(
arg.index_params_.at(i).tenant_id_,
param,