Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
冷面1992
TDengine
提交
026d0b49
TDengine
项目概览
冷面1992
/
TDengine
与 Fork 源项目一致
Fork自
taosdata / TDengine
通知
1
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
TDengine
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
026d0b49
编写于
11月 22, 2019
作者:
S
slguan
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
[TBASE-1128]
上级
7725aa1c
变更
8
显示空白变更内容
内联
并排
Showing
8 changed file
with
13 addition
and
8 deletion
+13
-8
src/modules/http/src/httpServer.c
src/modules/http/src/httpServer.c
+2
-2
src/modules/http/src/httpSystem.c
src/modules/http/src/httpSystem.c
+1
-1
src/modules/monitor/src/monitorSystem.c
src/modules/monitor/src/monitorSystem.c
+2
-2
src/rpc/src/tudp.c
src/rpc/src/tudp.c
+2
-1
src/system/detail/src/dnodeSystem.c
src/system/detail/src/dnodeSystem.c
+2
-0
src/system/detail/src/vnodeCommit.c
src/system/detail/src/vnodeCommit.c
+1
-1
src/system/detail/src/vnodeShell.c
src/system/detail/src/vnodeShell.c
+1
-1
src/system/lite/src/dnodeMgmt.spec.c
src/system/lite/src/dnodeMgmt.spec.c
+2
-0
未找到文件。
src/modules/http/src/httpServer.c
浏览文件 @
026d0b49
...
...
@@ -527,8 +527,8 @@ void httpAcceptHttpConnection(void *arg) {
totalFds
+=
pServer
->
pThreads
[
i
].
numOfFds
;
}
if
(
totalFds
>
tsHttpCacheSessions
*
2
0
)
{
httpError
(
"fd:%d, ip:%s:%u, totalFds:%d larger than httpCacheSessions:%d*
2
0, refuse connection"
,
if
(
totalFds
>
tsHttpCacheSessions
*
10
0
)
{
httpError
(
"fd:%d, ip:%s:%u, totalFds:%d larger than httpCacheSessions:%d*
10
0, refuse connection"
,
connFd
,
inet_ntoa
(
clientAddr
.
sin_addr
),
htons
(
clientAddr
.
sin_port
),
totalFds
,
tsHttpCacheSessions
);
taosCloseSocket
(
connFd
);
continue
;
...
...
src/modules/http/src/httpSystem.c
浏览文件 @
026d0b49
...
...
@@ -89,7 +89,7 @@ int httpStartSystem() {
}
if
(
httpServer
->
timerHandle
==
NULL
)
{
httpServer
->
timerHandle
=
taosTmrInit
(
tsHttpCacheSessions
*
2
0
+
100
,
200
,
60000
,
"http"
);
httpServer
->
timerHandle
=
taosTmrInit
(
tsHttpCacheSessions
*
10
0
+
100
,
200
,
60000
,
"http"
);
}
if
(
httpServer
->
timerHandle
==
NULL
)
{
httpError
(
"http init timer failed"
);
...
...
src/modules/monitor/src/monitorSystem.c
浏览文件 @
026d0b49
...
...
@@ -246,9 +246,9 @@ void monitorStopSystem() {
}
#ifdef CLUSTER
monitorLPrint
(
"dnode:%s is stopped"
,
tsPrivateIp
);
monitorLPrint
(
"dnode:%s
monitor module
is stopped"
,
tsPrivateIp
);
#else
monitorLPrint
(
"dnode:%s is stopped"
,
tsInternalIp
);
monitorLPrint
(
"dnode:%s
monitor module
is stopped"
,
tsInternalIp
);
#endif
monitor
->
state
=
MONITOR_STATE_STOPPED
;
taosLogFp
=
NULL
;
...
...
src/rpc/src/tudp.c
浏览文件 @
026d0b49
...
...
@@ -506,6 +506,8 @@ void *taosInitUdpConnection(char *ip, short port, char *label, int threads, void
pConn
->
localPort
=
(
int16_t
)
ntohs
(
sin
.
sin_port
);
}
strcpy
(
pConn
->
label
,
label
);
if
(
pthread_create
(
&
pConn
->
thread
,
&
thAttr
,
taosRecvUdpData
,
pConn
)
!=
0
)
{
tError
(
"%s failed to create thread to process UDP data, reason:%s"
,
label
,
strerror
(
errno
));
taosCloseSocket
(
pConn
->
fd
);
...
...
@@ -513,7 +515,6 @@ void *taosInitUdpConnection(char *ip, short port, char *label, int threads, void
return
NULL
;
}
strcpy
(
pConn
->
label
,
label
);
pConn
->
shandle
=
shandle
;
pConn
->
processData
=
fp
;
pConn
->
index
=
i
;
...
...
src/system/detail/src/dnodeSystem.c
浏览文件 @
026d0b49
...
...
@@ -136,6 +136,8 @@ int dnodeInitSystem() {
return
-
1
;
}
vnodeInitMgmtIp
();
tsPrintGlobalConfig
();
dPrint
(
"Server IP address is:%s"
,
tsInternalIp
);
...
...
src/system/detail/src/vnodeCommit.c
浏览文件 @
026d0b49
...
...
@@ -235,7 +235,7 @@ int vnodeInitCommit(int vnode) {
}
pVnode
->
pWrite
+=
size
;
d
Trace
(
"vid:%d, commit log is initialized"
,
vnode
);
d
Print
(
"vid:%d, commit log is initialized"
,
vnode
);
return
0
;
}
...
...
src/system/detail/src/vnodeShell.c
浏览文件 @
026d0b49
...
...
@@ -178,7 +178,7 @@ int vnodeOpenShellVnode(int vnode) {
return
-
1
;
}
d
Trace
(
"vid:%d, sessions:%d, shell is opened"
,
vnode
,
pCfg
->
maxSessions
);
d
Print
(
"vid:%d, sessions:%d, shell is opened"
,
vnode
,
pCfg
->
maxSessions
);
return
TSDB_CODE_SUCCESS
;
}
...
...
src/system/lite/src/dnodeMgmt.spec.c
浏览文件 @
026d0b49
...
...
@@ -90,4 +90,6 @@ void vnodeProcessMsgFromMgmtSpec(SSchedMsg *sched) {
int
vnodeInitMgmt
()
{
return
0
;
}
void
vnodeInitMgmtIp
()
{}
int
vnodeSaveCreateMsgIntoQueue
(
SVnodeObj
*
pVnode
,
char
*
pMsg
,
int
msgLen
)
{
return
0
;
}
\ No newline at end of file
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录