Merge branch '3.0' into enh/refactorBackend
This commit is contained in:
parent
50f996bbf7
commit
23ae62d268
|
@ -168,9 +168,8 @@ void mndCleanupStream(SMnode *pMnode) {
|
||||||
taosArrayDestroy(execInfo.pTaskList);
|
taosArrayDestroy(execInfo.pTaskList);
|
||||||
taosHashCleanup(execInfo.pTaskMap);
|
taosHashCleanup(execInfo.pTaskMap);
|
||||||
taosHashCleanup(execInfo.transMgmt.pDBTrans);
|
taosHashCleanup(execInfo.transMgmt.pDBTrans);
|
||||||
taosThreadMutexDestroy(&execInfo.lock);
|
|
||||||
taosHashCleanup(execInfo.transMgmt.pDBTrans);
|
|
||||||
taosHashCleanup(execInfo.transMgmt.pWaitingList);
|
taosHashCleanup(execInfo.transMgmt.pWaitingList);
|
||||||
|
taosThreadMutexDestroy(&execInfo.lock);
|
||||||
mDebug("mnd stream exec info cleanup");
|
mDebug("mnd stream exec info cleanup");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -2783,8 +2782,8 @@ int32_t mndResetStatusFromCheckpoint(SMnode *pMnode, int32_t transId) {
|
||||||
|
|
||||||
bool conflict = mndStreamTransConflictOtherTrans(pMnode, pStream->sourceDb, pStream->targetDb);
|
bool conflict = mndStreamTransConflictOtherTrans(pMnode, pStream->sourceDb, pStream->targetDb);
|
||||||
if (conflict) {
|
if (conflict) {
|
||||||
mError("stream:%s other trans exists in DB:%s & %s failed to start reset-status trans",
|
mError("stream:%s other trans exists in DB:%s & %s failed to start reset-status trans", pStream->name,
|
||||||
pStream->name, pStream->sourceDb, pStream->targetDb);
|
pStream->sourceDb, pStream->targetDb);
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -190,7 +190,7 @@ int32_t getCfIdx(const char* cfName) {
|
||||||
}
|
}
|
||||||
|
|
||||||
bool isValidCheckpoint(const char* dir) {
|
bool isValidCheckpoint(const char* dir) {
|
||||||
return true;
|
// return true;
|
||||||
STaskDbWrapper* pDb = taskDbOpenImpl(NULL, NULL, (char*)dir);
|
STaskDbWrapper* pDb = taskDbOpenImpl(NULL, NULL, (char*)dir);
|
||||||
if (pDb == NULL) {
|
if (pDb == NULL) {
|
||||||
return true;
|
return true;
|
||||||
|
|
Loading…
Reference in New Issue