fix(stream): not set the in progress if stream already exists.
This commit is contained in:
parent
68e3beac0e
commit
eba32fdcb3
|
@ -786,7 +786,9 @@ static int32_t mndProcessCreateStreamReq(SRpcMsg *pReq) {
|
||||||
if (pStream != NULL && code == 0) {
|
if (pStream != NULL && code == 0) {
|
||||||
if (createReq.igExists) {
|
if (createReq.igExists) {
|
||||||
mInfo("stream:%s, already exist, ignore exist is set", createReq.name);
|
mInfo("stream:%s, already exist, ignore exist is set", createReq.name);
|
||||||
goto _OVER;
|
mndReleaseStream(pMnode, pStream);
|
||||||
|
tFreeSCMCreateStreamReq(&createReq);
|
||||||
|
return code;
|
||||||
} else {
|
} else {
|
||||||
code = TSDB_CODE_MND_STREAM_ALREADY_EXIST;
|
code = TSDB_CODE_MND_STREAM_ALREADY_EXIST;
|
||||||
goto _OVER;
|
goto _OVER;
|
||||||
|
|
Loading…
Reference in New Issue