merge from wal
This commit is contained in:
parent
cde4ab7c65
commit
c0f69556d8
|
@ -402,8 +402,10 @@ static int32_t mgmtCreateDnode(uint32_t ip) {
|
||||||
|
|
||||||
int32_t code = sdbInsertRow(&oper);
|
int32_t code = sdbInsertRow(&oper);
|
||||||
if (code != TSDB_CODE_SUCCESS) {
|
if (code != TSDB_CODE_SUCCESS) {
|
||||||
|
int dnodeId = pDnode->dnodeId;
|
||||||
tfree(pDnode);
|
tfree(pDnode);
|
||||||
code = TSDB_CODE_SDB_ERROR;
|
mError("failed to create dnode:%d, result:%s", dnodeId, tstrerror(code));
|
||||||
|
return TSDB_CODE_SDB_ERROR;
|
||||||
}
|
}
|
||||||
|
|
||||||
mPrint("dnode:%d is created, result:%s", pDnode->dnodeId, tstrerror(code));
|
mPrint("dnode:%d is created, result:%s", pDnode->dnodeId, tstrerror(code));
|
||||||
|
|
Loading…
Reference in New Issue