refactor: do some internal refactor.
This commit is contained in:
parent
1f09d3a46b
commit
312dbc1caa
|
@ -34,6 +34,12 @@ typedef struct STaskRecheckInfo {
|
||||||
void* checkTimer;
|
void* checkTimer;
|
||||||
} STaskRecheckInfo;
|
} STaskRecheckInfo;
|
||||||
|
|
||||||
|
typedef struct STaskInitTs {
|
||||||
|
int64_t start;
|
||||||
|
int64_t end;
|
||||||
|
bool success;
|
||||||
|
} STaskInitTs;
|
||||||
|
|
||||||
static int32_t streamSetParamForScanHistory(SStreamTask* pTask);
|
static int32_t streamSetParamForScanHistory(SStreamTask* pTask);
|
||||||
static void streamTaskSetRangeStreamCalc(SStreamTask* pTask);
|
static void streamTaskSetRangeStreamCalc(SStreamTask* pTask);
|
||||||
static int32_t initScanHistoryReq(SStreamTask* pTask, SStreamScanHistoryReq* pReq, int8_t igUntreated);
|
static int32_t initScanHistoryReq(SStreamTask* pTask, SStreamScanHistoryReq* pReq, int8_t igUntreated);
|
||||||
|
@ -1031,12 +1037,6 @@ void streamTaskEnablePause(SStreamTask* pTask) {
|
||||||
pTask->status.pauseAllowed = 1;
|
pTask->status.pauseAllowed = 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
typedef struct STaskInitTs {
|
|
||||||
int64_t start;
|
|
||||||
int64_t end;
|
|
||||||
bool success;
|
|
||||||
} STaskInitTs;
|
|
||||||
|
|
||||||
static void displayStatusInfo(SStreamMeta* pMeta, SHashObj* pTaskSet, bool succ) {
|
static void displayStatusInfo(SStreamMeta* pMeta, SHashObj* pTaskSet, bool succ) {
|
||||||
int32_t vgId = pMeta->vgId;
|
int32_t vgId = pMeta->vgId;
|
||||||
void* pIter = NULL;
|
void* pIter = NULL;
|
||||||
|
|
Loading…
Reference in New Issue