提交 6881bd16 编写于 作者: O obdev 提交者: ob-robot

[4.1] fix tablet_gc service bug that when tablet gc in a logstream error stop...

[4.1] fix tablet_gc service bug that when tablet gc in a logstream error stop the loop of the remaining log stream
上级 f4cd4696
......@@ -137,7 +137,7 @@ void ObTabletGCService::ObTabletChangeTask::runTimerTask()
} else {
ObLS *ls = NULL;
int ls_cnt = 0;
for (; OB_SUCC(ret) && OB_SUCC(iter->get_next(ls)); ++ls_cnt) {
for (; OB_SUCC(iter->get_next(ls)); ++ls_cnt) {
ObTabletGCHandler *tablet_gc_handler = NULL;
if (OB_ISNULL(ls)) {
ret = OB_ERR_UNEXPECTED;
......@@ -240,7 +240,7 @@ void ObTabletGCService::ObTabletGCTask::runTimerTask()
} else {
ObLS *ls = NULL;
int ls_cnt = 0;
for (; OB_SUCC(ret) && OB_SUCC(iter->get_next(ls)); ++ls_cnt) {
for (; OB_SUCC(iter->get_next(ls)); ++ls_cnt) {
ObTabletGCHandler *tablet_gc_handler = NULL;
if (OB_ISNULL(ls)) {
ret = OB_ERR_UNEXPECTED;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册