[CP] fix estimate local index size not working properly
This commit is contained in:
committed by
wangzelin.wzl
parent
d225c70101
commit
8f6468f3ee
@ -1424,7 +1424,7 @@ int ObBuildIndexScheduleTask::get_data_size(int64_t &data_size)
|
|||||||
ObFetchSstableSizeRes res;
|
ObFetchSstableSizeRes res;
|
||||||
arg.pkey_ = pkey_;
|
arg.pkey_ = pkey_;
|
||||||
arg.index_id_ = index_id_;
|
arg.index_id_ = index_id_;
|
||||||
if (OB_UNLIKELY(candidate_replica_.is_valid())) {
|
if (OB_UNLIKELY(!candidate_replica_.is_valid())) {
|
||||||
ret = OB_ERR_UNEXPECTED;
|
ret = OB_ERR_UNEXPECTED;
|
||||||
STORAGE_LOG(WARN, "candidate replica is invalid", K(ret), K(candidate_replica_));
|
STORAGE_LOG(WARN, "candidate replica is invalid", K(ret), K(candidate_replica_));
|
||||||
} else if (OB_FAIL(GCTX.srv_rpc_proxy_->to(candidate_replica_).fetch_sstable_size(arg, res))) {
|
} else if (OB_FAIL(GCTX.srv_rpc_proxy_->to(candidate_replica_).fetch_sstable_size(arg, res))) {
|
||||||
|
|||||||
Reference in New Issue
Block a user