add defensive code in build table store && get report info

This commit is contained in:
obdev
2022-11-11 04:39:56 +00:00
committed by wangzelin.wzl
parent a003a7def8
commit ece07a478e
5 changed files with 34 additions and 19 deletions

View File

@ -1946,8 +1946,8 @@ int ObService::inner_fill_tablet_info_(
int64_t data_size = 0;
int64_t required_size = 0;
ObArray<int64_t> column_checksums;
if (OB_FAIL(tablet_handle.get_obj()->get_tablet_report_info(column_checksums, data_size,
required_size, need_checksum))) {
if (OB_FAIL(tablet_handle.get_obj()->get_tablet_report_info(snapshot_version, column_checksums,
data_size, required_size, need_checksum))) {
LOG_WARN("fail to get tablet report info from tablet", KR(ret), K(tenant_id), K(tablet_id));
} else if (OB_FAIL(tablet_replica.init(
tenant_id,