fix(stream): fix error.

This commit is contained in:
Haojun Liao 2023-11-23 16:04:06 +08:00
parent 0a90c33b4d
commit de4cc2009d
2 changed files with 2 additions and 2 deletions

View File

@ -656,7 +656,7 @@ typedef struct STaskStatusEntry {
STaskId id;
int32_t status;
int32_t statusLastDuration; // to record the last duration of current status
int32_t stage;
int64_t stage;
int32_t nodeId;
int64_t verStart; // start version in WAL, only valid for source task
int64_t verEnd; // end version in WAL, only valid for source task

View File

@ -2736,7 +2736,7 @@ int32_t killActiveCheckpointTrans(SMnode *pMnode, const char* pDBName, size_t le
return TSDB_CODE_SUCCESS;
}
static int32_t mndResetStatusFromCheckpoint(SMnode *pMnode) {
static int32_t mndResetStatusFromCheckpoint(SMnode *pMnode, int64_t transId) {
STrans* pTrans = mndAcquireTrans(pMnode, transId);
if (pTrans != NULL) {
mInfo("kill checkpoint transId:%d to reset task status", transId);