@@ -46,14 +46,14 @@ const (
4646 LAYOUT_CURVEBS_ROOT_DIR = "/curvebs"
4747 LAYOUT_PLAYGROUND_ROOT_DIR = "playground"
4848 LAYOUT_CONF_SRC_DIR = "/conf"
49- LAYOUT_V2_CONF_SRC_DIR = "/confv2"
49+ LAYOUT_V2_CONF_SRC_DIR = "/conf" // change mdsv2 confv2 to conf
5050 LAYOUT_SERVICE_BIN_DIR = "/sbin"
5151 LAYOUT_SERVICE_CONF_DIR = "/conf"
5252 LAYOUT_SERVICE_LOG_DIR = "/logs"
5353 LAYOUT_SERVICE_DATA_DIR = "/data"
5454 LAYOUT_TOOLS_DIR = "/tools"
5555 LAYOUT_TOOLS_V2_DIR = "/tools-v2"
56- LAYOUT_MDSV2_CLIENT_DIR = "/mdsv2 -client"
56+ LAYOUT_MDSV2_CLIENT_DIR = "/mds -client" // change mdsv2-client to mds-client
5757 LAYOUT_CURVEBS_CHUNKFILE_POOL_DIR = "chunkfilepool"
5858 LAYOUT_CURVEBS_COPYSETS_DIR = "copysets"
5959 LAYOUT_CURVEBS_RECYCLER_DIR = "recycler"
@@ -90,7 +90,7 @@ const (
9090 BINARY_CURVEBS_FORMAT = "curve_format"
9191 BINARY_CURVEFS_TOOL = "dingo-tool"
9292 BINARY_DINGO_TOOL_V2 = "dingo"
93- BINARY_MDSV2_CLIENT = "dingo-mdsv2 -client"
93+ BINARY_MDSV2_CLIENT = "dingo-mds -client"
9494 METAFILE_CHUNKFILE_POOL = "chunkfilepool.meta"
9595 METAFILE_CHUNKSERVER_ID = "chunkserver.dat"
9696)
@@ -107,7 +107,7 @@ var (
107107 ROLE_METASERVER : {"metaserver.conf" },
108108 ROLE_COORDINATOR : {"coordinator-gflags.conf " },
109109 ROLE_STORE : {"store-gflags.conf" },
110- ROLE_MDS_V2 : {"dingo-mdsv2 .template.conf" },
110+ ROLE_MDS_V2 : {"mds .template.conf" }, // change dingo-mdsv2.template.conf to mds.template.conf
111111 ROLE_DINGODB_EXECUTOR : {"executor.yaml" },
112112 ROLE_DINGODB_WEB : {"application-web-dev.yaml" },
113113 ROLE_DINGODB_PROXY : {"application-proxy-dev.yaml" },
@@ -388,11 +388,11 @@ type (
388388 ToolsV2BinaryPath string // /curvebs/tools-v2/sbin/curve
389389
390390 // mdsv2 client
391- MdsV2RootDir string // /dingofs/mdsv2 -client
392- MdsV2CliBinDir string // /dingofs/mdsv2 -client/sbin
393- MdsV2CliConfDir string // /dingofs/mdsv2 -client/conf
394- MdsV2CliConfSrcPath string // /dingofs/mdsv2 -client/conf/coor_list
395- MdsV2CliBinaryPath string // /dingofs/mdsv2 -client/sbin/dingo-mdsv2 -client
391+ MdsV2RootDir string // /dingofs/mds -client
392+ MdsV2CliBinDir string // /dingofs/mds -client/sbin
393+ MdsV2CliConfDir string // /dingofs/mds -client/conf
394+ MdsV2CliConfSrcPath string // /dingofs/mds -client/conf/coor_list
395+ MdsV2CliBinaryPath string // /dingofs/mds -client/sbin/dingo-mds -client
396396
397397 // dingo-store coordinator.template.yaml
398398 CoordinatorConfSrcPath string // /opt/dingo-store/conf/coordinator.template.yaml
@@ -548,7 +548,7 @@ func (dc *DeployConfig) GetProjectLayout() Layout {
548548 MdsV2RootDir : root + LAYOUT_MDSV2_CLIENT_DIR ,
549549 MdsV2CliBinDir : root + LAYOUT_MDSV2_CLIENT_DIR + LAYOUT_SERVICE_BIN_DIR ,
550550 MdsV2CliConfDir : root + LAYOUT_MDSV2_CLIENT_DIR + LAYOUT_SERVICE_CONF_DIR ,
551- MdsV2CliConfSrcPath : fmt .Sprintf ("%s/coor_list" , root + LAYOUT_MDSV2_CLIENT_DIR + LAYOUT_SERVICE_CONF_DIR ), // /dingofs/mdsv2 -client/conf/coor_list
551+ MdsV2CliConfSrcPath : fmt .Sprintf ("%s/coor_list" , root + LAYOUT_MDSV2_CLIENT_DIR + LAYOUT_SERVICE_CONF_DIR ), // /dingofs/mds -client/conf/coor_list
552552 MdsV2CliBinaryPath : fmt .Sprintf ("%s/%s" , root + LAYOUT_MDSV2_CLIENT_DIR + LAYOUT_SERVICE_BIN_DIR , BINARY_MDSV2_CLIENT ),
553553
554554 // format
0 commit comments