Do not report ERROR when sample rate equals 100

This commit is contained in:
ZenoWang
2024-02-06 14:49:31 +00:00
committed by ob-robot
parent 1f1d5c08ae
commit c8ef409bf3
3710 changed files with 486984 additions and 3083329 deletions

View File

@ -41,16 +41,6 @@ int ObTabletCacheInterval::next_value(uint64_t &next_value)
return ret;
}
int ObTabletCacheInterval::get_value(uint64_t &value)
{
int ret = OB_SUCCESS;
value = next_value_;
if (value + 1 > end_) {
ret = OB_EAGAIN;
}
return ret;
}
int ObTabletCacheInterval::fetch(uint64_t count, ObTabletCacheInterval &dest)
{
int ret = OB_SUCCESS;
@ -292,8 +282,8 @@ int ObTabletAutoincSeq::deserialize(
{
int ret = OB_SUCCESS;
int64_t len = 0;
OB_UNIS_DECODE(version_);
OB_UNIS_DECODE(len);
OB_UNIS_DECODEx(version_);
OB_UNIS_DECODEx(len);
if (OB_SUCC(ret)) {
int64_t tmp_pos = 0;
if (OB_FAIL(deserialize_(allocator, buf + pos, len, tmp_pos))) {