提交 99f73593 编写于 作者: L lichuang

[TD-1920]add mnode compact wal functions

上级 a12b0e71
......@@ -249,7 +249,7 @@ int32_t mnodeCompactCluster() {
SSdbRow row = {
.type = SDB_OPER_GLOBAL,
.pTable = tsClusterSdb,
.pObj = pCluster,
.pObj = pCluster,
};
sdbInsertCompactRow(&row);
......
......@@ -59,6 +59,8 @@ static SStep tsMnodeSteps[] = {
static SStep tsMnodeCompactSteps[] = {
{"cluster", mnodeCompactCluster, NULL},
/*
{"dnodes", mnodeCompactDnodes, NULL},
{"mnodes", mnodeCompactMnodes, NULL},
{"accts", mnodeCompactAccts, NULL},
......@@ -66,6 +68,7 @@ static SStep tsMnodeCompactSteps[] = {
{"dbs", mnodeCompactDbs, NULL},
{"vgroups", mnodeCompactVgroups, NULL},
{"tables", mnodeCompactTables, NULL},
*/
};
static void mnodeInitTimer();
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册