Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
taosdata
TDengine
提交
02713123
T
TDengine
项目概览
taosdata
/
TDengine
1 年多 前同步成功
通知
1185
Star
22016
Fork
4786
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
1
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
T
TDengine
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
1
Issue
1
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
提交
02713123
编写于
12月 31, 2020
作者:
H
Hongze Cheng
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
make min diff with develop
上级
2b44c08f
变更
15
隐藏空白更改
内联
并排
Showing
15 changed file
with
19 addition
and
19 deletion
+19
-19
src/client/src/tscSystem.c
src/client/src/tscSystem.c
+3
-3
src/dnode/inc/dnodeStep.h
src/dnode/inc/dnodeStep.h
+1
-1
src/dnode/inc/dnodeVMgmt.h
src/dnode/inc/dnodeVMgmt.h
+1
-1
src/dnode/inc/dnodeVnodes.h
src/dnode/inc/dnodeVnodes.h
+1
-1
src/dnode/src/dnodeMInfos.c
src/dnode/src/dnodeMInfos.c
+2
-2
src/dnode/src/dnodeShell.c
src/dnode/src/dnodeShell.c
+1
-1
src/dnode/src/dnodeStep.c
src/dnode/src/dnodeStep.c
+1
-1
src/dnode/src/dnodeVnodes.c
src/dnode/src/dnodeVnodes.c
+2
-2
src/inc/vnode.h
src/inc/vnode.h
+1
-1
src/vnode/inc/vnodeMain.h
src/vnode/inc/vnodeMain.h
+1
-1
src/vnode/inc/vnodeStatus.h
src/vnode/inc/vnodeStatus.h
+1
-1
src/vnode/inc/vnodeSync.h
src/vnode/inc/vnodeSync.h
+1
-1
src/vnode/inc/vnodeWorker.h
src/vnode/inc/vnodeWorker.h
+1
-1
src/vnode/inc/vnodeWrite.h
src/vnode/inc/vnodeWrite.h
+1
-1
src/vnode/src/vnodeMgmt.c
src/vnode/src/vnodeMgmt.c
+1
-1
未找到文件。
src/client/src/tscSystem.c
浏览文件 @
02713123
...
@@ -124,11 +124,11 @@ void taos_init_imp(void) {
...
@@ -124,11 +124,11 @@ void taos_init_imp(void) {
}
}
tscTmr
=
taosTmrInit
(
tsMaxConnections
*
2
,
200
,
60000
,
"TSC"
);
tscTmr
=
taosTmrInit
(
tsMaxConnections
*
2
,
200
,
60000
,
"TSC"
);
if
(
0
==
tscEmbedded
)
{
if
(
0
==
tscEmbedded
)
{
taosTmrReset
(
tscCheckDiskUsage
,
10
,
NULL
,
tscTmr
,
&
tscCheckDiskUsageTmr
);
taosTmrReset
(
tscCheckDiskUsage
,
10
,
NULL
,
tscTmr
,
&
tscCheckDiskUsageTmr
);
}
}
int64_t
refreshTime
=
10
;
// 10 seconds by default
int64_t
refreshTime
=
10
;
// 10 seconds by default
if
(
tscMetaCache
==
NULL
)
{
if
(
tscMetaCache
==
NULL
)
{
tscMetaCache
=
taosCacheInit
(
TSDB_DATA_TYPE_BINARY
,
refreshTime
,
false
,
tscFreeTableMetaHelper
,
"tableMeta"
);
tscMetaCache
=
taosCacheInit
(
TSDB_DATA_TYPE_BINARY
,
refreshTime
,
false
,
tscFreeTableMetaHelper
,
"tableMeta"
);
tscObjRef
=
taosOpenRef
(
40960
,
tscFreeRegisteredSqlObj
);
tscObjRef
=
taosOpenRef
(
40960
,
tscFreeRegisteredSqlObj
);
...
...
src/dnode/inc/dnodeStep.h
浏览文件 @
02713123
...
@@ -30,4 +30,4 @@ void dnodeSendStartupStep(SRpcMsg *pMsg);
...
@@ -30,4 +30,4 @@ void dnodeSendStartupStep(SRpcMsg *pMsg);
}
}
#endif
#endif
#endif
#endif
\ No newline at end of file
src/dnode/inc/dnodeVMgmt.h
浏览文件 @
02713123
...
@@ -29,4 +29,4 @@ void dnodeDispatchToVMgmtQueue(SRpcMsg *rpcMsg);
...
@@ -29,4 +29,4 @@ void dnodeDispatchToVMgmtQueue(SRpcMsg *rpcMsg);
}
}
#endif
#endif
#endif
#endif
\ No newline at end of file
src/dnode/inc/dnodeVnodes.h
浏览文件 @
02713123
...
@@ -31,4 +31,4 @@ void dnodeSendStatusMsgToMnode();
...
@@ -31,4 +31,4 @@ void dnodeSendStatusMsgToMnode();
}
}
#endif
#endif
#endif
#endif
\ No newline at end of file
src/dnode/src/dnodeMInfos.c
浏览文件 @
02713123
...
@@ -305,7 +305,7 @@ void dnodeSendRedirectMsg(SRpcMsg *rpcMsg, bool forShell) {
...
@@ -305,7 +305,7 @@ void dnodeSendRedirectMsg(SRpcMsg *rpcMsg, bool forShell) {
}
else
{
}
else
{
dnodeGetEpSetForPeer
(
&
epSet
);
dnodeGetEpSetForPeer
(
&
epSet
);
}
}
dDebug
(
"msg:%s will be redirected, dnodeIp:%s user:%s, numOfEps:%d inUse:%d"
,
taosMsg
[
rpcMsg
->
msgType
],
dDebug
(
"msg:%s will be redirected, dnodeIp:%s user:%s, numOfEps:%d inUse:%d"
,
taosMsg
[
rpcMsg
->
msgType
],
taosIpStr
(
connInfo
.
clientIp
),
connInfo
.
user
,
epSet
.
numOfEps
,
epSet
.
inUse
);
taosIpStr
(
connInfo
.
clientIp
),
connInfo
.
user
,
epSet
.
numOfEps
,
epSet
.
inUse
);
...
@@ -323,4 +323,4 @@ void dnodeSendRedirectMsg(SRpcMsg *rpcMsg, bool forShell) {
...
@@ -323,4 +323,4 @@ void dnodeSendRedirectMsg(SRpcMsg *rpcMsg, bool forShell) {
}
}
rpcSendRedirectRsp
(
rpcMsg
->
handle
,
&
epSet
);
rpcSendRedirectRsp
(
rpcMsg
->
handle
,
&
epSet
);
}
}
\ No newline at end of file
src/dnode/src/dnodeShell.c
浏览文件 @
02713123
...
@@ -231,4 +231,4 @@ SStatisInfo dnodeGetStatisInfo() {
...
@@ -231,4 +231,4 @@ SStatisInfo dnodeGetStatisInfo() {
}
}
return
info
;
return
info
;
}
}
\ No newline at end of file
src/dnode/src/dnodeStep.c
浏览文件 @
02713123
...
@@ -71,4 +71,4 @@ int32_t dnodeStepInit(SStep *pSteps, int32_t stepSize) {
...
@@ -71,4 +71,4 @@ int32_t dnodeStepInit(SStep *pSteps, int32_t stepSize) {
void
dnodeStepCleanup
(
SStep
*
pSteps
,
int32_t
stepSize
)
{
void
dnodeStepCleanup
(
SStep
*
pSteps
,
int32_t
stepSize
)
{
return
taosStepCleanupImp
(
pSteps
,
stepSize
-
1
);
return
taosStepCleanupImp
(
pSteps
,
stepSize
-
1
);
}
}
\ No newline at end of file
src/dnode/src/dnodeVnodes.c
浏览文件 @
02713123
...
@@ -271,7 +271,7 @@ static void dnodeSendStatusMsg(void *handle, void *tmrId) {
...
@@ -271,7 +271,7 @@ static void dnodeSendStatusMsg(void *handle, void *tmrId) {
vnodeBuildStatusMsg
(
pStatus
);
vnodeBuildStatusMsg
(
pStatus
);
contLen
=
sizeof
(
SStatusMsg
)
+
pStatus
->
openVnodes
*
sizeof
(
SVnodeLoad
);
contLen
=
sizeof
(
SStatusMsg
)
+
pStatus
->
openVnodes
*
sizeof
(
SVnodeLoad
);
pStatus
->
openVnodes
=
htons
(
pStatus
->
openVnodes
);
pStatus
->
openVnodes
=
htons
(
pStatus
->
openVnodes
);
SRpcMsg
rpcMsg
=
{
SRpcMsg
rpcMsg
=
{
.
pCont
=
pStatus
,
.
pCont
=
pStatus
,
.
contLen
=
contLen
,
.
contLen
=
contLen
,
...
@@ -288,4 +288,4 @@ void dnodeSendStatusMsgToMnode() {
...
@@ -288,4 +288,4 @@ void dnodeSendStatusMsgToMnode() {
dInfo
(
"force send status msg to mnode"
);
dInfo
(
"force send status msg to mnode"
);
taosTmrReset
(
dnodeSendStatusMsg
,
3
,
NULL
,
tsDnodeTmr
,
&
tsStatusTimer
);
taosTmrReset
(
dnodeSendStatusMsg
,
3
,
NULL
,
tsDnodeTmr
,
&
tsStatusTimer
);
}
}
}
}
\ No newline at end of file
src/inc/vnode.h
浏览文件 @
02713123
...
@@ -89,4 +89,4 @@ int32_t vnodeProcessRead(void *pVnode, SVReadMsg *pRead);
...
@@ -89,4 +89,4 @@ int32_t vnodeProcessRead(void *pVnode, SVReadMsg *pRead);
}
}
#endif
#endif
#endif
#endif
\ No newline at end of file
src/vnode/inc/vnodeMain.h
浏览文件 @
02713123
...
@@ -35,4 +35,4 @@ void vnodeDestroy(SVnodeObj *pVnode);
...
@@ -35,4 +35,4 @@ void vnodeDestroy(SVnodeObj *pVnode);
}
}
#endif
#endif
#endif
#endif
\ No newline at end of file
src/vnode/inc/vnodeStatus.h
浏览文件 @
02713123
...
@@ -44,4 +44,4 @@ bool vnodeInResetStatus(SVnodeObj* pVnode);
...
@@ -44,4 +44,4 @@ bool vnodeInResetStatus(SVnodeObj* pVnode);
}
}
#endif
#endif
#endif
#endif
\ No newline at end of file
src/vnode/inc/vnodeSync.h
浏览文件 @
02713123
...
@@ -36,4 +36,4 @@ void vnodeConfirmForward(void *pVnode, uint64_t version, int32_t code);
...
@@ -36,4 +36,4 @@ void vnodeConfirmForward(void *pVnode, uint64_t version, int32_t code);
}
}
#endif
#endif
#endif
#endif
\ No newline at end of file
src/vnode/inc/vnodeWorker.h
浏览文件 @
02713123
...
@@ -30,4 +30,4 @@ int32_t vnodeDestroyInMWorker(SVnodeObj *pVnode);
...
@@ -30,4 +30,4 @@ int32_t vnodeDestroyInMWorker(SVnodeObj *pVnode);
}
}
#endif
#endif
#endif
#endif
\ No newline at end of file
src/vnode/inc/vnodeWrite.h
浏览文件 @
02713123
...
@@ -32,4 +32,4 @@ int32_t vnodeProcessWrite(void *pVnode, void *pHead, int32_t qtype, void *pRspRe
...
@@ -32,4 +32,4 @@ int32_t vnodeProcessWrite(void *pVnode, void *pHead, int32_t qtype, void *pRspRe
}
}
#endif
#endif
#endif
#endif
\ No newline at end of file
src/vnode/src/vnodeMgmt.c
浏览文件 @
02713123
...
@@ -194,4 +194,4 @@ void vnodeSetAccess(SVgroupAccess *pAccess, int32_t numOfVnodes) {
...
@@ -194,4 +194,4 @@ void vnodeSetAccess(SVgroupAccess *pAccess, int32_t numOfVnodes) {
vnodeRelease
(
pVnode
);
vnodeRelease
(
pVnode
);
}
}
}
}
}
}
\ No newline at end of file
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录