Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
taosdata
TDengine
提交
0a26be58
T
TDengine
项目概览
taosdata
/
TDengine
1 年多 前同步成功
通知
1187
Star
22018
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看板
未验证
提交
0a26be58
编写于
3月 29, 2022
作者:
S
Shengliang Guan
提交者:
GitHub
3月 29, 2022
浏览文件
操作
浏览文件
下载
差异文件
Merge pull request #11105 from taosdata/feature/shm
rename files
上级
b4581c63
9eb8b4eb
变更
48
隐藏空白更改
内联
并排
Showing
48 changed file
with
73 addition
and
139 deletion
+73
-139
source/dnode/mgmt/CMakeLists.txt
source/dnode/mgmt/CMakeLists.txt
+21
-17
source/dnode/mgmt/bm/inc/bm.h
source/dnode/mgmt/bm/inc/bm.h
+0
-0
source/dnode/mgmt/bm/inc/bmInt.h
source/dnode/mgmt/bm/inc/bmInt.h
+0
-0
source/dnode/mgmt/bm/src/bmInt.c
source/dnode/mgmt/bm/src/bmInt.c
+0
-0
source/dnode/mgmt/bm/src/bmMsg.c
source/dnode/mgmt/bm/src/bmMsg.c
+0
-0
source/dnode/mgmt/bm/src/bmWorker.c
source/dnode/mgmt/bm/src/bmWorker.c
+0
-0
source/dnode/mgmt/dm/inc/dm.h
source/dnode/mgmt/dm/inc/dm.h
+0
-0
source/dnode/mgmt/dm/inc/dmInt.h
source/dnode/mgmt/dm/inc/dmInt.h
+0
-0
source/dnode/mgmt/dm/src/dmFile.c
source/dnode/mgmt/dm/src/dmFile.c
+0
-0
source/dnode/mgmt/dm/src/dmInt.c
source/dnode/mgmt/dm/src/dmInt.c
+0
-0
source/dnode/mgmt/dm/src/dmMsg.c
source/dnode/mgmt/dm/src/dmMsg.c
+0
-0
source/dnode/mgmt/dm/src/dmWorker.c
source/dnode/mgmt/dm/src/dmWorker.c
+0
-0
source/dnode/mgmt/main/CMakeLists.txt
source/dnode/mgmt/main/CMakeLists.txt
+0
-9
source/dnode/mgmt/main/exe/dndMain.c
source/dnode/mgmt/main/exe/dndMain.c
+51
-9
source/dnode/mgmt/main/inc/dnd.h
source/dnode/mgmt/main/inc/dnd.h
+0
-0
source/dnode/mgmt/main/inc/dndInt.h
source/dnode/mgmt/main/inc/dndInt.h
+0
-0
source/dnode/mgmt/main/inc/dndMain.h
source/dnode/mgmt/main/inc/dndMain.h
+0
-48
source/dnode/mgmt/main/src/dndExec.c
source/dnode/mgmt/main/src/dndExec.c
+0
-0
source/dnode/mgmt/main/src/dndFile.c
source/dnode/mgmt/main/src/dndFile.c
+0
-0
source/dnode/mgmt/main/src/dndInt.c
source/dnode/mgmt/main/src/dndInt.c
+0
-0
source/dnode/mgmt/main/src/dndMonitor.c
source/dnode/mgmt/main/src/dndMonitor.c
+0
-0
source/dnode/mgmt/main/src/dndMsg.c
source/dnode/mgmt/main/src/dndMsg.c
+0
-0
source/dnode/mgmt/main/src/dndObj.c
source/dnode/mgmt/main/src/dndObj.c
+0
-0
source/dnode/mgmt/main/src/dndTransport.c
source/dnode/mgmt/main/src/dndTransport.c
+0
-0
source/dnode/mgmt/main/src/dndUtil.c
source/dnode/mgmt/main/src/dndUtil.c
+0
-55
source/dnode/mgmt/mm/inc/mm.h
source/dnode/mgmt/mm/inc/mm.h
+0
-0
source/dnode/mgmt/mm/inc/mmInt.h
source/dnode/mgmt/mm/inc/mmInt.h
+0
-0
source/dnode/mgmt/mm/src/mmFile.c
source/dnode/mgmt/mm/src/mmFile.c
+0
-0
source/dnode/mgmt/mm/src/mmInt.c
source/dnode/mgmt/mm/src/mmInt.c
+0
-0
source/dnode/mgmt/mm/src/mmMsg.c
source/dnode/mgmt/mm/src/mmMsg.c
+0
-0
source/dnode/mgmt/mm/src/mmWorker.c
source/dnode/mgmt/mm/src/mmWorker.c
+0
-0
source/dnode/mgmt/qm/inc/qm.h
source/dnode/mgmt/qm/inc/qm.h
+0
-0
source/dnode/mgmt/qm/inc/qmInt.h
source/dnode/mgmt/qm/inc/qmInt.h
+0
-0
source/dnode/mgmt/qm/src/qmInt.c
source/dnode/mgmt/qm/src/qmInt.c
+0
-0
source/dnode/mgmt/qm/src/qmMsg.c
source/dnode/mgmt/qm/src/qmMsg.c
+0
-0
source/dnode/mgmt/qm/src/qmWorker.c
source/dnode/mgmt/qm/src/qmWorker.c
+0
-0
source/dnode/mgmt/sm/inc/sm.h
source/dnode/mgmt/sm/inc/sm.h
+0
-0
source/dnode/mgmt/sm/inc/smInt.h
source/dnode/mgmt/sm/inc/smInt.h
+0
-0
source/dnode/mgmt/sm/src/smInt.c
source/dnode/mgmt/sm/src/smInt.c
+0
-0
source/dnode/mgmt/sm/src/smMsg.c
source/dnode/mgmt/sm/src/smMsg.c
+0
-0
source/dnode/mgmt/sm/src/smWorker.c
source/dnode/mgmt/sm/src/smWorker.c
+0
-0
source/dnode/mgmt/vm/inc/vm.h
source/dnode/mgmt/vm/inc/vm.h
+0
-0
source/dnode/mgmt/vm/inc/vmInt.h
source/dnode/mgmt/vm/inc/vmInt.h
+0
-0
source/dnode/mgmt/vm/src/vmFile.c
source/dnode/mgmt/vm/src/vmFile.c
+0
-0
source/dnode/mgmt/vm/src/vmInt.c
source/dnode/mgmt/vm/src/vmInt.c
+0
-0
source/dnode/mgmt/vm/src/vmMsg.c
source/dnode/mgmt/vm/src/vmMsg.c
+0
-0
source/dnode/mgmt/vm/src/vmWorker.c
source/dnode/mgmt/vm/src/vmWorker.c
+0
-0
tests/script/sh/exec.sh
tests/script/sh/exec.sh
+1
-1
未找到文件。
source/dnode/mgmt/CMakeLists.txt
浏览文件 @
0a26be58
aux_source_directory
(
src DNODE_SRC
)
aux_source_directory
(
dnode/src DNODE_SRC
)
aux_source_directory
(
qnode/src DNODE_SRC
)
aux_source_directory
(
bnode/src DNODE_SRC
)
aux_source_directory
(
snode/src DNODE_SRC
)
aux_source_directory
(
vnode/src DNODE_SRC
)
aux_source_directory
(
mnode/src DNODE_SRC
)
aux_source_directory
(
container/src DNODE_SRC
)
aux_source_directory
(
dm/src DNODE_SRC
)
aux_source_directory
(
qm/src DNODE_SRC
)
aux_source_directory
(
bm/src DNODE_SRC
)
aux_source_directory
(
sm/src DNODE_SRC
)
aux_source_directory
(
vm/src DNODE_SRC
)
aux_source_directory
(
mm/src DNODE_SRC
)
aux_source_directory
(
main/src DNODE_SRC
)
add_library
(
dnode STATIC
${
DNODE_SRC
}
)
target_link_libraries
(
dnode cjson mnode vnode qnode snode bnode wal sync taos tfs monitor
...
...
@@ -14,16 +12,22 @@ target_link_libraries(
target_include_directories
(
dnode
PUBLIC
"
${
CMAKE_SOURCE_DIR
}
/include/dnode/mgmt"
PRIVATE
"
${
CMAKE_CURRENT_SOURCE_DIR
}
/d
node
/inc"
PRIVATE
"
${
CMAKE_CURRENT_SOURCE_DIR
}
/q
node
/inc"
PRIVATE
"
${
CMAKE_CURRENT_SOURCE_DIR
}
/b
node
/inc"
PRIVATE
"
${
CMAKE_CURRENT_SOURCE_DIR
}
/s
node
/inc"
PRIVATE
"
${
CMAKE_CURRENT_SOURCE_DIR
}
/v
node
/inc"
PRIVATE
"
${
CMAKE_CURRENT_SOURCE_DIR
}
/m
node
/inc"
PRIVATE
"
${
CMAKE_CURRENT_SOURCE_DIR
}
/
container
/inc"
PRIVATE
"
${
CMAKE_CURRENT_SOURCE_DIR
}
/d
m
/inc"
PRIVATE
"
${
CMAKE_CURRENT_SOURCE_DIR
}
/q
m
/inc"
PRIVATE
"
${
CMAKE_CURRENT_SOURCE_DIR
}
/b
m
/inc"
PRIVATE
"
${
CMAKE_CURRENT_SOURCE_DIR
}
/s
m
/inc"
PRIVATE
"
${
CMAKE_CURRENT_SOURCE_DIR
}
/v
m
/inc"
PRIVATE
"
${
CMAKE_CURRENT_SOURCE_DIR
}
/m
m
/inc"
PRIVATE
"
${
CMAKE_CURRENT_SOURCE_DIR
}
/
main
/inc"
)
add_subdirectory
(
main
)
aux_source_directory
(
main/exe EXEC_SRC
)
add_executable
(
taosd
${
EXEC_SRC
}
)
target_include_directories
(
taosd
PRIVATE
"
${
CMAKE_CURRENT_SOURCE_DIR
}
/main/inc"
)
target_link_libraries
(
taosd dnode
)
if
(
${
BUILD_TEST
}
)
add_subdirectory
(
test
)
...
...
source/dnode/mgmt/b
node
/inc/bm.h
→
source/dnode/mgmt/b
m
/inc/bm.h
浏览文件 @
0a26be58
文件已移动
source/dnode/mgmt/b
node
/inc/bmInt.h
→
source/dnode/mgmt/b
m
/inc/bmInt.h
浏览文件 @
0a26be58
文件已移动
source/dnode/mgmt/b
node
/src/bmInt.c
→
source/dnode/mgmt/b
m
/src/bmInt.c
浏览文件 @
0a26be58
文件已移动
source/dnode/mgmt/b
node
/src/bmMsg.c
→
source/dnode/mgmt/b
m
/src/bmMsg.c
浏览文件 @
0a26be58
文件已移动
source/dnode/mgmt/b
node
/src/bmWorker.c
→
source/dnode/mgmt/b
m
/src/bmWorker.c
浏览文件 @
0a26be58
文件已移动
source/dnode/mgmt/d
node
/inc/dm.h
→
source/dnode/mgmt/d
m
/inc/dm.h
浏览文件 @
0a26be58
文件已移动
source/dnode/mgmt/d
node
/inc/dmInt.h
→
source/dnode/mgmt/d
m
/inc/dmInt.h
浏览文件 @
0a26be58
文件已移动
source/dnode/mgmt/d
node
/src/dmFile.c
→
source/dnode/mgmt/d
m
/src/dmFile.c
浏览文件 @
0a26be58
文件已移动
source/dnode/mgmt/d
node
/src/dmInt.c
→
source/dnode/mgmt/d
m
/src/dmInt.c
浏览文件 @
0a26be58
文件已移动
source/dnode/mgmt/d
node
/src/dmMsg.c
→
source/dnode/mgmt/d
m
/src/dmMsg.c
浏览文件 @
0a26be58
文件已移动
source/dnode/mgmt/d
node
/src/dmWorker.c
→
source/dnode/mgmt/d
m
/src/dmWorker.c
浏览文件 @
0a26be58
文件已移动
source/dnode/mgmt/main/CMakeLists.txt
已删除
100644 → 0
浏览文件 @
b4581c63
aux_source_directory
(
src EXEC_SRC
)
add_executable
(
taosd
${
EXEC_SRC
}
)
target_include_directories
(
taosd
PRIVATE
"
${
CMAKE_CURRENT_SOURCE_DIR
}
/inc"
)
target_link_libraries
(
taosd dnode
)
source/dnode/mgmt/main/
src
/dndMain.c
→
source/dnode/mgmt/main/
exe
/dndMain.c
浏览文件 @
0a26be58
...
...
@@ -14,7 +14,8 @@
*/
#define _DEFAULT_SOURCE
#include "dndMain.h"
#include "dnd.h"
#include "tconfig.h"
static
struct
{
bool
dumpConfig
;
...
...
@@ -42,7 +43,7 @@ static void dndSetSignalHandle() {
taosSetSignal
(
SIGBREAK
,
dndSigintHandle
);
}
static
int32_t
dndParse
Option
(
int32_t
argc
,
char
const
*
argv
[])
{
static
int32_t
dndParse
Args
(
int32_t
argc
,
char
const
*
argv
[])
{
for
(
int32_t
i
=
1
;
i
<
argc
;
++
i
)
{
if
(
strcmp
(
argv
[
i
],
"-c"
)
==
0
)
{
if
(
i
<
argc
-
1
)
{
...
...
@@ -55,10 +56,14 @@ static int32_t dndParseOption(int32_t argc, char const *argv[]) {
printf
(
"'-c' requires a parameter, default is %s
\n
"
,
configDir
);
return
-
1
;
}
}
else
if
(
strcmp
(
argv
[
i
],
"-C"
)
==
0
)
{
global
.
dumpConfig
=
true
;
}
else
if
(
strcmp
(
argv
[
i
],
"-a"
)
==
0
)
{
tstrncpy
(
global
.
apolloUrl
,
argv
[
++
i
],
PATH_MAX
);
}
else
if
(
strcmp
(
argv
[
i
],
"-e"
)
==
0
)
{
tstrncpy
(
global
.
envFile
,
argv
[
++
i
],
PATH_MAX
);
}
else
if
(
strcmp
(
argv
[
i
],
"-k"
)
==
0
)
{
global
.
generateGrant
=
true
;
}
else
if
(
strcmp
(
argv
[
i
],
"-C"
)
==
0
)
{
global
.
dumpConfig
=
true
;
}
else
if
(
strcmp
(
argv
[
i
],
"-V"
)
==
0
)
{
global
.
printVersion
=
true
;
}
else
{
...
...
@@ -68,9 +73,45 @@ static int32_t dndParseOption(int32_t argc, char const *argv[]) {
return
0
;
}
static
void
dndGenerateGrant
()
{
// grantParseParameter();
}
static
void
dndPrintVersion
()
{
#ifdef TD_ENTERPRISE
char
*
releaseName
=
"enterprise"
;
#else
char
*
releaseName
=
"community"
;
#endif
printf
(
"%s version: %s compatible_version: %s
\n
"
,
releaseName
,
version
,
compatible_version
);
printf
(
"gitinfo: %s
\n
"
,
gitinfo
);
printf
(
"buildInfo: %s
\n
"
,
buildinfo
);
}
static
void
dndDumpCfg
()
{
SConfig
*
pCfg
=
taosGetCfg
();
cfgDumpCfg
(
pCfg
,
0
,
1
);
}
SDnodeOpt
dndGetOpt
()
{
SConfig
*
pCfg
=
taosGetCfg
();
SDnodeOpt
option
=
{
0
};
option
.
numOfSupportVnodes
=
cfgGetItem
(
pCfg
,
"supportVnodes"
)
->
i32
;
tstrncpy
(
option
.
dataDir
,
tsDataDir
,
sizeof
(
option
.
dataDir
));
tstrncpy
(
option
.
firstEp
,
tsFirst
,
sizeof
(
option
.
firstEp
));
tstrncpy
(
option
.
secondEp
,
tsSecond
,
sizeof
(
option
.
firstEp
));
option
.
serverPort
=
tsServerPort
;
tstrncpy
(
option
.
localFqdn
,
tsLocalFqdn
,
sizeof
(
option
.
localFqdn
));
snprintf
(
option
.
localEp
,
sizeof
(
option
.
localEp
),
"%s:%u"
,
option
.
localFqdn
,
option
.
serverPort
);
option
.
pDisks
=
tsDiskCfg
;
option
.
numOfDisks
=
tsDiskCfgNum
;
return
option
;
}
static
int32_t
dndRunDnode
()
{
if
(
dndInit
()
!=
0
)
{
d
Info
(
"failed to initialize dnod
e environment since %s"
,
terrstr
());
d
Error
(
"failed to initializ
e environment since %s"
,
terrstr
());
return
-
1
;
}
...
...
@@ -99,11 +140,12 @@ static int32_t dndRunDnode() {
int
main
(
int
argc
,
char
const
*
argv
[])
{
if
(
!
taosCheckSystemIsSmallEnd
())
{
dError
(
"failed to start TDengine since on non-small-end machines
"
);
printf
(
"failed to start since on non-small-end machines
\n
"
);
return
-
1
;
}
if
(
dndParseOption
(
argc
,
argv
)
!=
0
)
{
if
(
dndParseArgs
(
argc
,
argv
)
!=
0
)
{
printf
(
"failed to start since parse args error
\n
"
);
return
-
1
;
}
...
...
@@ -118,12 +160,12 @@ int main(int argc, char const *argv[]) {
}
if
(
taosCreateLog
(
"taosdlog"
,
1
,
configDir
,
global
.
envFile
,
global
.
apolloUrl
,
NULL
,
0
)
!=
0
)
{
dError
(
"failed to start TDengine since read log config error
"
);
printf
(
"failed to start since read log config error
\n
"
);
return
-
1
;
}
if
(
taosInitCfg
(
configDir
,
global
.
envFile
,
global
.
apolloUrl
,
NULL
,
0
)
!=
0
)
{
dError
(
"failed to start
TDengine
since read config error"
);
dError
(
"failed to start since read config error"
);
return
-
1
;
}
...
...
source/dnode/mgmt/
container
/inc/dnd.h
→
source/dnode/mgmt/
main
/inc/dnd.h
浏览文件 @
0a26be58
文件已移动
source/dnode/mgmt/
container
/inc/dndInt.h
→
source/dnode/mgmt/
main
/inc/dndInt.h
浏览文件 @
0a26be58
文件已移动
source/dnode/mgmt/main/inc/dndMain.h
已删除
100644 → 0
浏览文件 @
b4581c63
/*
* Copyright (c) 2019 TAOS Data, Inc. <jhtao@taosdata.com>
*
* This program is free software: you can use, redistribute, and/or modify
* it under the terms of the GNU Affero General Public License, version 3
* or later ("AGPL"), as published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef _TD_DND_MAIN_H_
#define _TD_DND_MAIN_H_
#include "dnode.h"
#include "taoserror.h"
#include "tconfig.h"
#include "tglobal.h"
#include "tlog.h"
#include "version.h"
#ifdef __cplusplus
extern
"C"
{
#endif
#define dFatal(...) { if (dDebugFlag & DEBUG_FATAL) { taosPrintLog("DND FATAL ", DEBUG_FATAL, 255, __VA_ARGS__); }}
#define dError(...) { if (dDebugFlag & DEBUG_ERROR) { taosPrintLog("DND ERROR ", DEBUG_ERROR, 255, __VA_ARGS__); }}
#define dWarn(...) { if (dDebugFlag & DEBUG_WARN) { taosPrintLog("DND WARN ", DEBUG_WARN, 255, __VA_ARGS__); }}
#define dInfo(...) { if (dDebugFlag & DEBUG_INFO) { taosPrintLog("DND ", DEBUG_INFO, 255, __VA_ARGS__); }}
#define dDebug(...) { if (dDebugFlag & DEBUG_DEBUG) { taosPrintLog("DND ", DEBUG_DEBUG, dDebugFlag, __VA_ARGS__); }}
#define dTrace(...) { if (dDebugFlag & DEBUG_TRACE) { taosPrintLog("DND ", DEBUG_TRACE, dDebugFlag, __VA_ARGS__); }}
void
dndDumpCfg
();
void
dndPrintVersion
();
void
dndGenerateGrant
();
SDnodeOpt
dndGetOpt
();
#ifdef __cplusplus
}
#endif
#endif
/*_TD_DND_MAIN_H_*/
source/dnode/mgmt/
container
/src/dndExec.c
→
source/dnode/mgmt/
main
/src/dndExec.c
浏览文件 @
0a26be58
文件已移动
source/dnode/mgmt/
container
/src/dndFile.c
→
source/dnode/mgmt/
main
/src/dndFile.c
浏览文件 @
0a26be58
文件已移动
source/dnode/mgmt/
container
/src/dndInt.c
→
source/dnode/mgmt/
main
/src/dndInt.c
浏览文件 @
0a26be58
文件已移动
source/dnode/mgmt/
container
/src/dndMonitor.c
→
source/dnode/mgmt/
main
/src/dndMonitor.c
浏览文件 @
0a26be58
文件已移动
source/dnode/mgmt/
container
/src/dndMsg.c
→
source/dnode/mgmt/
main
/src/dndMsg.c
浏览文件 @
0a26be58
文件已移动
source/dnode/mgmt/
container
/src/dndObj.c
→
source/dnode/mgmt/
main
/src/dndObj.c
浏览文件 @
0a26be58
文件已移动
source/dnode/mgmt/
container
/src/dndTransport.c
→
source/dnode/mgmt/
main
/src/dndTransport.c
浏览文件 @
0a26be58
文件已移动
source/dnode/mgmt/main/src/dndUtil.c
已删除
100644 → 0
浏览文件 @
b4581c63
/*
* Copyright (c) 2019 TAOS Data, Inc. <jhtao@taosdata.com>
*
* This program is free software: you can use, redistribute, and/or modify
* it under the terms of the GNU Affero General Public License, version 3
* or later ("AGPL"), as published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#define _DEFAULT_SOURCE
#include "dndMain.h"
void
dndGenerateGrant
()
{
#if 0
grantParseParameter();
#endif
}
void
dndPrintVersion
()
{
#ifdef TD_ENTERPRISE
char
*
releaseName
=
"enterprise"
;
#else
char
*
releaseName
=
"community"
;
#endif
printf
(
"%s version: %s compatible_version: %s
\n
"
,
releaseName
,
version
,
compatible_version
);
printf
(
"gitinfo: %s
\n
"
,
gitinfo
);
printf
(
"builuInfo: %s
\n
"
,
buildinfo
);
}
void
dndDumpCfg
()
{
SConfig
*
pCfg
=
taosGetCfg
();
cfgDumpCfg
(
pCfg
,
0
,
1
);
}
SDnodeOpt
dndGetOpt
()
{
SConfig
*
pCfg
=
taosGetCfg
();
SDnodeOpt
option
=
{
0
};
option
.
numOfSupportVnodes
=
cfgGetItem
(
pCfg
,
"supportVnodes"
)
->
i32
;
tstrncpy
(
option
.
dataDir
,
tsDataDir
,
sizeof
(
option
.
dataDir
));
tstrncpy
(
option
.
firstEp
,
tsFirst
,
sizeof
(
option
.
firstEp
));
tstrncpy
(
option
.
secondEp
,
tsSecond
,
sizeof
(
option
.
firstEp
));
option
.
serverPort
=
tsServerPort
;
tstrncpy
(
option
.
localFqdn
,
tsLocalFqdn
,
sizeof
(
option
.
localFqdn
));
snprintf
(
option
.
localEp
,
sizeof
(
option
.
localEp
),
"%s:%u"
,
option
.
localFqdn
,
option
.
serverPort
);
option
.
pDisks
=
tsDiskCfg
;
option
.
numOfDisks
=
tsDiskCfgNum
;
return
option
;
}
source/dnode/mgmt/m
node
/inc/mm.h
→
source/dnode/mgmt/m
m
/inc/mm.h
浏览文件 @
0a26be58
文件已移动
source/dnode/mgmt/m
node
/inc/mmInt.h
→
source/dnode/mgmt/m
m
/inc/mmInt.h
浏览文件 @
0a26be58
文件已移动
source/dnode/mgmt/m
node
/src/mmFile.c
→
source/dnode/mgmt/m
m
/src/mmFile.c
浏览文件 @
0a26be58
文件已移动
source/dnode/mgmt/m
node
/src/mmInt.c
→
source/dnode/mgmt/m
m
/src/mmInt.c
浏览文件 @
0a26be58
文件已移动
source/dnode/mgmt/m
node
/src/mmMsg.c
→
source/dnode/mgmt/m
m
/src/mmMsg.c
浏览文件 @
0a26be58
文件已移动
source/dnode/mgmt/m
node
/src/mmWorker.c
→
source/dnode/mgmt/m
m
/src/mmWorker.c
浏览文件 @
0a26be58
文件已移动
source/dnode/mgmt/q
node
/inc/qm.h
→
source/dnode/mgmt/q
m
/inc/qm.h
浏览文件 @
0a26be58
文件已移动
source/dnode/mgmt/q
node
/inc/qmInt.h
→
source/dnode/mgmt/q
m
/inc/qmInt.h
浏览文件 @
0a26be58
文件已移动
source/dnode/mgmt/q
node
/src/qmInt.c
→
source/dnode/mgmt/q
m
/src/qmInt.c
浏览文件 @
0a26be58
文件已移动
source/dnode/mgmt/q
node
/src/qmMsg.c
→
source/dnode/mgmt/q
m
/src/qmMsg.c
浏览文件 @
0a26be58
文件已移动
source/dnode/mgmt/q
node
/src/qmWorker.c
→
source/dnode/mgmt/q
m
/src/qmWorker.c
浏览文件 @
0a26be58
文件已移动
source/dnode/mgmt/s
node
/inc/sm.h
→
source/dnode/mgmt/s
m
/inc/sm.h
浏览文件 @
0a26be58
文件已移动
source/dnode/mgmt/s
node
/inc/smInt.h
→
source/dnode/mgmt/s
m
/inc/smInt.h
浏览文件 @
0a26be58
文件已移动
source/dnode/mgmt/s
node
/src/smInt.c
→
source/dnode/mgmt/s
m
/src/smInt.c
浏览文件 @
0a26be58
文件已移动
source/dnode/mgmt/s
node
/src/smMsg.c
→
source/dnode/mgmt/s
m
/src/smMsg.c
浏览文件 @
0a26be58
文件已移动
source/dnode/mgmt/s
node
/src/smWorker.c
→
source/dnode/mgmt/s
m
/src/smWorker.c
浏览文件 @
0a26be58
文件已移动
source/dnode/mgmt/v
node
/inc/vm.h
→
source/dnode/mgmt/v
m
/inc/vm.h
浏览文件 @
0a26be58
文件已移动
source/dnode/mgmt/v
node
/inc/vmInt.h
→
source/dnode/mgmt/v
m
/inc/vmInt.h
浏览文件 @
0a26be58
文件已移动
source/dnode/mgmt/v
node
/src/vmFile.c
→
source/dnode/mgmt/v
m
/src/vmFile.c
浏览文件 @
0a26be58
文件已移动
source/dnode/mgmt/v
node
/src/vmInt.c
→
source/dnode/mgmt/v
m
/src/vmInt.c
浏览文件 @
0a26be58
文件已移动
source/dnode/mgmt/v
node
/src/vmMsg.c
→
source/dnode/mgmt/v
m
/src/vmMsg.c
浏览文件 @
0a26be58
文件已移动
source/dnode/mgmt/v
node
/src/vmWorker.c
→
source/dnode/mgmt/v
m
/src/vmWorker.c
浏览文件 @
0a26be58
文件已移动
tests/script/sh/exec.sh
浏览文件 @
0a26be58
...
...
@@ -74,7 +74,7 @@ BUILD_DIR=$TAOS_DIR/$BIN_DIR
SIM_DIR
=
$TAOS_DIR
/sim
NODE_DIR
=
$SIM_DIR
/
$NODE_NAME
EXE_DIR
=
$BUILD_DIR
/source/dnode/mgmt
/main
EXE_DIR
=
$BUILD_DIR
/source/dnode/mgmt
CFG_DIR
=
$NODE_DIR
/cfg
LOG_DIR
=
$NODE_DIR
/log
DATA_DIR
=
$NODE_DIR
/data
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录