Do not report ERROR when sample rate equals 100
This commit is contained in:
@ -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))) {
|
||||
|
||||
Reference in New Issue
Block a user