Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
taosdata
TDengine
提交
de18f302
TDengine
项目概览
taosdata
/
TDengine
1 年多 前同步成功
通知
1185
Star
22016
Fork
4786
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
1
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
TDengine
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
1
Issue
1
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
未验证
提交
de18f302
编写于
1月 24, 2022
作者:
H
Haojun Liao
提交者:
GitHub
1月 24, 2022
浏览文件
操作
浏览文件
下载
差异文件
Merge pull request #9985 from taosdata/feature/3.0_liaohj
Feature/3.0 liaohj
上级
802f0622
a00a2b27
变更
2
隐藏空白更改
内联
并排
Showing
2 changed file
with
7 addition
and
6 deletion
+7
-6
source/client/src/clientEnv.c
source/client/src/clientEnv.c
+3
-1
source/libs/catalog/src/catalog.c
source/libs/catalog/src/catalog.c
+4
-5
未找到文件。
source/client/src/clientEnv.c
浏览文件 @
de18f302
...
...
@@ -67,7 +67,9 @@ static void deregisterRequest(SRequestObj* pRequest) {
int32_t
currentInst
=
atomic_sub_fetch_32
(
&
pActivity
->
currentRequests
,
1
);
int32_t
num
=
atomic_sub_fetch_32
(
&
pTscObj
->
numOfReqs
,
1
);
tscDebug
(
"0x%"
PRIx64
" free Request from connObj: 0x%"
PRIx64
", current:%d, app current:%d"
,
pRequest
->
self
,
pTscObj
->
id
,
num
,
currentInst
);
int64_t
duration
=
taosGetTimestampMs
()
-
pRequest
->
metric
.
start
;
tscDebug
(
"0x%"
PRIx64
" free Request from connObj: 0x%"
PRIx64
", reqId:0x%"
PRIx64
" elapsed:%"
PRIu64
" ms, current:%d, app current:%d"
,
pRequest
->
self
,
pTscObj
->
id
,
pRequest
->
requestId
,
duration
,
num
,
currentInst
);
taosReleaseRef
(
clientConnRefPool
,
pTscObj
->
id
);
}
...
...
source/libs/catalog/src/catalog.c
浏览文件 @
de18f302
...
...
@@ -86,7 +86,7 @@ int32_t ctgGetDBVgroupFromMnode(struct SCatalog* pCatalog, void *pRpc, const SEp
rpcSendRecv
(
pRpc
,
(
SEpSet
*
)
pMgmtEps
,
&
rpcMsg
,
&
rpcRsp
);
if
(
TSDB_CODE_SUCCESS
!=
rpcRsp
.
code
)
{
ctgError
(
"error rsp for use db, code:%
x, db:%s"
,
rpcRsp
.
code
,
input
->
db
);
ctgError
(
"error rsp for use db, code:%
s, db:%s"
,
tstrerror
(
rpcRsp
.
code
)
,
input
->
db
);
CTG_ERR_RET
(
rpcRsp
.
code
);
}
...
...
@@ -258,7 +258,7 @@ int32_t ctgGetTableMetaFromMnodeImpl(struct SCatalog* pCatalog, void *pTransport
return
TSDB_CODE_SUCCESS
;
}
ctgError
(
"error rsp for stablemeta from mnode, code:%
x, tbName:%s"
,
rpcRsp
.
code
,
tbFullName
);
ctgError
(
"error rsp for stablemeta from mnode, code:%
s, tbName:%s"
,
tstrerror
(
rpcRsp
.
code
)
,
tbFullName
);
CTG_ERR_RET
(
rpcRsp
.
code
);
}
...
...
@@ -320,18 +320,17 @@ int32_t ctgGetTableMetaFromVnode(struct SCatalog* pCatalog, void *pTransporter,
return
TSDB_CODE_SUCCESS
;
}
ctgError
(
"error rsp for table meta from vnode, code:%
x, tbName:%s"
,
rpcRsp
.
code
,
tNameGetTableName
(
pTableName
));
ctgError
(
"error rsp for table meta from vnode, code:%
s, tbName:%s"
,
tstrerror
(
rpcRsp
.
code
)
,
tNameGetTableName
(
pTableName
));
CTG_ERR_RET
(
rpcRsp
.
code
);
}
code
=
queryProcessMsgRsp
[
TMSG_INDEX
(
TDMT_VND_TABLE_META
)](
output
,
rpcRsp
.
pCont
,
rpcRsp
.
contLen
);
if
(
code
)
{
ctgError
(
"Process vnode tablemeta rsp failed, code:%
x, tbName:%s"
,
code
,
tNameGetTableName
(
pTableName
));
ctgError
(
"Process vnode tablemeta rsp failed, code:%
s, tbName:%s"
,
tstrerror
(
code
)
,
tNameGetTableName
(
pTableName
));
CTG_ERR_RET
(
code
);
}
ctgDebug
(
"Got table meta from vnode, db:%s, tbName:%s"
,
dbFullName
,
tNameGetTableName
(
pTableName
));
return
TSDB_CODE_SUCCESS
;
}
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录