Fix unexpected is_synced flag after error

This commit is contained in:
Hongqin-Li
2022-11-02 15:36:08 +00:00
committed by wangzelin.wzl
parent 118f0e1943
commit de361652db

View File

@ -1843,7 +1843,9 @@ int ObSyncTabletAutoincSeqCtx::sync()
LOG_WARN("failed to call and process", K(ret));
}
}
is_synced_ = true;
if (OB_SUCC(ret)) {
is_synced_ = true;
}
}
}
return ret;