fix ObTabletReplicaChecksumOperator::batch_get() function

This commit is contained in:
obdev
2022-12-05 11:10:43 +00:00
committed by ob-robot
parent f8f024230a
commit fe0f4f29cd
3 changed files with 33 additions and 62 deletions

View File

@ -104,10 +104,12 @@ public:
class ObTabletReplicaChecksumOperator
{
public:
// This function is specifically designed for ObTabletReplicaChecksumIterator.
// This function would remove the last several checksum items in some cases.
// Please do not call this function in any other place, except ObTabletReplicaChecksumIterator.
static int batch_get(
const uint64_t tenant_id,
const ObTabletLSPair &start_pair,
const int64_t batch_cnt,
const SCN &compaction_scn,
common::ObISQLClient &sql_proxy,
common::ObIArray<ObTabletReplicaChecksumItem> &items);