From f318024ac98d5d06ab4a6da8a05729ce51807c1d Mon Sep 17 00:00:00 2001 From: shenglian zhou Date: Fri, 27 Aug 2021 15:59:04 +0800 Subject: [PATCH] schemaless:add some sleep after column exists and table exists --- src/client/src/tscParseLineProtocol.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/client/src/tscParseLineProtocol.c b/src/client/src/tscParseLineProtocol.c index 6c30c78643..c8f4f4ec65 100644 --- a/src/client/src/tscParseLineProtocol.c +++ b/src/client/src/tscParseLineProtocol.c @@ -383,6 +383,7 @@ static int32_t applySchemaAction(TAOS* taos, SSchemaAction* action, SSmlLinesInf tscError("SML:0x%" PRIx64 " apply schema action. reset query cache. error: %s", info->id, taos_errstr(res2)); } taos_free_result(res2); + taosMsleep(50); } break; } @@ -404,6 +405,7 @@ static int32_t applySchemaAction(TAOS* taos, SSchemaAction* action, SSmlLinesInf tscError("SML:0x%" PRIx64 " apply schema action. reset query cache. error: %s", info->id, taos_errstr(res2)); } taos_free_result(res2); + taosMsleep(50); } break; } @@ -425,6 +427,7 @@ static int32_t applySchemaAction(TAOS* taos, SSchemaAction* action, SSmlLinesInf tscError("SML:0x%" PRIx64 " apply schema action. reset query cache. error: %s", info->id, taos_errstr(res2)); } taos_free_result(res2); + taosMsleep(50); } break; } @@ -446,6 +449,7 @@ static int32_t applySchemaAction(TAOS* taos, SSchemaAction* action, SSmlLinesInf tscError("SML:0x%" PRIx64 " apply schema action. reset query cache. error: %s", info->id, taos_errstr(res2)); } taos_free_result(res2); + taosMsleep(50); } break; } @@ -487,6 +491,7 @@ static int32_t applySchemaAction(TAOS* taos, SSchemaAction* action, SSmlLinesInf tscError("SML:0x%" PRIx64 " apply schema action. reset query cache. error: %s", info->id, taos_errstr(res2)); } taos_free_result(res2); + taosMsleep(50); } break; } -- GitLab