fix double send-rsp
This commit is contained in:
parent
37e820c865
commit
b6cf379247
|
@ -24,6 +24,7 @@
|
|||
#include "mndVgroup.h"
|
||||
#include "osMemory.h"
|
||||
#include "parser.h"
|
||||
#include "taoserror.h"
|
||||
#include "tmisce.h"
|
||||
#include "tname.h"
|
||||
|
||||
|
@ -879,6 +880,10 @@ static int32_t mndProcessCreateStreamReq(SRpcMsg *pReq) {
|
|||
|
||||
mndTransDrop(pTrans);
|
||||
|
||||
if (code == 0) {
|
||||
code = TSDB_CODE_ACTION_IN_PROGRESS;
|
||||
}
|
||||
|
||||
SName dbname = {0};
|
||||
code = tNameFromString(&dbname, createReq.sourceDB, T_NAME_ACCT | T_NAME_DB | T_NAME_TABLE);
|
||||
if (code) {
|
||||
|
@ -3058,4 +3063,4 @@ _err:
|
|||
mDebug("create drop %d orphan tasks trans succ", numOfTasks);
|
||||
}
|
||||
return code;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue