fix catalog bug

This commit is contained in:
dapan1121 2022-05-20 11:52:10 +08:00
parent 7baf8eab29
commit c00ef1c64f
1 changed files with 3 additions and 0 deletions

View File

@ -241,6 +241,9 @@ int32_t ctgGetTbMeta(CTG_PARAMS, SCtgTbMetaCtx* ctx, STableMeta** pTableMeta) {
STableMetaOutput *output = NULL;
CTG_ERR_RET(ctgGetTbMetaFromCache(CTG_PARAMS_LIST(), ctx, pTableMeta));
if (*pTableMeta) {
goto _return;
}
while (true) {
CTG_ERR_JRET(ctgRefreshTbMeta(CTG_PARAMS_LIST(), ctx, &output, false));